org.eclipse.higgins.idas.impl
Class BasicValueInteger
java.lang.Object
org.eclipse.higgins.idas.impl.AbstractSimpleValue
org.eclipse.higgins.idas.impl.BasicValueInteger
- All Implemented Interfaces:
- IPropertyValue, ISimpleValue
- Direct Known Subclasses:
- BasicValueNegativeInteger, BasicValueNonNegativeInteger, BasicValueNonPositiveInteger, BasicValuePositiveInteger
public class BasicValueInteger
- extends AbstractSimpleValue
- implements ISimpleValue
TODO: make sure getCanonical() meets the canonical rules for xsd:integer. Nothing in the BigInteger Javadoc leads me to believe it's incorrect.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_TYPE_STR
public static final java.lang.String XML_TYPE_STR
- See Also:
- Constant Field Values
OWL_TYPE_STR
public static final java.lang.String OWL_TYPE_STR
- See Also:
- Constant Field Values
ATTR_VALUE_URI_STR
public static final java.lang.String ATTR_VALUE_URI_STR
- See Also:
- Constant Field Values
ATTR_VALUE_TYPE_URI_STR
public static final java.lang.String ATTR_VALUE_TYPE_URI_STR
- See Also:
- Constant Field Values
BasicValueInteger
public BasicValueInteger(java.lang.String value)
getData
public java.lang.Object getData()
throws IdASException
- Returns the
BigInteger
backing this value
- Specified by:
getData
in interface IPropertyValue
- Specified by:
getData
in interface ISimpleValue
- Throws:
IdASException
_setValue
protected void _setValue(java.math.BigInteger value)
getType
public java.net.URI getType()
throws IdASException
- Returns a URI for "http://www.w3.org/2001/XMLSchema#integer"
- Specified by:
getType
in interface IPropertyValue
- Returns:
- The OWL type for this property's value.
- Throws:
IdASException