org.xbrlapi.impl
Class EntityImpl
java.lang.Object
org.xbrlapi.impl.XMLImpl
org.xbrlapi.impl.FragmentImpl
org.xbrlapi.impl.ContextComponentImpl
org.xbrlapi.impl.EntityImpl
- All Implemented Interfaces:
- Serializable, Comparable<XML>, ContextComponent, Entity, Fragment, XML
public class EntityImpl
- extends ContextComponentImpl
- implements Entity
- Author:
- Geoffrey Shuetrim (geoff@galexy.net)
- See Also:
- Serialized Form
| Methods inherited from class org.xbrlapi.impl.FragmentImpl |
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 class org.xbrlapi.impl.XMLImpl |
appendMetadataElement, compareTo, equals, finalize, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore |
| 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 |
EntityImpl
public EntityImpl()
getIdentifierScheme
public String getIdentifierScheme()
throws XBRLException
- Description copied from interface:
Entity
- Get the entity identifier scheme.
- Specified by:
getIdentifierScheme in interface Entity
- Returns:
- the entity identifier scheme URI
- Throws:
XBRLException- See Also:
Entity.getIdentifierScheme()
getIdentifierValue
public String getIdentifierValue()
throws XBRLException
- Description copied from interface:
Entity
- Get the entity identifier
- Specified by:
getIdentifierValue in interface Entity
- Returns:
- the string corresponding to the entity from
among the full set of valid entity identifiers in the
nominated scheme.
- Throws:
XBRLException- See Also:
Entity.getIdentifierValue()
getSegment
public Segment getSegment()
throws XBRLException
- Description copied from interface:
Entity
- Get the segment of the entity
- Specified by:
getSegment in interface Entity
- Returns:
- the segment information for the entity
or null if the entity does not include segment information.
- Throws:
XBRLException- See Also:
Entity.getSegment()
hasSegment
public boolean hasSegment()
throws XBRLException
- Specified by:
hasSegment in interface Entity
- Returns:
- true iff the entity has explicit segment content.
- Throws:
XBRLException- See Also:
Entity.hasSegment()
getEntityResources
public List<EntityResource> getEntityResources()
throws XBRLException
- Specified by:
getEntityResources in interface Entity
- 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- See Also:
Entity.getEntityResources()
getEntityLabels
public List<LabelResource> getEntityLabels()
throws XBRLException
- Specified by:
getEntityLabels in interface Entity
- 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- See Also:
Entity.getEntityLabels()
getAllEntityLabels
public List<LabelResource> getAllEntityLabels()
throws XBRLException
- Specified by:
getAllEntityLabels in interface Entity
- 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- See Also:
Entity.getAllEntityLabels()