|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--PersistentStorageClient.ParameterData
| Field Summary | |
static long |
serialVersionUID
|
| Constructor Summary | |
ParameterData()
|
|
ParameterData(java.lang.String name,
int dataType,
int displayedDataType,
int ioFlag,
boolean runTime,
boolean isSwitchDisplayed)
Creates new ParameterData instance. |
|
| Method Summary | |
int |
getDataType()
Returns parameter data type |
int |
getDisplayedDataType()
Returns parameter data type shown in the Inspector |
int |
getIOFlag()
Returns parameter I/O flag |
java.lang.String |
getName()
Returns parameter name |
java.util.Vector |
getStringTable()
Returns Vector of Strings shown in a pop-up list |
boolean |
isRunTime()
Returns parameter run-time flag |
boolean |
isSwitchDisplayed()
Returns parameter run-time switch flag |
void |
setDataType(int dataType)
Sets the data type of the parameter |
void |
setDisplayedDataType(int displayedDataType)
Sets the data type of the parameter shown in the Inspector |
void |
setIOFlag(int ioFlag)
Sets the Input/Output flag. |
void |
setName(java.lang.String name)
Sets the name of the parameter |
void |
setRunTime(boolean runTime)
Sets the run-time flag. |
void |
setStringTable(java.util.Vector stringTable)
Sets the parameter to display a pop-up list of fixed values. |
void |
setSwitchDisplayed(boolean isSwitchDisplayed)
Sets the run-time switch display flag. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final long serialVersionUID
| Constructor Detail |
public ParameterData()
public ParameterData(java.lang.String name,
int dataType,
int displayedDataType,
int ioFlag,
boolean runTime,
boolean isSwitchDisplayed)
name - name of the Function
dataType - type of data accepted by the parameter. The following
data types are valid:
TEXT free-formatted text string DATE text string in YYYYMMDD format TIME text string in HHMMSS format INTEGER integer number FLOAT double number MONEY money value (can be double number) LOGICAL 0 (false) or 1 (true)
displayedDataType - type of data shown in the Function Inspector
(see dataTypes for the list of valid types)
ioFlag - controls input-only or input/output status. The
following flags are valid:
INPUT Parameter does not change its value OUTPUT Function changes the parameter's value in the course of execution
runTime - controls initial editable status of the parameter
fieldisSwitchDisplayed - controls display of the run-time switch | Method Detail |
public void setName(java.lang.String name)
- Parameters:
name- new parameter name
public java.lang.String getName()
- Specified by:
getNamein interfaceInfrastructureBuilder.UserDefinedFunctions.ParameterDataPacket- Returns:
- parameter name
public void setDataType(int dataType)
- Parameters:
dataType- new data type
public int getDataType()
- Returns:
- parameter data type
public void setDisplayedDataType(int displayedDataType)
public int getDisplayedDataType()
- Returns:
public void setIOFlag(int ioFlag)
ioFlag - new I/O flag. The following flags are valid:
| INPUT | Parameter does not change its value |
| OUTPUT | Function changes the parameter's value in the course of execution |
public int getIOFlag()
public void setRunTime(boolean runTime)
public boolean isRunTime()
public void setSwitchDisplayed(boolean isSwitchDisplayed)
isSwitchDisplayed - new run-time switch flagpublic boolean isSwitchDisplayed()
public void setStringTable(java.util.Vector stringTable)
stringTable - Vector of Stringspublic java.util.Vector getStringTable()
public java.lang.String toString()
toStringin classjava.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||