|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This provides APIs for evaluating INIT
rules.
Supported API: false
Extendable: false
Method Summary | |
Object |
getValue(AlgoValue value,
Object object,
WTContainerRef container)
Calculate the value using the specified algorithm
and arguments . |
Object |
getValue(Attr attr,
Object object)
Get the value of the specified attribute from the specified
|
Method Detail |
public Object getValue(AlgoValue value, Object object, WTContainerRef container) throws WTException
value
using the specified algorithm
and arguments
.
The object
argument may be a type identifier or
a normal object. A type identifier is one of the following:
Class
TypeIdentifier
String
specifying the name of the type
type identifier
is passed in, then the attribute
value is calculated using default values for any attributes referenced
while computing the attribute value. Otherwise, attribute values
from the object
are used.
value
- the value to be calculatedobject
- the object to use for attribute references or a type identifeircontainer
- the container to use for data lookups
WTException
public Object getValue(Attr attr, Object object) throws WTException
attribute
from the specified
object
.
The object
argument may be a type identifier or
a normal object. A type identifier is one of the following:
Class
TypeIdentifier
String
specifying the name of the type
If a type identifier
is passed in, then the default value
for the attribute is returned. Otherwise, the value is obtained from
the object
.
Supported API: false
- Parameters:
attr
- the attribute to getobject
- the object to get the value from or a type identifier
- Returns:
- Object
- Throws:
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |