org.gcube.portlets.user.homelibrary.home.workspace.basket.items.gcube.link
Enum InfoObjectTypeLink

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

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

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

Enum Constant Summary
ANNOTATION_LINK
          Annotation.
DOCUMENT_LINK
          Document.
IMAGE_DOCUMENT_LINK
          Image document.
METADATA_LINK
          Metadata.
PDF_DOCUMENT_LINK
          PDF document.
 
Method Summary
static InfoObjectTypeLink valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InfoObjectTypeLink[] 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_LINK

public static final InfoObjectTypeLink DOCUMENT_LINK
Document.


IMAGE_DOCUMENT_LINK

public static final InfoObjectTypeLink IMAGE_DOCUMENT_LINK
Image document.


PDF_DOCUMENT_LINK

public static final InfoObjectTypeLink PDF_DOCUMENT_LINK
PDF document.


METADATA_LINK

public static final InfoObjectTypeLink METADATA_LINK
Metadata.


ANNOTATION_LINK

public static final InfoObjectTypeLink ANNOTATION_LINK
Annotation.

Method Detail

values

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

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

valueOf

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