be.destin.skos.core
Enum MetadataPropertyClass

java.lang.Object
  extended by java.lang.Enum<MetadataPropertyClass>
      extended by be.destin.skos.core.MetadataPropertyClass
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MetadataPropertyClass>

public enum MetadataPropertyClass
extends java.lang.Enum<MetadataPropertyClass>

Author:
Christophe Dupriez

Enum Constant Summary
CODE
           
DATE
           
EMAIL
           
NAME
           
NUMBER
           
TEXT
           
URI
           
 
Method Summary
static java.lang.String list()
           
static MetadataPropertyClass valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MetadataPropertyClass[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CODE

public static final MetadataPropertyClass CODE

URI

public static final MetadataPropertyClass URI

NAME

public static final MetadataPropertyClass NAME

TEXT

public static final MetadataPropertyClass TEXT

NUMBER

public static final MetadataPropertyClass NUMBER

DATE

public static final MetadataPropertyClass DATE

EMAIL

public static final MetadataPropertyClass EMAIL
Method Detail

values

public static MetadataPropertyClass[] 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 (MetadataPropertyClass c : MetadataPropertyClass.values())
    System.out.println(c);

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

valueOf

public static MetadataPropertyClass valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

list

public static java.lang.String list()