Package edu.fiu.jtlex.data
Enum ITimex.FunctionInDocument
java.lang.Object
java.lang.Enum<ITimex.FunctionInDocument>
edu.fiu.jtlex.data.ITimex.FunctionInDocument
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ITimex.FunctionInDocument>,java.lang.constant.Constable
- Enclosing interface:
- ITimex
public static enum ITimex.FunctionInDocument extends java.lang.Enum<ITimex.FunctionInDocument>
An enum that represents the seven different functions an object may
belong to.
Function may belong to:
Function may belong to:
- CREATION_TIME
- MODIFICATION_TIME
- PUBLICATION_TIME
- RELEASE_TIME
- RECEPTION_TIME
- EXPIRATION_TIME
- NONE
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATION_TIMEThe time the story is created.EXPIRATION_TIMEThe time the story expires (if any).MODIFICATION_TIMEThe time the story is modified.NONENull FunctionPUBLICATION_TIMEThe time the story is published.RECEPTION_TIMEThe time the story was received by a customer.RELEASE_TIMEThe time the story may be released (if not immediately). -
Method Summary
Modifier and Type Method Description static ITimex.FunctionInDocumentvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ITimex.FunctionInDocument[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CREATION_TIME
The time the story is created. -
MODIFICATION_TIME
The time the story is modified. -
PUBLICATION_TIME
The time the story is published. -
RELEASE_TIME
The time the story may be released (if not immediately). -
RECEPTION_TIME
The time the story was received by a customer. -
EXPIRATION_TIME
The time the story expires (if any). -
NONE
Null Function
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-