XBRLAPI

A Java API for XBRL


org.xbrlapi
Interface EntityResource

All Superinterfaces:
ArcEnd, Comparable<Fragment>, ExtendedLinkContent, Fragment, MixedContentResource, Resource, Xlink
All Known Implementing Classes:
EntityResourceImpl

public interface EntityResource
extends MixedContentResource

Defines the functionality for the custom entity resource: a extended link resource that has a 1:1 association with a given entity identifier.

Author:
Geoffrey Shuetrim (geoff@galexy.net)

Method Summary
 FragmentList<Entity> getEntities()
           
 FragmentList<Entity> getEntities(String uri)
           
 FragmentList<EntityResource> getEquivalents()
           
 String getIdentifierScheme()
           
 String getIdentifierValue()
           
 
Methods inherited from interface org.xbrlapi.MixedContentResource
getContent, getLanguage
 
Methods inherited from interface org.xbrlapi.Resource
getLanguage, getResourceRole
 
Methods inherited from interface org.xbrlapi.ArcEnd
getArcEndId, getArcsFrom, getArcsFromWithArcrole, getArcsTo, getArcsToWithArcrole, getLabel, getRole
 
Methods inherited from interface org.xbrlapi.ExtendedLinkContent
getExtendedLink
 
Methods inherited from interface org.xbrlapi.Xlink
getAttribute, getAttribute, getTitleAttribute, getTitleElement, getTitleElements, getXlinkType
 
Methods inherited from interface org.xbrlapi.Fragment
appendElementSchemeXPointer, appendID, appendMetadataElement, equals, getAllChildren, getAncestorOrSelf, getBuilder, getDataRootElement, getDocumentNode, getFragmentIndex, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguage, getLabelsWithLanguageAndRole, getLabelsWithLanguageAndRole, getLabelsWithRole, getLabelsWithRole, getLocalname, getLocalnameFromQName, getMetaAttribute, getMetadataRootElement, getNamespaceFromQName, getNamespaceURI, getNetworks, getNetworksFromWithArcrole, getNetworksFromWithRoleAndArcrole, getNetworksWithArcrole, getParent, getParentElement, getParentIndex, getPrecedingSiblings, getPrefixFromQName, getReferences, getReferencingLocators, getRelationshipsToWithArcrole, getRelatives, getResource, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getStore, getType, getURI, getXPath, hashCode, isa, isNewFragment, removeElementSchemeXPointer, removeID, removeMetaAttribute, removeMetadataElement, removeRelationship, setBuilder, setFragmentIndex, setMetaAttribute, setParentIndex, setPrecedingSiblings, setResource, setSequenceToParentElement, setStore, setURI
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getIdentifierScheme

String getIdentifierScheme()
                           throws XBRLException
Returns:
the entity identifier scheme URI
Throws:
XBRLException

getIdentifierValue

String getIdentifierValue()
                          throws XBRLException
Returns:
the entity identifier value token
Throws:
XBRLException

getEquivalents

FragmentList<EntityResource> getEquivalents()
                                            throws XBRLException
Returns:
a list of all equivalent entity resources
Throws:
XBRLException

getEntities

FragmentList<Entity> getEntities()
                                 throws XBRLException
Returns:
a list of entity identifier fragments from the contexts the data store (or an empty fragment list if there are none matching this entity resource).
Throws:
XBRLException

getEntities

FragmentList<Entity> getEntities(String uri)
                                 throws XBRLException
Parameters:
uri - The URI of the document to get the entities from
Returns:
a list of entity identifier fragments from the contexts in the specified document (or an empty fragment list if there are none matching this entity resource).
Throws:
XBRLException

SourceForge Logo