Enum SubscriptionItemTypeEnum
- java.lang.Object
-
- java.lang.Enum<SubscriptionItemTypeEnum>
-
- org.alfresco.service.cmr.subscriptions.SubscriptionItemTypeEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SubscriptionItemTypeEnum>
public enum SubscriptionItemTypeEnum extends java.lang.Enum<SubscriptionItemTypeEnum>
Subscription types enum.- Since:
- 4.0
- Author:
- Florian Mueller
-
-
Enum Constant Summary
Enum Constants Enum Constant Description USER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionItemTypeEnumfromValue(java.lang.String v)java.lang.StringgetValue()static SubscriptionItemTypeEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SubscriptionItemTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER
public static final SubscriptionItemTypeEnum USER
-
-
Method Detail
-
values
public static SubscriptionItemTypeEnum[] 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 (SubscriptionItemTypeEnum c : SubscriptionItemTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriptionItemTypeEnum 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 namejava.lang.NullPointerException- if the argument is null
-
getValue
public java.lang.String getValue()
-
fromValue
public static SubscriptionItemTypeEnum fromValue(java.lang.String v)
-
-