|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Context
The context element contains information about the entity being described, the reporting period and the reporting scenario, all of which are necessary for understanding a business fact captured as an XBRL item.
Copyright 2006 J2R BV, The Netherlands.
Part of Licensed Materials.
www.batavia-xbrl.com
| Method Summary | |
|---|---|
Entity |
createEntity()
Create a child Entity and add it to the XbrlElement. |
Period |
createForeverPeriod()
Create a forever period |
Period |
createPeriod()
Create a child Period and add it to the XbrlElement. |
Period |
createPeriod(java.util.Date instant)
create a instant period |
Period |
createPeriod(java.util.Date from,
java.util.Date to)
create a duration period |
Scenario |
createScenario()
Create a child Scenario and add it to the XbrlElement. |
Entity |
getEntity()
get the entity that is contained by this context |
XmlAttribute |
getId()
return the id |
Period |
getPeriod()
get the period that is contained by this context |
Scenario |
getScenario()
Get the scenario that is contained by this context |
boolean |
identicalExceptPeriod(ComparablePart another)
test if this is identical to another except for the period |
boolean |
isValidForPeriodType(java.lang.String periodTypeValue)
test if this is valid for the given periodTypeValue |
void |
setEntity(Entity entity)
Set the entity that is to be contained by this context |
void |
setId(XmlAttribute id)
Set the id |
void |
setPeriod(Period period)
Set the period that is to be contained by this context |
void |
setScenario(Scenario scenario)
Set the scenario that is to be contained by this context |
| Methods inherited from interface com.batavia.xbrl.instance.InstanceElement |
|---|
createChildElement, getAllowedSubstitutions, getChildren, getMyDiscoverableTaxonomySet, getXbrlRoot |
| Methods inherited from interface com.batavia.xbrl.XbrlElement |
|---|
addChild, fromXbrl, getXbrlElementNameSpace, removeChild, toXbrlStream, toXbrlString |
| Methods inherited from interface com.batavia.xml.XmlParticle |
|---|
destroy, getBaseUri, getParent, getPrefix, getTargetNameSpace, isBoolean, isNumber, p_equal, resolveNamespacePrefix, setParent, toXstring |
| Methods inherited from interface com.batavia.xml.ComparablePart |
|---|
c_equal, identical, s_equal, u_equal, v_equal, x_equal |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.relaxng.datatype.ValidationContext |
|---|
isNotation, isUnparsedEntity |
| Methods inherited from interface com.batavia.xml.IdKeeper |
|---|
addIdHolder, getHolder, removeIdHolder |
| Method Detail |
|---|
Entity createEntity()
Period createPeriod()
Scenario createScenario()
XmlAttribute getId()
getId in interface IdHoldervoid setId(XmlAttribute id)
id - Entity getEntity()
void setEntity(Entity entity)
entity - Period getPeriod()
void setPeriod(Period period)
period - Scenario getScenario()
void setScenario(Scenario scenario)
scenario - Period createForeverPeriod()
Period createPeriod(java.util.Date instant)
instant -
Period createPeriod(java.util.Date from,
java.util.Date to)
from - to -
boolean identicalExceptPeriod(ComparablePart another)
another -
boolean isValidForPeriodType(java.lang.String periodTypeValue)
periodTypeValue -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||