org.drools.process.core.datatype.impl.type
Class ListDataType
java.lang.Object
org.drools.process.core.datatype.impl.type.ObjectDataType
org.drools.process.core.datatype.impl.type.ListDataType
- All Implemented Interfaces:
- Externalizable, Serializable, DataType, TypeObject
public class ListDataType
- extends ObjectDataType
- implements TypeObject
Representation of a list datatype.
All elements in the list must have the same datatype.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListDataType
public ListDataType()
ListDataType
public ListDataType(DataType dataType)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class ObjectDataType
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class ObjectDataType
- Throws:
IOException
setType
public void setType(DataType dataType)
- Specified by:
setType
in interface TypeObject
getType
public DataType getType()
- Specified by:
getType
in interface TypeObject
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
- Overrides:
verifyDataType
in class ObjectDataType
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.