public class ContextImpl extends FactDimensionContainerImpl implements Context
Constructor and Description |
---|
ContextImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Context context)
Tests if the context is c-equal to another context
See the XBRL 2.1 specification for a definition of c-equal.
|
Entity |
getEntity()
Get the entity of the context.
|
Period |
getPeriod()
Get the period of the context.
|
java.util.List<Item> |
getReferencingItems() |
Scenario |
getScenario()
Get the scenario of the context.
|
getId
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, getLanguage, getLanguage, getLanguageName, getLanguageName, getLocalname, getLocalnameFromQName, getNamespace, getNamespaceFromQName, getParent, getParentElement, getParentIndex, getPrefixFromQName, getReferences, getReferencesWithLanguage, getReferencesWithLanguageAndResourceRoleAndLinkRole, getReferencesWithLanguageAndRole, getReferencesWithResourceRole, getReferencingLocators, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getURI, getXPath, getXPointerExpression, isAncestorOf, isChild, isNewFragment, isRoot, setParentIndex, setSequenceToParentElement, setURI
appendMetadataElement, compareTo, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
getClass, notify, notifyAll, toString, wait, wait, wait
getId
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, getLanguage, getLanguage, getLanguageName, getLanguageName, getLocalname, getLocalnameFromQName, getNamespace, getNamespaceFromQName, getParent, getParentElement, getParentIndex, getPrefixFromQName, getReferences, getReferencesWithLanguage, getReferencesWithLanguageAndResourceRoleAndLinkRole, getReferencesWithLanguageAndRole, getReferencesWithResourceRole, getReferencingLocators, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getURI, getXPath, getXPointerExpression, isAncestorOf, isChild, isNewFragment, isRoot, setParentIndex, setSequenceToParentElement, setURI
appendMetadataElement, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
public Entity getEntity() throws XBRLException
getEntity
in interface Context
XBRLException
- if the entity is missing or if more than one entity is in the context.Context.getEntity()
public Period getPeriod() throws XBRLException
getPeriod
in interface Context
XBRLException
- if the period is missing from the context
or there is more than one period in the context.Context.getPeriod()
public Scenario getScenario() throws XBRLException
getScenario
in interface Context
XBRLException
- if there is more than one scenario.Context.getScenario()
public boolean equals(Context context) throws XBRLException
equals
in interface Context
context
- The context being compared.XBRLException
Context.equals(Context)
public java.util.List<Item> getReferencingItems() throws XBRLException
getReferencingItems
in interface FactDimensionContainer
getReferencingItems
in class FactDimensionContainerImpl
XBRLException
FactDimensionContainer.getReferencingItems()