Class ListDataType
- java.lang.Object
-
- org.jbpm.process.core.datatype.impl.type.ObjectDataType
-
- org.jbpm.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
-
-
Constructor Summary
Constructors Constructor Description ListDataType()ListDataType(DataType dataType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTypegetType()voidreadExternal(ObjectInput in)voidsetType(DataType dataType)booleanverifyDataType(Object value)Returns true if the given value is a valid value of this data type.voidwriteExternal(ObjectOutput out)-
Methods inherited from class org.jbpm.process.core.datatype.impl.type.ObjectDataType
getClassLoader, getClassName, getStringType, readValue, setClassLoader, setClassName, writeValue
-
-
-
-
Constructor Detail
-
ListDataType
public ListDataType()
-
ListDataType
public ListDataType(DataType dataType)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classObjectDataType- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classObjectDataType- Throws:
IOException
-
setType
public void setType(DataType dataType)
- Specified by:
setTypein interfaceTypeObject
-
getType
public DataType getType()
- Specified by:
getTypein interfaceTypeObject
-
verifyDataType
public boolean verifyDataType(Object value)
Description copied from interface:DataTypeReturns true if the given value is a valid value of this data type.- Specified by:
verifyDataTypein interfaceDataType- Overrides:
verifyDataTypein classObjectDataType
-
-