org.xbrlapi.impl
Class MeasureImpl
java.lang.Object
org.xbrlapi.impl.MeasureImpl
- All Implemented Interfaces:
- Serializable, Comparable<Measure>, Measure
public class MeasureImpl
- extends Object
- implements Measure
- Author:
- Geoffrey Shuetrim (geoff@galexy.net)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeasureImpl
public MeasureImpl(URI namespace,
String prefix,
String localname)
throws XBRLException
- Throws:
XBRLException
getLocalname
public String getLocalname()
- Specified by:
getLocalname in interface Measure
- Returns:
- the local name for the measure value.
- See Also:
Measure.getLocalname()
getPrefix
public String getPrefix()
- Specified by:
getPrefix in interface Measure
- Returns:
- the QName prefix for the measure value.
- See Also:
Measure.getPrefix()
getNamespace
public URI getNamespace()
- Specified by:
getNamespace in interface Measure
- Returns:
- the namespace for the measure value.
- See Also:
Measure.getNamespace()
compareTo
public int compareTo(Measure other)
- Specified by:
compareTo in interface Comparable<Measure>
- See Also:
Comparable.compareTo(Object)