|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectplanetj.dataengine.parameter.AbstractParameter
planetj.dataengine.parameter.ParameterParameter
A parameter which gets its value from another parameter.
| Field Summary |
| Fields inherited from interface planetj.dataengine.parameter.IParameter |
CONTEXT_SPECIFIC_ID_END, CONTEXT_SPECIFIC_ID_START, DEFAULT_DATA_TYPE, ID_START, PARAMETER_INDEX_PREFIX, PARAMETER_VALUE_ACTUAL, PARAMETER_VALUE_DISPLAY, PARAMETER_VALUE_UNKNOWN |
| Constructor Summary | |
ParameterParameter()
|
|
| Method Summary | |
int |
getDataType()
Gets the SQL data type of the parameter |
protected IParameter |
getSourceParameter()
Gets the source parameter from which this parameter reads its value |
protected int |
getSourceParameterIndex()
Gets the 0-based index of the source parameter from which this parameter reads its value |
java.lang.Object |
getValue()
Gets the value of the parameter |
boolean |
isSQLParameter()
Tests if this parameter should be sent as a parameter to the DB if it is included in a SQL statement. |
void |
setDataType(int newDataType)
Sets the SQL data type of the parameter |
void |
setToken(java.lang.String token)
Sets the literal token that was used to denote this parameter in code |
void |
setValue(java.lang.Object value)
Sets the value of the parameter |
| Methods inherited from class planetj.dataengine.parameter.AbstractParameter |
clearValue, clone, cloneParameter, equals, getCodeReplacementString, getContext, getContextIndex, getContextSpecificId, getDefaultValueAsString, getId, getSource, getTargetFieldDescriptor, getToken, hasAssignedValue, hashCode, isValueLoaded, loadValueFromSource, loadValueFromSource, setContext, setContextIndex, setContextInternal, setDefaultValueAsString, setSource, setSQLParameter, setTokenInternal, setValueInternal, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface planetj.dataengine.parameter.IJDBCSQLParameter |
setSQLParameter |
| Methods inherited from interface planetj.dataengine.parameter.IParameter |
clearValue, clone, cloneParameter, getCodeReplacementString, getContext, getContextIndex, getContextSpecificId, getSource, getTargetFieldDescriptor, getToken, hasAssignedValue, loadValueFromSource, loadValueFromSource, setContext, setSource |
| Constructor Detail |
public ParameterParameter()
| Method Detail |
public int getDataType()
getDataType in interface IParametergetDataType in class AbstractParameterprotected IParameter getSourceParameter()
protected int getSourceParameterIndex()
public java.lang.Object getValue()
getValue in interface IParametergetValue in class AbstractParameterpublic boolean isSQLParameter()
isSQLParameter in interface IJDBCSQLParameterisSQLParameter in class AbstractParameterpublic void setDataType(int newDataType)
setDataType in interface IParametersetDataType in class AbstractParameter
public void setToken(java.lang.String token)
throws CMException
setToken in interface IParametersetToken in class AbstractParameterCMException
public void setValue(java.lang.Object value)
throws CMException
setValue in interface IParametersetValue in class AbstractParameterCMException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||