|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.dataengine.parameter.AbstractParameter | +--planetj.dataengine.parameter.RequestParameter | +--planetj.dataengine.parameter.RequestPromptParameter | +--planetj.dataengine.parameter.SQLPromptParameter
A parameter which corresponds to an SQLComparison. Note that a single comparison may have multiple parameters, but each parameter has a single SQLComparison
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 |
Constructor Summary | |
SQLPromptParameter()
|
Method Summary | |
SQLComparison |
getComparison()
Gets the comparison for this parameter |
Field |
getDisplayField(ExecutingContext ec)
Gets the field to use when displaying a prompt to the user. |
FieldDescriptorRow |
getDisplayFieldDescriptor()
Gets the field descriptor to use when prompting the user for the parameter value. |
String |
getOperationString()
Gets a String representing an operation which applies to this parameter. |
String |
getParameterName()
Gets the name of this parameter (may be null). |
SQLContext |
getSQLContext()
Gets the SQLContext associated with this parameter |
Object |
loadValueFromSource(Object source)
Loads this parameter's value from a source. |
void |
setComparison(SQLComparison comparison)
Sets the comparison for this parameter |
void |
setOperationString(String operationString)
Sets a String representing an operation which applies to this parameter. |
void |
setToken(String token)
Sets the literal token that was used to denote this parameter in code |
Methods inherited from class planetj.dataengine.parameter.RequestPromptParameter |
clearValue, cloneParameter, getDisplayField, isDisplay, setDisplay |
Methods inherited from class planetj.dataengine.parameter.RequestParameter |
getRequestKey |
Methods inherited from class planetj.dataengine.parameter.AbstractParameter |
clone, equals, getCodeReplacementString, getContext, getContextIndex, getContextSpecificId, getDataType, getDefaultValueAsString, getSource, getTargetFieldDescriptor, getToken, getValue, hashCode, isSQLParameter, setContext, setDataType, setDefaultValueAsString, setSource, setSQLParameter, setValue, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface planetj.dataengine.parameter.IParameter |
clone, getCodeReplacementString, getContext, getContextIndex, getContextSpecificId, getDataType, getSource, getTargetFieldDescriptor, getToken, getValue, setContext, setDataType, setSource, setValue |
Methods inherited from interface planetj.dataengine.parameter.IJDBCSQLParameter |
isSQLParameter, setSQLParameter |
Constructor Detail |
public SQLPromptParameter()
Method Detail |
public SQLComparison getComparison()
public Field getDisplayField(ExecutingContext ec) throws CMException
getDisplayField
in interface IDisplayParameter
getDisplayField
in class RequestPromptParameter
ec
- current context in which code is executing.
CMException
public FieldDescriptorRow getDisplayFieldDescriptor() throws CMException
CMException
public String getOperationString()
public String getParameterName() throws CMException
getParameterName
in interface INamedParameter
getParameterName
in class RequestParameter
CMException
public SQLContext getSQLContext()
public Object loadValueFromSource(Object source) throws CMException
loadValueFromSource
in interface IParameter
loadValueFromSource
in class RequestParameter
CMException
public void setComparison(SQLComparison comparison)
public void setOperationString(String operationString)
public void setToken(String token) throws CMException
setToken
in interface IParameter
setToken
in class RequestPromptParameter
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |