|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<XBRLItem.PeriodType>
com.ihr.xbrl.om.taxonomy.XBRLItem.PeriodType
public static enum XBRLItem.PeriodType
Enumeration defining the content of the xbrli:periodType attribute but also used to report the type of a XBRLPeriod object inside an XBRLContext. Note that FOREVER is an XBRLPeriod type that corresponds to an item whose periodType is DURATION.
| Enum Constant Summary | |
|---|---|
DURATION
The period type is DURATION |
|
FOREVER
This is used only for XBRLPeriod objects inside XBRLContext objects. |
|
INSTANT
The period type is INSTANT |
|
UNDEFINED_PERIOD_TYPE
The concept has no period type defined. |
|
| Method Summary | |
|---|---|
static XBRLItem.PeriodType |
getPeriodType(java.lang.String periodType)
Returns the PeriodType enumerated value of the period type in the string. |
static java.lang.String |
getPeriodType(XBRLItem.PeriodType periodType)
Returns a string representation of the period type received as a parameter. |
static XBRLItem.PeriodType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static XBRLItem.PeriodType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, 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 XBRLItem.PeriodType UNDEFINED_PERIOD_TYPE
public static final XBRLItem.PeriodType INSTANT
public static final XBRLItem.PeriodType DURATION
public static final XBRLItem.PeriodType FOREVER
| Method Detail |
|---|
public static XBRLItem.PeriodType[] values()
for (XBRLItem.PeriodType c : XBRLItem.PeriodType.values()) System.out.println(c);
public static XBRLItem.PeriodType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static XBRLItem.PeriodType getPeriodType(java.lang.String periodType)
periodType -
public static java.lang.String getPeriodType(XBRLItem.PeriodType periodType)
periodType -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||