XBRLAPI

A Java API for XBRL


org.xbrlapi.impl
Class ItemImpl

java.lang.Object
  extended by org.xbrlapi.impl.FragmentImpl
      extended by org.xbrlapi.impl.FactImpl
          extended by org.xbrlapi.impl.ItemImpl
All Implemented Interfaces:
Comparable<Fragment>, Fact, Fragment, Item
Direct Known Subclasses:
NonNumericItemImpl, NumericItemImpl

public class ItemImpl
extends FactImpl
implements Item

Author:
Geoffrey Shuetrim (geoff@galexy.net)

Field Summary
 
Fields inherited from class org.xbrlapi.impl.FragmentImpl
logger
 
Constructor Summary
ItemImpl()
           
 
Method Summary
 Context getContext()
          Get the context for this item.
 String getContextId()
           
 Unit getUnit()
           
 String getUnitId()
           
 
Methods inherited from class org.xbrlapi.impl.FactImpl
getConcept, getInstance, getTuple, isNil, isNumeric, isTuple
 
Methods inherited from class org.xbrlapi.impl.FragmentImpl
appendElementSchemeXPointer, appendID, appendMetadataElement, compareTo, equals, getAllChildren, getAncestorOrSelf, getBuilder, getChild, getChildren, 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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xbrlapi.Fact
getConcept, getInstance, getTuple, isNil, isNumeric, isTuple
 
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
 

Constructor Detail

ItemImpl

public ItemImpl()
Method Detail

getContext

public Context getContext()
                   throws XBRLException
Description copied from interface: Item
Get the context for this item.

Specified by:
getContext in interface Item
Returns:
the context fragment associated with this item
Throws:
XBRLException - if the context reference is missing or the context is unavailable.
See Also:
Item.getContext()

getContextId

public String getContextId()
                    throws XBRLException
Specified by:
getContextId in interface Item
Returns:
the ID of the context referenced by this item.
Throws:
XBRLException - if the context reference is missing.
See Also:
Item.getContextId()

getUnit

public Unit getUnit()
             throws XBRLException
Specified by:
getUnit in interface Item
Returns:
the unit referenced by this item
Throws:
XBRLException - if the unit reference is missing or the unit is unavailable.
See Also:
Item.getUnit()

getUnitId

public String getUnitId()
                 throws XBRLException
Specified by:
getUnitId in interface Item
Returns:
the ID of the unit referenced by this item.
Throws:
XBRLException - if the unit reference is missing.
See Also:
Item.getUnitId()

SourceForge Logo