|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<TimeSpan.ReferencePoint>
oracle.irm.engine.core.time.TimeSpan.ReferencePoint
public static enum TimeSpan.ReferencePoint
Time reference point. When referring to a span of time it can be compared against a number of reference points. The most common reference point is to compare against the current time. e.g. Is it lunch time? (between 12:00 and 13:00). Other reference points are available, such as when content was published. e.g. Was this content published this year? A time reference allows a time span to be associated with a time reference point, either current time, classification time or license creation time.
Enum Constant Summary | |
---|---|
CLASSIFICATION Classification time. |
|
CURRENT Current time. |
|
LICENSE License time. |
Method Summary | |
---|---|
static TimeSpan.ReferencePoint |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static TimeSpan.ReferencePoint[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TimeSpan.ReferencePoint CURRENT
public static final TimeSpan.ReferencePoint CLASSIFICATION
ClassificationTime
).public static final TimeSpan.ReferencePoint LICENSE
LicenseTime
).Method Detail |
---|
public static TimeSpan.ReferencePoint[] values()
for (TimeSpan.ReferencePoint c : TimeSpan.ReferencePoint.values()) System.out.println(c);
public static TimeSpan.ReferencePoint valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |