gate.creole.ontology
Class ShortDT

java.lang.Object
  extended by gate.creole.ontology.DataType
      extended by gate.creole.ontology.ShortDT

 class ShortDT
extends DataType

Short Datatype

Author:
niraj

Field Summary
 
Fields inherited from class gate.creole.ontology.DataType
datatypeFactory, xmlSchemaURIString
 
Constructor Summary
ShortDT(OURI xmlSchemaURI)
           
ShortDT(String xmlSchemaURIString)
           
 
Method Summary
 boolean isValidValue(String value)
          Methods check if the value is valid for the datatype
 
Methods inherited from class gate.creole.ontology.DataType
equals, getBooleanDataType, getByteDataType, getDataType, getDateDataType, getDateTimeDataType, getDecimalDataType, getDoubleDataType, getDurationDataType, getFloatDataType, getIntDataType, getIntegerDataType, getLocale, getLongDataType, getNegativeIntegerDataType, getNonNegativeIntegerDataType, getNonPositiveIntegerDataType, getPositiveIntegerDataType, getShortDataType, getStringDataType, getTimeDataType, getUnsignedByteDataType, getUnsignedIntDataType, getUnsignedLongDataType, getUnsignedShortDataType, getXmlSchemaURI, getXmlSchemaURIString, isStringDataType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortDT

public ShortDT(OURI xmlSchemaURI)

ShortDT

public ShortDT(String xmlSchemaURIString)
Method Detail

isValidValue

public boolean isValidValue(String value)
Methods check if the value is valid for the datatype

Overrides:
isValidValue in class DataType
Returns:
true, if the provided value can be parsed correctly into the datatype, otherwise - false.