|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Supported API: false
Extendable: false
Field Summary | |
static String |
ALGORITHM
Label for the attribute; The name of the algorithm class than can be usd to compute this attribute's value. |
static String |
ARGS
Label for the attribute; The list of arguments that are passed to the algorithm in order to compute this attribute value. |
Method Summary | |
void |
addArg(Attr arg)
Add the specified value to the list of arguments to be passed to this specification's algorithm. |
void |
addArg(String arg)
Add the specified value to the list of arguments to be passed to this specification's algorithm. |
void |
addArg(Value arg)
Add the specified value to the list of arguments to be passed to this specification's algorithm. |
String |
getAlgorithm()
Gets the value of the attribute: ALGORITHM. |
Object |
getArg(int index)
Returns the arg at the specified position in the argument list. |
List |
getArgs()
Gets the value of the attribute: ARGS. |
Object |
removeArg(int index)
Removes the argument at the specified position in the argument list. |
Object |
setArg(int index,
Object arg)
Replaces the argument at the specified position in the argument list with the specified argument. |
Methods inherited from interface wt.rule.init.InitRuleElem |
getObjType, writeXML |
Field Detail |
public static final String ALGORITHM
public static final String ARGS
Method Detail |
public String getAlgorithm()
public List getArgs()
public void addArg(String arg)
arg
- an argument for this specification's algorithmpublic void addArg(Attr arg)
arg
- public void addArg(Value arg)
arg
- public Object getArg(int index) throws IndexOutOfBoundsException
index
- index of argument to return
IndexOutOfBoundsException
public Object setArg(int index, Object arg) throws IndexOutOfBoundsException, IllegalArgumentException
index
- index of argument to replacearg
- argument to be stored at the specified position
IndexOutOfBoundsException
IllegalArgumentException
public Object removeArg(int index) throws IndexOutOfBoundsException
index
- the index of the argument to removed
IndexOutOfBoundsException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |