org.eclipse.higgins.idas
Class BasicValueInt

Package class diagram package BasicValueInt
java.lang.Object
  extended by org.eclipse.higgins.idas.AbstractLiteral
      extended by org.eclipse.higgins.idas.BasicValueInt
All Implemented Interfaces:
ILiteral, IPropertyValue

public class BasicValueInt
extends AbstractLiteral
implements ILiteral


Constructor Summary
BasicValueInt(int value)
           
BasicValueInt(String value)
           
 
Method Summary
 Object getData()
          Returns the underlying Java object holding this literal's value.
 
Methods inherited from class org.eclipse.higgins.idas.AbstractLiteral
getCanonical, getLexical, 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.ILiteral
getCanonical, getLexical
 
Methods inherited from interface org.eclipse.higgins.idas.IPropertyValue
isLiteral
 

Constructor Detail

BasicValueInt

public BasicValueInt(String value)

BasicValueInt

public BasicValueInt(int value)
Method Detail

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