org.activemath.content.metadata
Class CompetencyLevel
java.lang.Object
org.activemath.content.metadata.MetadataConstant
org.activemath.content.metadata.CompetencyLevel
- All Implemented Interfaces:
- Comparable<CompetencyLevel>
public final class CompetencyLevel
- extends MetadataConstant
- implements Comparable<CompetencyLevel>
Metadata CompetencyLevel (typesafe enum pattern)
VALUES
public static final List<CompetencyLevel> VALUES
NO_COMPETENCY
public static final CompetencyLevel NO_COMPETENCY
ELEMENTARY
public static final CompetencyLevel ELEMENTARY
SIMPLE_CONCEPTUAL
public static final CompetencyLevel SIMPLE_CONCEPTUAL
MULTI_STEP
public static final CompetencyLevel MULTI_STEP
COMPLEX
public static final CompetencyLevel COMPLEX
intValue
public int intValue()
- Returns:
- numerical value indicating an order on this metadata element.
bitValue
public int bitValue()
- Return a bitvalue for the competency
NOTE: hack for the tbm until CompetencyLevel.NO_COMPETENCY can be added
- Returns:
- The bitvalue for the competency
getByName
public static final CompetencyLevel getByName(String name)
- Returns:
CompetencyLevel instance for type name, or null.
compareTo
public int compareTo(CompetencyLevel arg0)
- Specified by:
compareTo in interface Comparable<CompetencyLevel>