org.activemath.content.metadata
Class Abstractness

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

public final class Abstractness
extends MetadataConstant
implements Comparable

Metadata Abstractness (typesafe enum pattern)


Field Summary
static Abstractness ABSTRACT
           
static Abstractness CONCRETE
           
static Abstractness NEUTRAL
           
static List<Abstractness> VALUES
           
 
Fields inherited from class org.activemath.content.metadata.MetadataConstant
log
 
Method Summary
 int compareTo(Object arg0)
           
static Abstractness 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<Abstractness> VALUES

CONCRETE

public static final Abstractness CONCRETE

NEUTRAL

public static final Abstractness NEUTRAL

ABSTRACT

public static final Abstractness ABSTRACT
Method Detail

intValue

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

getByName

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

compareTo

public int compareTo(Object arg0)
Specified by:
compareTo in interface Comparable