org.activemath.content.metadata
Class CompetencySystem

java.lang.Object
  extended by org.activemath.content.metadata.MetadataConstant
      extended by org.activemath.content.metadata.CompetencySystem

public final class CompetencySystem
extends MetadataConstant

Metadata CompetencySystem (typesafe enum pattern)


Field Summary
static CompetencySystem ACTIVEMATH
           
static CompetencySystem BLOOM
           
static CompetencySystem MATHBRIDGE
           
static CompetencySystem PISA
           
 
Fields inherited from class org.activemath.content.metadata.MetadataConstant
log
 
Method Summary
static CompetencySystem getByName(String name)
           
 CognitiveProcess getCognitiveProcessbyName(String name)
          Get the instance of a specific CognitiveProcess by its name
 Class<? extends CognitiveProcess> getCognitiveProcessClass()
           
 Collection<CognitiveProcess> getCognitiveProcesses()
          Get all cognitive processes available in a specific competency system
static Collection<CompetencySystem> getCompetencySystems()
           
static CompetencySystem getDefault()
          Get the default competency system (configured by property "app.competency-system.default")
static void initializeMappings()
           
 
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

BLOOM

public static final CompetencySystem BLOOM

PISA

public static final CompetencySystem PISA

ACTIVEMATH

public static final CompetencySystem ACTIVEMATH

MATHBRIDGE

public static final CompetencySystem MATHBRIDGE
Method Detail

getByName

public static final CompetencySystem getByName(String name)
Returns:
CompetencySystem instance for type name (converted to lower case), or null.

getDefault

public static final CompetencySystem getDefault()
Get the default competency system (configured by property "app.competency-system.default")

Returns:
The default competency system

getCompetencySystems

public static final Collection<CompetencySystem> getCompetencySystems()
Returns:
A collection of competency systems (including a dummy if existing!)

getCognitiveProcessbyName

public CognitiveProcess getCognitiveProcessbyName(String name)
Get the instance of a specific CognitiveProcess by its name

Parameters:
name - - the name of the process
Returns:
a singleton object of the demanded cognitive process from the correct competency system

getCognitiveProcesses

public Collection<CognitiveProcess> getCognitiveProcesses()
Get all cognitive processes available in a specific competency system

Returns:
A List of CognitiveProcesses, null on error.

getCognitiveProcessClass

public Class<? extends CognitiveProcess> getCognitiveProcessClass()
Returns:
The cognitive process class which belongs to this competency system
See Also:
CognitiveProcess

initializeMappings

public static void initializeMappings()