org.eclipse.higgins.idas
Class BasicValueDateTime

Package class diagram package BasicValueDateTime
java.lang.Object
  extended by org.eclipse.higgins.idas.AbstractLiteral
      extended by org.eclipse.higgins.idas.BasicValueDateTime
All Implemented Interfaces:
ILiteral, IPropertyValue
Direct Known Subclasses:
BasicValueDate, BasicValueDay, BasicValueMonth, BasicValueMonthDay, BasicValueTime, BasicValueYear, BasicValueYearMonth

public class BasicValueDateTime
extends AbstractLiteral
implements ILiteral


Constructor Summary
BasicValueDateTime(String value)
           
 
Method Summary
 String getCanonical()
          Default implementation of getCanonical calls toString() on the backing datatype.
 Object getData()
          Returns the underlying Java object holding this literal's value.
 String getLexical()
          Default implementation of getLexical calls toString() on the backing datatype.
 
Methods inherited from class org.eclipse.higgins.idas.AbstractLiteral
isLiteral
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.idas.IPropertyValue
isLiteral
 

Constructor Detail

BasicValueDateTime

public BasicValueDateTime(String value)
Method Detail

getLexical

public String getLexical()
                  throws IdASException
Description copied from class: AbstractLiteral
Default implementation of getLexical calls toString() on the backing datatype.

Specified by:
getLexical in interface ILiteral
Overrides:
getLexical in class AbstractLiteral
Throws:
IdASException

getCanonical

public String getCanonical()
                    throws IdASException
Description copied from class: AbstractLiteral
Default implementation of getCanonical calls toString() on the backing datatype.

Specified by:
getCanonical in interface ILiteral
Overrides:
getCanonical in class AbstractLiteral
Throws:
IdASException

getData

public Object getData()
               throws IdASException
Description copied from interface: ILiteral
Returns the underlying Java object holding this literal's value. The following table specifies the mapping between OWL datatypes and Java classes. An instance of the class listed in the right column is returned by ILiteral.getData()

xsd:stringString. See BasicValueString for example.
xsd:normalizedStringString constrained to normalizedString. See BasicValueNormalizedString for example.
xsd:booleanBoolean. See BasicValueBoolean for example.
xsd:decimalBigDecimal. See BasicValueDecimal for example.
xsd:integerBigInteger. See BasicValueInteger for example.
xsd:nonNegativeIntegerBigInteger. See BasicValueNonNegativeInteger for example.
xsd:positiveIntegerBigInteger. See BasicValuePositiveInteger for example.
xsd:nonPositiveIntegerBigInteger. See BasicValueNonPositiveInteger for example.
xsd:negativeIntegerBigInteger. See BasicValueNegativeInteger for example.
xsd:floatFloat. See BasicValueFloat for example.
xsd:doubleDouble. See BasicValueDouble for example.
xsd:longLong. See BasicValueLong for example.
xsd:intInteger. See BasicValueInteger for example.
xsd:shortShort. See BasicValueShort for example.
xsd:byteByte. See BasicValueByte for example.
xsd:unsignedLongBigInteger. See BasicValueUnsignedLong for example.
xsd:unsignedIntBigInteger. See BasicValueUnsignedInt for example.
xsd:unsignedShortBigInteger. See BasicValueUnsignedShort for example.
xsd:unsignedByteBigInteger. See BasicValueUnsignedByte for example.
xsd:hexBinaryByteBuffer. See BasicValueHexBinary for example.
xsd:base64BinaryByteBuffer. See BasicValueBase64Binary for example.
xsd:dateTimeDate. See BasicValueDateTime for example.
xsd:timeDate. See BasicValueTime for example.
xsd:dateDate. See BasicValueDate for example.
xsd:gYearMonthDate. See BasicValueYearMonth for example.
xsd:gYearDate. See BasicValueYear for example.
xsd:gMonthDayDate. See BasicValueMonthDay for example.
xsd:gDayDate. See BasicValueDay for example.
xsd:gMonthDate. See BasicValueMonth for example.
xsd:anyURIURI. See BasicValueURI for example.
xsd:tokenString constrained to token. See BasicValueToken for example.
xsd:languageString constrained to language. See BasicValueLanguage for example.
xsd:NMTOKENString constrained to NMTOKEN. See BasicValueNMTOKEN for example.
xsd:NameString constrained to Name. See BasicValueName for example.
xsd:NCNameString constrained to NCName. See BasicValueNCName for example.
ObjectProperty types{TODO: need class which is a container of IAttributes}

Specified by:
getData in interface ILiteral
Specified by:
getData in interface IPropertyValue
Throws:
IdASException