|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.dataengine.parameter.ParameterManager
Contains methods for working with parameters
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 |
Method Summary | |
static String |
buildUniqueID(int contextId,
int parameterId)
Builds a unqiue ID for a parameter |
static String |
buildUniqueID(int contextId,
String parameterId)
Builds a unqiue ID for a parameter |
static void |
clearParameters(Iterator params)
Clears all the values of all the parameters |
Object |
clone()
Required for compatability reasons |
static boolean |
isDisplayParameter(IParameter param)
Tests if the parameter should be displayed to the user |
static boolean |
isDisplayParameter(String parameterID,
IContext context)
Tests if the parameter should be displayed to the user |
static boolean |
isParameterContextSpecificId(String id)
Tests if the String is a parameter context specific ID |
static boolean |
isSQLParameter(IParameter param)
Tests if the parameter should be passed as a parameter to SQL |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface planetj.dataengine.parameter.IDisplayParameter |
getDisplayField, getDisplayField, getDisplayFieldDescriptor, getOperationString, isDisplay, setOperationString |
Methods inherited from interface planetj.dataengine.parameter.IParameter |
clearValue, cloneParameter, getCodeReplacementString, getContext, getContextIndex, getContextSpecificId, getDataType, getSource, getTargetFieldDescriptor, getToken, getValue, loadValueFromSource, setContext, setDataType, setSource, setToken, setValue |
Method Detail |
public static final String buildUniqueID(int contextId, int parameterId)
public static final String buildUniqueID(int contextId, String parameterId)
public static void clearParameters(Iterator params) throws CMException
params
- An iteration of IParamter objects
CMException
public Object clone()
clone
in interface IParameter
clone
in class Object
public static final boolean isDisplayParameter(String parameterID, IContext context)
public static final boolean isDisplayParameter(IParameter param)
public static final boolean isParameterContextSpecificId(String id)
public static final boolean isSQLParameter(IParameter param)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |