com.gentics.contentnode.rest.model
Enum Reference

java.lang.Object
  extended by java.lang.Enum<Reference>
      extended by com.gentics.contentnode.rest.model.Reference
All Implemented Interfaces:
Serializable, Comparable<Reference>

public enum Reference
extends Enum<Reference>

Enumeration of references to mark, which references shall be filled when returning objects


Enum Constant Summary
CONTENT_TAGS
           
FOLDER
           
GROUPS
           
LANGUAGEVARIANTS
           
OBJECT_TAGS
           
PAGEVARIANTS
           
PRIVILEGES
           
TAGS
           
TEMPLATE
           
TEMPLATE_SOURCE
           
TEMPLATE_TAGS
           
TRANSLATIONSTATUS
           
VERSIONS
           
WORKFLOW
           
 
Method Summary
static Reference valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Reference[] 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

TEMPLATE

public static final Reference TEMPLATE

FOLDER

public static final Reference FOLDER

LANGUAGEVARIANTS

public static final Reference LANGUAGEVARIANTS

WORKFLOW

public static final Reference WORKFLOW

TAGS

public static final Reference TAGS

GROUPS

public static final Reference GROUPS

PAGEVARIANTS

public static final Reference PAGEVARIANTS

TRANSLATIONSTATUS

public static final Reference TRANSLATIONSTATUS

VERSIONS

public static final Reference VERSIONS

PRIVILEGES

public static final Reference PRIVILEGES

CONTENT_TAGS

public static final Reference CONTENT_TAGS

OBJECT_TAGS

public static final Reference OBJECT_TAGS

TEMPLATE_TAGS

public static final Reference TEMPLATE_TAGS

TEMPLATE_SOURCE

public static final Reference TEMPLATE_SOURCE
Method Detail

values

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

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

valueOf

public static Reference 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 Gentics Software GmbH. All Rights Reserved.