public abstract class DomainImpl extends java.lang.Object implements Domain, StoreHandler
Constructor and Description |
---|
DomainImpl(Store store) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsMissingValues()
This method is implemented by each concrete domain class.
|
java.util.List<AspectValue> |
getAllAspectValues() |
java.util.List<AspectValue> |
getChildren(AspectValue parent) |
int |
getDepth(AspectValue aspectValue) |
AspectValue |
getParent(AspectValue child) |
long |
getSize() |
Store |
getStore() |
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 |
isRoot(AspectValue aspectValue) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAspectId, isInDomain
public DomainImpl(Store store) throws XBRLException
XBRLException
public Store getStore() throws XBRLException
getStore
in interface StoreHandler
XBRLException
StoreHandler.getStore()
public java.util.List<AspectValue> getAllAspectValues() throws XBRLException
getAllAspectValues
in interface Domain
XBRLException
Domain.getAllAspectValues()
public java.util.List<AspectValue> getChildren(AspectValue parent) throws XBRLException
getChildren
in interface Domain
parent
- The parent aspect value.XBRLException
Domain.getChildren(AspectValue)
public int getDepth(AspectValue aspectValue) throws XBRLException
getDepth
in interface Domain
aspectValue
- The aspect value whose ancestor aspect values are to be
counted.XBRLException
Domain.getDepth(AspectValue)
public AspectValue getParent(AspectValue child) throws XBRLException
getParent
in interface Domain
child
- The aspect value.XBRLException
- if the aspect value does not have a parent.Domain.getParent(AspectValue)
public long getSize() throws XBRLException
getSize
in interface Domain
XBRLException
Domain.getSize()
public boolean hasChildren(AspectValue value) throws XBRLException
hasChildren
in interface Domain
value
- The aspect value.XBRLException
Domain.hasChildren(AspectValue)
public boolean hasParent(AspectValue child) throws XBRLException
hasParent
in interface Domain
child
- The child aspect value.XBRLException
Domain.hasParent(AspectValue)
public boolean isFinite()
Domain
isFinite
in interface Domain
Domain.isFinite()
public boolean isRoot(AspectValue aspectValue) throws XBRLException
isRoot
in interface Domain
aspectValue
- The aspect value to test.XBRLException
Domain.isRoot(AspectValue)
public boolean allowsMissingValues()
Domain
allowsMissingValues
in interface Domain
Domain.allowsMissingValues()