public class ConceptAspect extends AspectImpl implements Aspect
All facts have a value for the concept aspect. The concept aspect reflects the element that is used to express fact values. Ideally, this would also be able to reflect substitution group and/or XLink relationships between concepts. Perhaps such complexities are best left to more sophisticated variants of the concept aspect. What you want is to be able to filter facts based upon the concepts at the top of a heirarchy and to get all facts that have a concept aspect value that is within the aspect value subtree specified by that higher-level concept.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
The URI uniquely identifying this concept aspect.
|
Constructor and Description |
---|
ConceptAspect(Domain domain) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
ConceptAspectValue |
getMissingValue() |
ConceptAspectValue |
getValue(Concept concept) |
ConceptAspectValue |
getValue(Fact fact) |
getDomain, getValue, getValue, isExtensible
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDomain, getValue, getValue, isExtensible
public static final java.lang.String ID
public ConceptAspect(Domain domain) throws XBRLException
domain
- The domain for this aspect.XBRLException
public java.lang.String getId()
getId
in interface Aspect
Aspect.getId()
public ConceptAspectValue getValue(Fact fact) throws XBRLException
getValue
in interface Aspect
fact
- The fact to get the aspect value for.XBRLException
Aspect.getValue(Fact)
public ConceptAspectValue getValue(Concept concept) throws XBRLException
concept
- The concept to get the concept aspect value for.XBRLException
public ConceptAspectValue getMissingValue()
getMissingValue
in interface Aspect
Aspect.getMissingValue()