Class StringDataType
- java.lang.Object
-
- org.jbpm.process.core.datatype.impl.type.StringDataType
-
- All Implemented Interfaces:
Externalizable,Serializable,DataType
public class StringDataType extends Object implements DataType
Representation of a string datatype.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringDataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetStringType()Returns the corresponding Java type of this datatypevoidreadExternal(ObjectInput in)ObjectreadValue(String value)booleanverifyDataType(Object value)Returns true if the given value is a valid value of this data type.voidwriteExternal(ObjectOutput out)StringwriteValue(Object value)
-
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
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
-
writeValue
public String writeValue(Object value)
- Specified by:
writeValuein interfaceDataType
-
getStringType
public String getStringType()
Description copied from interface:DataTypeReturns the corresponding Java type of this datatype- Specified by:
getStringTypein interfaceDataType
-
-