org.gcube.portlets.user.homelibrary.home.workspace.basket.items.gcube
Enum InfoObjectType

java.lang.Object
  extended by java.lang.Enum<InfoObjectType>
      extended by org.gcube.portlets.user.homelibrary.home.workspace.basket.items.gcube.InfoObjectType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InfoObjectType>

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

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

Enum Constant Summary
ANNOTATION
          Annotation.
DOCUMENT
          Document.
IMAGE_DOCUMENT
          Image document.
METADATA
          Metadata.
PDF_DOCUMENT
          PDF document.
URL_DOCUMENT
          Url document.
 
Method Summary
static InfoObjectType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InfoObjectType[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

DOCUMENT

public static final InfoObjectType DOCUMENT
Document.


IMAGE_DOCUMENT

public static final InfoObjectType IMAGE_DOCUMENT
Image document.


PDF_DOCUMENT

public static final InfoObjectType PDF_DOCUMENT
PDF document.


URL_DOCUMENT

public static final InfoObjectType URL_DOCUMENT
Url document.


METADATA

public static final InfoObjectType METADATA
Metadata.


ANNOTATION

public static final InfoObjectType ANNOTATION
Annotation.

Method Detail

values

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

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

valueOf

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