|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.obe.util.AbstractBean org.obe.xpdl.model.misc.AbstractWFElement org.obe.xpdl.model.data.DataField
The DataField class represents a data field which is placed in the workflow relevant data when a workflow process executes.
Constructor Summary | |
DataField()
|
|
DataField(java.lang.String id,
java.lang.String name)
|
|
DataField(java.lang.String id,
java.lang.String name,
DataType dataType)
Construct a new DataField. |
Method Summary | |
void |
accept(PackageVisitor visitor)
|
DataType |
getDataType()
Get the field's data type. |
java.lang.String |
getInitialValue()
Get the field's initial value. |
int |
getLength()
Get the length of the data field if the field represents an array or list. |
boolean |
isArray()
Return true if the data field is an array. |
void |
setArray(boolean array)
Set the flag indicating that the field is an array. |
void |
setDataType(DataType dataType)
Set the field's data type. |
void |
setInitialValue(java.lang.String initialValue)
Set the field's initial value. |
void |
setLength(int length)
Set the length of the data field. |
java.lang.String |
toString()
|
Methods inherited from class org.obe.xpdl.model.misc.AbstractWFElement |
createExtendedAttributes, equals, getDescription, getExtendedAttributes, getId, getName, hashCode, setDescription, setExtendedAttributes, setId, setName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DataField()
public DataField(java.lang.String id, java.lang.String name)
public DataField(java.lang.String id, java.lang.String name, DataType dataType)
id
- The data field idname
- The data field namedataType
- The data typeMethod Detail |
public void accept(PackageVisitor visitor)
public DataType getDataType()
public void setDataType(DataType dataType)
dataType
- The data typepublic java.lang.String getInitialValue()
public void setInitialValue(java.lang.String initialValue)
initialValue
- The new initial valuepublic int getLength()
public void setLength(int length)
length
- The lengthpublic boolean isArray()
public void setArray(boolean array)
array
- True to indicate that the field is an arraypublic java.lang.String toString()
toString
in class AbstractWFElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |