public static enum XBRLItem.PeriodType extends java.lang.Enum<XBRLItem.PeriodType>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 java.lang.String |
getPeriodTypeLocaliced(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.
|
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
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 namejava.lang.NullPointerException
- if the argument is nullpublic static XBRLItem.PeriodType getPeriodType(java.lang.String periodType)
periodType
- the period typepublic static java.lang.String getPeriodType(XBRLItem.PeriodType periodType)
periodType
- the period typepublic static java.lang.String getPeriodTypeLocaliced(XBRLItem.PeriodType periodType)
periodType
- the period typeCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa