Enum RetentionPeriodProperty
- java.lang.Object
-
- java.lang.Enum<RetentionPeriodProperty>
-
- org.alfresco.rest.rm.community.model.recordcategory.RetentionPeriodProperty
-
- All Implemented Interfaces:
Serializable,Comparable<RetentionPeriodProperty>
public enum RetentionPeriodProperty extends Enum<RetentionPeriodProperty>
The property of the dispositioned item that is used to calculate the "as of" period.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATED_DATEItem created date.CUT_OFF_DATEItem cut off date.DATE_FILEDRecord filed date.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPeriodProperty()static RetentionPeriodPropertyvalueOf(String name)Returns the enum constant of this type with the specified name.static RetentionPeriodProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED_DATE
public static final RetentionPeriodProperty CREATED_DATE
Item created date.
-
DATE_FILED
public static final RetentionPeriodProperty DATE_FILED
Record filed date.
-
CUT_OFF_DATE
public static final RetentionPeriodProperty CUT_OFF_DATE
Item cut off date.
-
-
Method Detail
-
values
public static RetentionPeriodProperty[] 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 (RetentionPeriodProperty c : RetentionPeriodProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RetentionPeriodProperty 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
-
getPeriodProperty
public String getPeriodProperty()
-
-