public class LocationAspect extends AspectImpl implements Aspect
All facts have a value for the location aspect. The location aspect reflects the containers of the fact. This includes the containing XBRL instance and any tuple ancestors of the fact.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
The URI uniquely identifying this concept aspect.
|
Constructor and Description |
---|
LocationAspect(Domain domain) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
LocationAspectValue |
getMissingValue() |
LocationAspectValue |
getValue(Fact fact) |
LocationAspectValue |
getValue(Fact fact,
Fragment parent) |
getDomain, getValue, getValue, isExtensible
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDomain, getValue, getValue, isExtensible
public LocationAspect(Domain domain) throws XBRLException
domain
- The domain for this aspect.XBRLException
public java.lang.String getId()
getId
in interface Aspect
Aspect.getId()
public LocationAspectValue getValue(Fact fact) throws XBRLException
getValue
in interface Aspect
fact
- The fact to get the aspect value for.XBRLException
Aspect.getValue(Fact)
public LocationAspectValue getValue(Fact fact, Fragment parent) throws XBRLException
fact
- The factparent
- The parent fragment of the factXBRLException
public LocationAspectValue getMissingValue()
getMissingValue
in interface Aspect
Aspect.getMissingValue()