|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ModelAttributes represent reference-type attributes on ModelObjects. An attribute maps a name to a target (separate distinct object) within the kb. Multiple attributes may point to the same such target. This can be contrasted with the notion of a value attribute wherein each attribute will have a separate target.
Method Summary | |
void |
clearTarget()
Removes any target from the attribute. |
java.lang.String |
getName()
Returns a name for the Attribute which can be used to find it later. |
java.util.Iterator |
getPossibleTargets()
Attempts to construct a list of possible targets. |
java.lang.Object |
getTarget()
Returns the target of this attribute, returning null if there is no target. |
void |
setTarget(java.lang.Object target)
Sets the target of this attribute to the specified target. |
Method Detail |
public java.lang.String getName()
public void setTarget(java.lang.Object target)
target
- which the target of this attribute is set to.public java.lang.Object getTarget()
public void clearTarget()
public java.util.Iterator getPossibleTargets()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |