Class EnumDataType
java.lang.Object
org.jbpm.process.core.datatype.impl.type.EnumDataType
- All Implemented Interfaces:
Externalizable,Serializable,DataType
Representation of an Enum datatype.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEnumDataType(Class<? extends Enum> enumClass) EnumDataType(String className) Deprecated.use constructor that accepts enum class -
Method Summary
Modifier and TypeMethodDescriptionbooleanClass<?>Returns the corresponding Java type of this datatypeinthashCode()voidbooleanverifyDataType(Object value) Returns true if the given value is a valid value of this data type.voidwriteValue(Object value) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jbpm.process.core.datatype.DataType
clone, isAssignableFrom
-
Constructor Details
-
EnumDataType
public EnumDataType() -
EnumDataType
Deprecated.use constructor that accepts enum class -
EnumDataType
-
-
Method Details
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
verifyDataType
Description copied from interface:DataTypeReturns true if the given value is a valid value of this data type.- Specified by:
verifyDataTypein interfaceDataType
-
readValue
-
writeValue
- Specified by:
writeValuein interfaceDataType
-
getStringType
Description copied from interface:DataTypeReturns the corresponding Java type of this datatype- Specified by:
getStringTypein interfaceDataType
-
equals
-
hashCode
public int hashCode() -
getObjectClass
- Specified by:
getObjectClassin interfaceDataType
-