XBRLAPI

A Java API for XBRL


org.xbrlapi.impl
Class FactImpl

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

public class FactImpl
extends FragmentImpl
implements Fact

Author:
Geoffrey Shuetrim (geoff@galexy.net)

Field Summary
 
Fields inherited from class org.xbrlapi.impl.FragmentImpl
logger
 
Constructor Summary
FactImpl()
           
 
Method Summary
 Concept getConcept()
          Get the concept that defines the syntax for this fact.
 Instance getInstance()
          Get the instance that this fact is a part of
 Tuple getTuple()
          Get the tuple that this fact is a part of
 boolean isNil()
          Return true if the fact has a nill value.
 boolean isNumeric()
           
 boolean isTuple()
          Return true if the fact is a tuple and false otherwise
 
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.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

FactImpl

public FactImpl()
Method Detail

isTuple

public boolean isTuple()
                throws XBRLException
Return true if the fact is a tuple and false otherwise

Specified by:
isTuple in interface Fact
Throws:
XBRLException

getInstance

public Instance getInstance()
                     throws XBRLException
Description copied from interface: Fact
Get the instance that this fact is a part of

Specified by:
getInstance in interface Fact
Returns:
the xbrl instance fragment
Throws:
XBRLException
See Also:
Fact.getInstance()

getTuple

public Tuple getTuple()
               throws XBRLException
Description copied from interface: Fact
Get the tuple that this fact is a part of

Specified by:
getTuple in interface Fact
Returns:
the xbrl tuple fragment or null if this
Throws:
XBRLException
See Also:
Fact.getTuple()

getConcept

public Concept getConcept()
                   throws XBRLException
Description copied from interface: Fact
Get the concept that defines the syntax for this fact.

Specified by:
getConcept in interface Fact
Returns:
the appropriate concept fragment from the data store.
Throws:
XBRLException - if the concept cannot be found.
See Also:
Fact.getConcept()

isNumeric

public boolean isNumeric()
                  throws XBRLException
Specified by:
isNumeric in interface Fact
Returns:
true if the fact is reported with units and false otherwise.
Throws:
XBRLException
See Also:
Fact.isNumeric()

isNil

public boolean isNil()
              throws XBRLException
Description copied from interface: Fact
Return true if the fact has a nill value.

Specified by:
isNil in interface Fact
Throws:
XBRLException
See Also:
Fact.isNil()

SourceForge Logo