org.drools.process.core.datatype
Interface DataType

All Superinterfaces:
Externalizable, Serializable
All Known Implementing Classes:
BooleanDataType, EnumDataType, FloatDataType, IntegerDataType, ListDataType, ObjectDataType, StringDataType, UndefinedDataType

public interface DataType
extends Externalizable

Abstract representation of a datatype.


Method Summary
 String getStringType()
          Returns the corresponding Java type of this datatype
 Object readValue(String value)
           
 boolean verifyDataType(Object value)
          Returns true if the given value is a valid value of this data type.
 String writeValue(Object value)
           
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

verifyDataType

boolean verifyDataType(Object value)
Returns true if the given value is a valid value of this data type.


writeValue

String writeValue(Object value)

readValue

Object readValue(String value)

getStringType

String getStringType()
Returns the corresponding Java type of this datatype



Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.