public interface Instance extends Fragment
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, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
java.util.List<SimpleLink> getSchemaRefs() throws XBRLException
XBRLException
java.util.List<SimpleLink> getLinkbaseRefs() throws XBRLException
XBRLException
java.util.List<Context> getContexts() throws XBRLException
XBRLException
Context getContext(java.lang.String id) throws XBRLException
id
- The id of the context fragmentXBRLException
- if the context does not existjava.util.List<Unit> getUnits() throws XBRLException
XBRLException
Unit getUnit(java.lang.String id) throws XBRLException
id
- The id of the unit fragmentXBRLException
- if the unit is not in this instance.java.util.List<ExtendedLink> getFootnoteLinks() throws XBRLException
XBRLException
java.util.List<FootnoteResource> getFootnotes() throws XBRLException
XBRLException
java.util.List<Fact> getChildFacts() throws XBRLException
XBRLException
java.util.List<Fact> getAllFacts() throws XBRLException
XBRLException
java.util.List<Concept> getChildConcepts() throws XBRLException
XBRLException
java.util.List<Concept> getAllConcepts() throws XBRLException
XBRLException
long getChildConceptsCount() throws XBRLException
XBRLException
long getAllConceptsCount() throws XBRLException
XBRLException
long getChildFactsCount() throws XBRLException
XBRLException
long getAllFactsCount() throws XBRLException
XBRLException
java.lang.String getEarliestPeriod() throws XBRLException
XBRLException
java.lang.String getLatestPeriod() throws XBRLException
XBRLException
java.util.List<EntityResource> getEntityResources() throws XBRLException
XBRLException
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getEntityIdentifiers() throws XBRLException
XBRLException
java.util.List<Tuple> getTuples() throws XBRLException
XBRLException
java.util.List<Item> getChildItems() throws XBRLException
XBRLException
java.util.List<Item> getAllItems() throws XBRLException
XBRLException
java.util.List<Fact> getFacts(java.lang.String namespace, java.lang.String localname) throws XBRLException
namespace
- The namespace of the facts to select.localname
- The local name of the facts to select.XBRLException
- if either parameter is null.java.util.List<Fact> getFacts(Concept concept) throws XBRLException
concept
- the concept to get the facts for.XBRLException
- if the parameter is null.