public class InstanceImpl extends FragmentImpl implements Instance
Constructor and Description |
---|
InstanceImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Concept> |
getAllConcepts() |
long |
getAllConceptsCount() |
java.util.List<Fact> |
getAllFacts() |
long |
getAllFactsCount() |
java.util.List<Item> |
getAllItems() |
java.util.List<Concept> |
getChildConcepts() |
long |
getChildConceptsCount() |
java.util.List<Fact> |
getChildFacts()
Get the list of facts that are children of the instance.
|
long |
getChildFactsCount() |
java.util.List<Item> |
getChildItems() |
Context |
getContext(java.lang.String id)
Get a specified context from the instance based on its id.
|
java.util.List<Context> |
getContexts()
Get list contexts contained in the instance.
|
java.lang.String |
getEarliestPeriod() |
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getEntityIdentifiers() |
java.util.List<EntityResource> |
getEntityResources() |
java.util.List<Fact> |
getFacts(Concept concept) |
java.util.List<Fact> |
getFacts(java.lang.String namespace,
java.lang.String localname) |
java.util.List<ExtendedLink> |
getFootnoteLinks()
Get a list of footnote link fragments
Returns null if none are contained by the XBRL instance.
|
java.util.List<FootnoteResource> |
getFootnotes() |
java.lang.String |
getLatestPeriod() |
java.util.List<SimpleLink> |
getLinkbaseRefs()
Get the list of linkbaseRef fragments in the instance
Returns null if none are contained by the XBRL instance.
|
java.util.List<SimpleLink> |
getSchemaRefs()
Get the list of schemaRef fragments in the instance
Returns null if none are contained by the XBRL instance.
|
java.util.List<Tuple> |
getTuples() |
Unit |
getUnit(java.lang.String id)
Get a specified unit from the instance based on its id.
|
java.util.List<Unit> |
getUnits()
Get the list of units contained in the instance.
|
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
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 java.util.List<SimpleLink> getSchemaRefs() throws XBRLException
Instance
getSchemaRefs
in interface Instance
XBRLException
Instance.getSchemaRefs()
public java.util.List<SimpleLink> getLinkbaseRefs() throws XBRLException
Instance
getLinkbaseRefs
in interface Instance
XBRLException
Instance.getLinkbaseRefs()
public java.util.List<Context> getContexts() throws XBRLException
Instance
getContexts
in interface Instance
XBRLException
Instance.getContexts()
public Context getContext(java.lang.String id) throws XBRLException
Instance
getContext
in interface Instance
id
- The id of the context fragmentXBRLException
- if the context does not existInstance.getContext(String)
public java.util.List<Unit> getUnits() throws XBRLException
Instance
getUnits
in interface Instance
XBRLException
Instance.getUnits()
public Unit getUnit(java.lang.String id) throws XBRLException
Instance
getUnit
in interface Instance
id
- The id of the unit fragmentXBRLException
- if the unit is not in this instance.Instance.getUnit(String)
public java.util.List<ExtendedLink> getFootnoteLinks() throws XBRLException
Instance
getFootnoteLinks
in interface Instance
XBRLException
Instance.getFootnoteLinks()
public java.util.List<FootnoteResource> getFootnotes() throws XBRLException
getFootnotes
in interface Instance
XBRLException
Instance.getFootnotes()
public java.util.List<Fact> getChildFacts() throws XBRLException
Instance
getChildFacts
in interface Instance
XBRLException
Instance.getChildFacts()
public java.util.List<Fact> getAllFacts() throws XBRLException
getAllFacts
in interface Instance
XBRLException
Instance.getAllFacts()
public java.util.List<Item> getChildItems() throws XBRLException
getChildItems
in interface Instance
XBRLException
Instance.getChildItems()
public java.util.List<Tuple> getTuples() throws XBRLException
getTuples
in interface Instance
XBRLException
Instance.getTuples()
public java.lang.String getEarliestPeriod() throws XBRLException
getEarliestPeriod
in interface Instance
XBRLException
Instance.getEarliestPeriod()
public long getChildFactsCount() throws XBRLException
getChildFactsCount
in interface Instance
XBRLException
Instance.getChildFactsCount()
public long getAllFactsCount() throws XBRLException
getAllFactsCount
in interface Instance
XBRLException
Instance.getAllFactsCount()
public java.lang.String getLatestPeriod() throws XBRLException
getLatestPeriod
in interface Instance
XBRLException
Instance.getLatestPeriod()
public java.util.List<EntityResource> getEntityResources() throws XBRLException
getEntityResources
in interface Instance
XBRLException
Instance.getEntityResources()
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getEntityIdentifiers() throws XBRLException
getEntityIdentifiers
in interface Instance
XBRLException
Instance.getEntityIdentifiers()
public java.util.List<Concept> getChildConcepts() throws XBRLException
getChildConcepts
in interface Instance
XBRLException
Instance.getChildConcepts()
public java.util.List<Concept> getAllConcepts() throws XBRLException
getAllConcepts
in interface Instance
XBRLException
public long getChildConceptsCount() throws XBRLException
getChildConceptsCount
in interface Instance
XBRLException
Instance.getChildConceptsCount()
public long getAllConceptsCount() throws XBRLException
getAllConceptsCount
in interface Instance
XBRLException
Instance.getAllConceptsCount()
public java.util.List<Item> getAllItems() throws XBRLException
getAllItems
in interface Instance
XBRLException
Instance.getAllItems()
public java.util.List<Fact> getFacts(java.lang.String namespace, java.lang.String localname) throws XBRLException
getFacts
in interface Instance
namespace
- The namespace of the facts to select.localname
- The local name of the facts to select.XBRLException
- if either parameter is null.Instance.getFacts(String, String)
public java.util.List<Fact> getFacts(Concept concept) throws XBRLException
getFacts
in interface Instance
concept
- the concept to get the facts for.XBRLException
- if the parameter is null.Instance.getFacts(Concept)