public class ConceptDomain extends DomainImpl implements Domain
Constructor and Description |
---|
ConceptDomain(Store store) |
Modifier and Type | Method and Description |
---|---|
int |
compare(AspectValue first,
AspectValue second) |
java.util.List<AspectValue> |
getAllAspectValues() |
java.lang.String |
getAspectId() |
long |
getSize()
Returns the number of non-abstract concepts in the data store.
|
boolean |
hasChildren(AspectValue value) |
boolean |
hasParent(AspectValue child) |
boolean |
isFinite()
The getSize() and the getAllAspectValues methods must only be implemented
if this method returns true.
|
boolean |
isInDomain(AspectValue candidate) |
allowsMissingValues, getChildren, getDepth, getParent, getStore, isRoot
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowsMissingValues, getChildren, getDepth, getParent, isRoot
getStore
public ConceptDomain(Store store) throws XBRLException
XBRLException
public java.lang.String getAspectId()
getAspectId
in interface Domain
Domain.getAspectId()
public java.util.List<AspectValue> getAllAspectValues() throws XBRLException
getAllAspectValues
in interface Domain
getAllAspectValues
in class DomainImpl
XBRLException
Domain.getAllAspectValues()
public long getSize() throws XBRLException
getSize
in interface Domain
getSize
in class DomainImpl
XBRLException
Domain.getSize()
public boolean hasChildren(AspectValue value) throws XBRLException
hasChildren
in interface Domain
hasChildren
in class DomainImpl
value
- The aspect value.XBRLException
Domain.hasChildren(AspectValue)
public boolean hasParent(AspectValue child) throws XBRLException
hasParent
in interface Domain
hasParent
in class DomainImpl
child
- The child aspect value.XBRLException
Domain.hasParent(AspectValue)
public boolean isInDomain(AspectValue candidate) throws XBRLException
isInDomain
in interface Domain
candidate
- The candidate aspect value.XBRLException
Domain.isInDomain(AspectValue)
public boolean isFinite()
Domain
isFinite
in interface Domain
isFinite
in class DomainImpl
Domain.isFinite()
public int compare(AspectValue first, AspectValue second)
compare
in interface java.util.Comparator<AspectValue>
first
- The first aspect valuesecond
- The second aspect value