|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
Object |
clone()
|
Iterator |
getDisplayParameters()
Iterates over the parameters in this context which should be displayed to the user. |
ExecutingContext |
getExecutingContext()
|
String |
getOriginalCode()
Gets the original String of code for this context |
IParameter |
getParameter(int index)
Gets a parameter, based on its index |
IParameter |
getParameter(String uniqueId)
Gets a parameter, based on its unique ID |
int |
getParameterCount()
Gets the number of parameters present in this context |
int |
getParameterCount(Class paramClass)
Gets the number of parameters present in this context which are of the specified class (or are subclasses of the specified class) |
List |
getParameters()
Gets a List of this context's IParameter objects. |
Iterator |
getParameters(Class paramType)
Iterates over the parameters in this context which are of the specified Java type, or are subclasses of the specified Java type. |
ValidationExceptionCollection |
getParameterValidationExceptions()
Be careful when you call this method because it is derived and spins through all the fields. |
PropertyGroup |
getPropertyGroup(String groupName)
Gets the first PropertyGroup with the given property group name. |
PropertyGroupList |
getPropertyGroups()
Get all the property groups associated with this context. |
List |
getPropertyGroups(String groupName)
Get this context's property groups with the given group name. |
void |
parameterAltered()
Callback method so that parameters can inform their context when they are alerted |
void |
setExecutingContext(ExecutingContext excontext)
|
void |
setParameterValues(Row row)
|
void |
setParameterValues(String parameterId,
Object value)
Sets the value of parameters in this context |
Method Detail |
public Iterator getDisplayParameters()
public ExecutingContext getExecutingContext()
public String getOriginalCode()
public IParameter getParameter(int index)
public IParameter getParameter(String uniqueId)
public int getParameterCount()
public int getParameterCount(Class paramClass)
public List getParameters()
public Iterator getParameters(Class paramType)
public ValidationExceptionCollection getParameterValidationExceptions()
public PropertyGroup getPropertyGroup(String groupName)
public PropertyGroupList getPropertyGroups()
public List getPropertyGroups(String groupName)
public void parameterAltered() throws DataEngineException
DataEngineException
public void setExecutingContext(ExecutingContext excontext)
public void setParameterValues(Row row) throws CMException
CMException
public Object clone()
public void setParameterValues(String parameterId, Object value) throws CMException
parameterId
- A String which identifies the parameters whose values will be set. This String can either be
a context specific id, a name, or by a named index.
The context specific id looks like ¤3¿ or ¤0¿
The parameter name is the string corresponding to the parameter's key or column (e.g. BALANCE or VAL)
A parameter name may correspond to multiple parameters, in which case all of these parameters will have their
values set by this method
The named index is the string "_parm" with the parameter's index appended on the end (e.g. _parm0 or _parm2)value
- The value to set parameters to
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |