org.drools.ruleflow.common.datatype.impl.type
Class ListDataType

java.lang.Object
  extended by org.drools.ruleflow.common.datatype.impl.type.ListDataType
All Implemented Interfaces:
java.io.Serializable, DataType

public class ListDataType
extends java.lang.Object
implements DataType, java.io.Serializable

Representation of a list datatype. All elements in the list must have the same datatype.

Author:
Kris Verlaenen
See Also:
Serialized Form

Constructor Summary
ListDataType()
           
 
Method Summary
 DataType getDataType()
           
 void setDataType(DataType dataType)
           
 boolean verifyDataType(java.lang.Object value)
          Returns true if the given value is a valid value of this data type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListDataType

public ListDataType()
Method Detail

setDataType

public void setDataType(DataType dataType)

getDataType

public DataType getDataType()

verifyDataType

public boolean verifyDataType(java.lang.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