org.activemath.content.metadata
Class LearningContext

java.lang.Object
  extended by org.activemath.content.metadata.MetadataConstant
      extended by org.activemath.content.metadata.LearningContext
All Implemented Interfaces:
Comparable

public final class LearningContext
extends MetadataConstant
implements Comparable

Metadata LearningContext (typesafe enum pattern) Order of definition defines the order of "difficulty".


Field Summary
static LearningContext HIGHER_EDUCATION
           
static LearningContext PRIMARY_EDUCATION
          Order of definition defines the order of "difficulty".
static LearningContext PROFESSIONAL_FORMATION
           
static LearningContext SECONDARY_EDUCATION
           
static LearningContext TECHNICAL_SCHOOL_FIRST_CYCLE
           
static LearningContext TECHNICAL_SCHOOL_FIRST_YEAR
           
static LearningContext TECHNICAL_SCHOOL_FOURTH_YEAR
           
static LearningContext TECHNICAL_SCHOOL_SECOND_CYCLE
           
static LearningContext TECHNICAL_SCHOOL_SECOND_YEAR
           
static LearningContext TECHNICAL_SCHOOL_THIRD_YEAR
           
static LearningContext UNIVERSITY_FIRST_CYCLE
           
static LearningContext UNIVERSITY_FIRST_YEAR
           
static LearningContext UNIVERSITY_FOURTH_YEAR
           
static LearningContext UNIVERSITY_POST_GRADE
           
static LearningContext UNIVERSITY_SECOND_CYCLE
           
static LearningContext UNIVERSITY_SECOND_YEAR
           
static LearningContext UNIVERSITY_THIRD_YEAR
           
static List<LearningContext> VALUES
           
static LearningContext VOCATIONAL_TRAINING
           
 
Fields inherited from class org.activemath.content.metadata.MetadataConstant
log
 
Method Summary
 int compareTo(Object arg0)
          Order of definition defines the order of "difficulty".
static List<LearningContext> getByName(List<String> names)
           
static LearningContext getByName(String name)
           
 int intValue()
           
 
Methods inherited from class org.activemath.content.metadata.MetadataConstant
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VALUES

public static final List<LearningContext> VALUES

PRIMARY_EDUCATION

public static final LearningContext PRIMARY_EDUCATION
Order of definition defines the order of "difficulty".


SECONDARY_EDUCATION

public static final LearningContext SECONDARY_EDUCATION

VOCATIONAL_TRAINING

public static final LearningContext VOCATIONAL_TRAINING

HIGHER_EDUCATION

public static final LearningContext HIGHER_EDUCATION

TECHNICAL_SCHOOL_FIRST_YEAR

public static final LearningContext TECHNICAL_SCHOOL_FIRST_YEAR

TECHNICAL_SCHOOL_SECOND_YEAR

public static final LearningContext TECHNICAL_SCHOOL_SECOND_YEAR

TECHNICAL_SCHOOL_FIRST_CYCLE

public static final LearningContext TECHNICAL_SCHOOL_FIRST_CYCLE

PROFESSIONAL_FORMATION

public static final LearningContext PROFESSIONAL_FORMATION

UNIVERSITY_FIRST_YEAR

public static final LearningContext UNIVERSITY_FIRST_YEAR

UNIVERSITY_SECOND_YEAR

public static final LearningContext UNIVERSITY_SECOND_YEAR

UNIVERSITY_FIRST_CYCLE

public static final LearningContext UNIVERSITY_FIRST_CYCLE

TECHNICAL_SCHOOL_THIRD_YEAR

public static final LearningContext TECHNICAL_SCHOOL_THIRD_YEAR

TECHNICAL_SCHOOL_FOURTH_YEAR

public static final LearningContext TECHNICAL_SCHOOL_FOURTH_YEAR

TECHNICAL_SCHOOL_SECOND_CYCLE

public static final LearningContext TECHNICAL_SCHOOL_SECOND_CYCLE

UNIVERSITY_THIRD_YEAR

public static final LearningContext UNIVERSITY_THIRD_YEAR

UNIVERSITY_FOURTH_YEAR

public static final LearningContext UNIVERSITY_FOURTH_YEAR

UNIVERSITY_SECOND_CYCLE

public static final LearningContext UNIVERSITY_SECOND_CYCLE

UNIVERSITY_POST_GRADE

public static final LearningContext UNIVERSITY_POST_GRADE
Method Detail

intValue

public int intValue()
Returns:
numerical value indicating an order on this metadata element.

getByName

public static final LearningContext getByName(String name)
Returns:
LearningContext instance for type name, or null.

getByName

public static final List<LearningContext> getByName(List<String> names)

compareTo

public int compareTo(Object arg0)
Order of definition defines the order of "difficulty".

Specified by:
compareTo in interface Comparable