|
||||||||||
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.data.FormalParameter
FormalParameter defines input and output parameters which are passed to tools.
Constructor Summary | |
FormalParameter()
Constructs a new FormalParameter object. |
|
FormalParameter(java.lang.String id,
java.lang.Integer index,
ParameterMode mode,
DataType dataType,
java.lang.String description)
Constructs a new FormalParameter object. |
|
FormalParameter(java.lang.String id,
java.lang.String index,
java.lang.String mode,
DataType dataType,
java.lang.String description)
Constructs a new FormalParameter object. |
Method Summary | |
void |
accept(PackageVisitor visitor)
|
DataType |
getDataType()
|
java.lang.String |
getDataTypeString()
|
java.lang.String |
getDescription()
|
java.lang.String |
getId()
Get the unique id. |
java.lang.Integer |
getIndex()
|
ParameterMode |
getMode()
Get the parameter mode. |
java.lang.String |
getModeString()
Returns the parameter mode as a string. |
void |
setDataType(DataType dataType)
|
void |
setDataTypeString(java.lang.String basicType)
|
void |
setDescription(java.lang.String description)
|
void |
setId(java.lang.String id)
|
void |
setIndex(java.lang.Integer index)
|
void |
setIndex(java.lang.String index)
|
void |
setMode(ParameterMode mode)
Set the parameter mode. |
void |
setModeString(java.lang.String mode)
Sets the parameter mode as a string. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FormalParameter()
public FormalParameter(java.lang.String id, java.lang.String index, java.lang.String mode, DataType dataType, java.lang.String description)
id
- The unique idindex
- The index of the parametermode
- The ParameterModedataType
- The DataTypedescription
- The namepublic FormalParameter(java.lang.String id, java.lang.Integer index, ParameterMode mode, DataType dataType, java.lang.String description)
id
- The unique idindex
- The index of the parametermode
- The ParameterModedataType
- The DataTypedescription
- The descriptionMethod Detail |
public final void accept(PackageVisitor visitor)
public final java.lang.String getId()
public final void setId(java.lang.String id)
public final java.lang.String getDescription()
public final void setDescription(java.lang.String description)
public final java.lang.Integer getIndex()
public final void setIndex(java.lang.Integer index)
public final void setIndex(java.lang.String index)
public final DataType getDataType()
public final void setDataType(DataType dataType)
public final java.lang.String getDataTypeString()
public final void setDataTypeString(java.lang.String basicType)
public final ParameterMode getMode()
ParameterMode.IN
.
public final void setMode(ParameterMode mode)
ParameterMode.IN
.
mode
- The new parameter modepublic final java.lang.String getModeString()
public final void setModeString(java.lang.String mode)
mode
- The new parameter mode. Must be a valid ParameterMode
.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |