Package org.alfresco.opencmis.dictionary
Enum CMISObjectVariant
- java.lang.Object
-
- java.lang.Enum<CMISObjectVariant>
-
- org.alfresco.opencmis.dictionary.CMISObjectVariant
-
- All Implemented Interfaces:
Serializable
,Comparable<CMISObjectVariant>
public enum CMISObjectVariant extends Enum<CMISObjectVariant>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSOC
CURRENT_VERSION
FOLDER
INVALID_ID
ITEM
NOT_A_CMIS_OBJECT
NOT_EXISTING
PERMISSION_DENIED
PWC
VERSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CMISObjectVariant
valueOf(String name)
Returns the enum constant of this type with the specified name.static CMISObjectVariant[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_ID
public static final CMISObjectVariant INVALID_ID
-
NOT_EXISTING
public static final CMISObjectVariant NOT_EXISTING
-
NOT_A_CMIS_OBJECT
public static final CMISObjectVariant NOT_A_CMIS_OBJECT
-
FOLDER
public static final CMISObjectVariant FOLDER
-
ITEM
public static final CMISObjectVariant ITEM
-
CURRENT_VERSION
public static final CMISObjectVariant CURRENT_VERSION
-
VERSION
public static final CMISObjectVariant VERSION
-
PWC
public static final CMISObjectVariant PWC
-
ASSOC
public static final CMISObjectVariant ASSOC
-
PERMISSION_DENIED
public static final CMISObjectVariant PERMISSION_DENIED
-
-
Method Detail
-
values
public static CMISObjectVariant[] 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 (CMISObjectVariant c : CMISObjectVariant.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CMISObjectVariant 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 nameNullPointerException
- if the argument is null
-
-