org.xbrlapi
Interface Entity
- All Superinterfaces:
- Comparable<XML>, ContextComponent, Fragment, Serializable, XML
- All Known Implementing Classes:
- EntityImpl
public interface Entity
- extends ContextComponent
- Author:
- Geoffrey Shuetrim (geoff@galexy.net)
| Methods inherited from interface org.xbrlapi.Fragment |
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, 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 |
| Methods inherited from interface org.xbrlapi.XML |
appendMetadataElement, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore |
getIdentifierScheme
String getIdentifierScheme()
throws XBRLException
- Get the entity identifier scheme.
- Returns:
- the entity identifier scheme URI
- Throws:
XBRLException
getIdentifierValue
String getIdentifierValue()
throws XBRLException
- Get the entity identifier
- Returns:
- the string corresponding to the entity from
among the full set of valid entity identifiers in the
nominated scheme.
- Throws:
XBRLException
getSegment
Segment getSegment()
throws XBRLException
- Get the segment of the entity
- Returns:
- the segment information for the entity
or null if the entity does not include segment information.
- Throws:
XBRLException
hasSegment
boolean hasSegment()
throws XBRLException
- Returns:
- true iff the entity has explicit segment content.
- Throws:
XBRLException
getEntityResources
List<EntityResource> getEntityResources()
throws XBRLException
- Returns:
- a list of all the entity resources with the entity scheme and value
of this entity fragment. The list is empty if there are no entity resources
that match the relevant criteria.
- Throws:
XBRLException
getEntityLabels
List<LabelResource> getEntityLabels()
throws XBRLException
- Returns:
- the list of labels for the entity identified by this fragment,
NOT taking into account the labels for the given identifier and the labels
for any equivalent identifiers.
- Throws:
XBRLException
getAllEntityLabels
List<LabelResource> getAllEntityLabels()
throws XBRLException
- Returns:
- the list of labels for the entity identified by this fragment,
taking into account the labels for the given identifier and the labels
for any equivalent identifiers.
- Throws:
XBRLException