org.gcube.common.homelibrary.jcr.importing
Enum ContentManagerItemType

java.lang.Object
  extended by java.lang.Enum<ContentManagerItemType>
      extended by org.gcube.common.homelibrary.jcr.importing.ContentManagerItemType
All Implemented Interfaces:
Serializable, Comparable<ContentManagerItemType>

public enum ContentManagerItemType
extends Enum<ContentManagerItemType>

Author:
Federico De Faveri defaveri@isti.cnr.it

Enum Constant Summary
ALTERNATIVE
           
ANNOTATION
           
DOCUMENT
           
METADATA
           
PART
           
 
Method Summary
static ContentManagerItemType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContentManagerItemType[] 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

DOCUMENT

public static final ContentManagerItemType DOCUMENT

ALTERNATIVE

public static final ContentManagerItemType ALTERNATIVE

PART

public static final ContentManagerItemType PART

ANNOTATION

public static final ContentManagerItemType ANNOTATION

METADATA

public static final ContentManagerItemType METADATA
Method Detail

values

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

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

valueOf

public static ContentManagerItemType 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


Copyright © 2013. All Rights Reserved.