Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.caselink
Enum CaseLinkMode

java.lang.Object
  extended by java.lang.Enum<CaseLinkMode>
      extended by org.nuxeo.cm.caselink.CaseLinkMode
All Implemented Interfaces:
Serializable, Comparable<CaseLinkMode>

public enum CaseLinkMode
extends Enum<CaseLinkMode>

Author:
Anahide Tchertchian

Enum Constant Summary
DOC_ONLY
           
ENTIRE_ENVELOPE
           
 
Method Summary
 String getStringType()
          String type to use in html pages.
static CaseLinkMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CaseLinkMode valueOfString(String name)
           
static CaseLinkMode[] 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

DOC_ONLY

public static final CaseLinkMode DOC_ONLY

ENTIRE_ENVELOPE

public static final CaseLinkMode ENTIRE_ENVELOPE
Method Detail

values

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

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

valueOf

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

getStringType

public String getStringType()
String type to use in html pages.


valueOfString

public static CaseLinkMode valueOfString(String name)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.