public class FactImpl extends FragmentImpl implements Fact
Constructor and Description |
---|
FactImpl() |
Modifier and Type | Method and Description |
---|---|
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 |
isFraction() |
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
|
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, getLanguage, getLanguage, getLanguageName, getLanguageName, 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
appendMetadataElement, compareTo, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
getClass, notify, notifyAll, toString, wait, wait, wait
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, getLanguage, getLanguage, getLanguageName, getLanguageName, 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
appendMetadataElement, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
public boolean isTuple() throws XBRLException
isTuple
in interface Fact
XBRLException
public Instance getInstance() throws XBRLException
Fact
getInstance
in interface Fact
XBRLException
- if the fact is not part of an instance.Fact.getInstance()
public Tuple getTuple() throws XBRLException
Fact
getTuple
in interface Fact
XBRLException
Fact.getTuple()
public Concept getConcept() throws XBRLException
Fact
getConcept
in interface Fact
XBRLException
- if the concept cannot be found.Fact.getConcept()
public boolean isNumeric() throws XBRLException
isNumeric
in interface Fact
XBRLException
Fact.isNumeric()
public boolean isFraction() throws XBRLException
isFraction
in interface Fact
XBRLException
Fact.isFraction()
public boolean isNil() throws XBRLException
Fact
isNil
in interface Fact
XBRLException
Fact.isNil()