Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.schema
Enum Classification

java.lang.Object
  extended by java.lang.Enum<Classification>
      extended by eu.esdihumboldt.hale.common.schema.Classification
All Implemented Interfaces:
Serializable, Comparable<Classification>

public enum Classification
extends Enum<Classification>

Basic classification for definitions

Since:
2.2
Author:
Simon Templer

Enum Constant Summary
ABSTRACT_FT
          Abstract feature type
ABSTRACT_TYPE
          Abstract complex type
CHOICE
          Choice
COMPLEX_PROPERTY
          Complex property
CONCRETE_FT
          Concrete feature type
CONCRETE_TYPE
          Complex type
GEOMETRIC_PROPERTY
          Geometric property
GROUP
          Group
NUMERIC_PROPERTY
          Numeric property
STRING_PROPERTY
          String property
UNKNOWN
          Unknown
 
Method Summary
static Classification getClassification(Definition<?> def)
          Determine the classification for a definition
static Classification valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Classification[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ABSTRACT_FT

public static final Classification ABSTRACT_FT
Abstract feature type


CONCRETE_FT

public static final Classification CONCRETE_FT
Concrete feature type


ABSTRACT_TYPE

public static final Classification ABSTRACT_TYPE
Abstract complex type


CONCRETE_TYPE

public static final Classification CONCRETE_TYPE
Complex type


NUMERIC_PROPERTY

public static final Classification NUMERIC_PROPERTY
Numeric property


STRING_PROPERTY

public static final Classification STRING_PROPERTY
String property


COMPLEX_PROPERTY

public static final Classification COMPLEX_PROPERTY
Complex property


GEOMETRIC_PROPERTY

public static final Classification GEOMETRIC_PROPERTY
Geometric property


GROUP

public static final Classification GROUP
Group


CHOICE

public static final Classification CHOICE
Choice


UNKNOWN

public static final Classification UNKNOWN
Unknown

Method Detail

values

public static Classification[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Classification c : Classification.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Classification valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getClassification

public static Classification getClassification(Definition<?> def)
Determine the classification for a definition

Parameters:
def - the definition
Returns:
the classification for the definition

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d