|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.Object |
clone()
|
java.util.Iterator |
getDisplayParameters()
Iterates over the parameters in this context which should be displayed to the user. |
ExecutingContext |
getExecutingContext()
|
java.lang.String |
getOriginalCode()
Gets the original String of code for this context |
IParameter |
getParameter(int index)
Gets a parameter, based on its index |
IParameter |
getParameter(java.lang.String uniqueId)
Gets a parameter, based on its unique ID |
int |
getParameterCount()
Gets the number of parameters present in this context |
int |
getParameterCount(java.lang.Class paramClass)
Gets the number of parameters present in this context which are of the specified class (or are subclasses of the specified class) |
java.util.List |
getParameters()
Gets a List of this context's IParameter objects. |
java.util.Iterator |
getParameters(java.lang.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. |
int |
getParameterValuesType()
Get the type of value a parameter holds. |
PropertyGroup |
getPropertyGroup(java.lang.String groupName)
Gets the first PropertyGroup with the given property group name. |
PropertyGroupList |
getPropertyGroups()
Get all the property groups associated with this context. |
java.util.List |
getPropertyGroups(java.lang.String groupName)
Get this context's property groups with the given group name. |
boolean |
isContainsDisplayParameters()
Tests if there are any parameters which should be displayed |
boolean |
isParameterized()
Check if this context code is parameterized. |
boolean |
isSecondaryContext()
Tests if this context is a secondary context. |
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(java.lang.String parameterId,
java.lang.Object value)
Sets the value of parameters in this context |
Method Detail |
public java.lang.Object clone()
public java.util.Iterator getDisplayParameters()
public ExecutingContext getExecutingContext()
public java.lang.String getOriginalCode()
public IParameter getParameter(int index)
public IParameter getParameter(java.lang.String uniqueId)
public int getParameterCount()
public int getParameterCount(java.lang.Class paramClass)
public int getParameterValuesType()
public java.util.List getParameters()
public java.util.Iterator getParameters(java.lang.Class paramType)
public ValidationExceptionCollection getParameterValidationExceptions()
public PropertyGroup getPropertyGroup(java.lang.String groupName)
public PropertyGroupList getPropertyGroups()
public java.util.List getPropertyGroups(java.lang.String groupName)
public boolean isContainsDisplayParameters()
public boolean isParameterized()
public boolean isSecondaryContext()
public void parameterAltered() throws DataEngineException
DataEngineException
public void setExecutingContext(ExecutingContext excontext)
public void setParameterValues(Row row) throws CMException
CMException
public void setParameterValues(java.lang.String parameterId, java.lang.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 |