public class UnitAspectValue extends AspectValueImpl implements AspectValue
Constructor and Description |
---|
UnitAspectValue()
Missing aspect value constructor.
|
UnitAspectValue(Unit unit) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAspectId() |
java.util.List<Measure> |
getDenominators() |
java.lang.String |
getId()
The missing aspect value ID is the empty string.
|
java.util.List<Measure> |
getNumerators() |
boolean |
hasDenominators() |
boolean |
isMissing()
This method must be implemented by each concrete aspect value class.
|
equals, hashCode
public UnitAspectValue()
public UnitAspectValue(Unit unit) throws XBRLException
unit
- The unit fragment.XBRLException
public java.util.List<Measure> getNumerators()
public java.util.List<Measure> getDenominators()
public boolean hasDenominators()
public java.lang.String getAspectId()
getAspectId
in interface AspectHandler
AspectHandler.getAspectId()
public boolean isMissing()
AspectValue
isMissing
in interface AspectValue
AspectValue.isMissing()
public java.lang.String getId()
getId
in interface AspectValue
label handler
methods are more suitable for
obtaining human readable representations of aspect values.
A unique value for missing aspect values needs to be generated by
implementations of this method.AspectValue.getId()