org.drools.process.core.datatype.impl.type
Class ObjectDataType
java.lang.Object
org.drools.process.core.datatype.impl.type.ObjectDataType
- All Implemented Interfaces:
- Externalizable, Serializable, DataType
- Direct Known Subclasses:
- ListDataType
public class ObjectDataType
- extends Object
- implements DataType
Representation of an object datatype.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectDataType
public ObjectDataType()
ObjectDataType
public ObjectDataType(String className)
getClassName
public String getClassName()
setClassName
public void setClassName(String className)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
verifyDataType
public boolean verifyDataType(Object value)
- Description copied from interface:
DataType
- Returns true if the given value is a valid value of this data type.
- Specified by:
verifyDataType
in interface DataType
readValue
public Object readValue(String value)
- Specified by:
readValue
in interface DataType
writeValue
public String writeValue(Object value)
- Specified by:
writeValue
in interface DataType
getStringType
public String getStringType()
- Description copied from interface:
DataType
- Returns the corresponding Java type of this datatype
- Specified by:
getStringType
in interface DataType
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.