|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ModelObjects provide access to some of the objects in the kb. ModelLinks to the links in the kb, ModelElements to the elements. This interface defines an intersection of some of their functionality. This class also provides us with the ability to speak of links and elements in a general way. Each ModelObject has an analogous, unique object within its kb.
OMEObject
,
ModelElement
,
ModelLink
,
ViewObject
Method Summary | |
ModelAttribute |
getAttribute(java.lang.String name)
Returns the attribute with the given name. |
java.util.Iterator |
getAttributes()
Returns an iterator over the objects attributes. |
ModelValueAttribute |
getValueAttribute(java.lang.String name)
Returns the value attribute with the given name. |
java.util.Iterator |
getValueAttributes()
Returns an iterator over the objects value attributes. |
ModelValueAttribute |
updateValueAttribute(java.lang.String name,
java.lang.String newname)
Updates the label of value attribute from "name" to "newname" . |
Methods inherited from interface OME.OMEObject |
addLink,
getComment,
getID,
getLinks,
getModel,
getName,
getType,
setComment,
setID,
setName,
setType |
Method Detail |
public ModelAttribute getAttribute(java.lang.String name)
name
- the name of the attribute we want.public java.util.Iterator getAttributes()
public ModelValueAttribute getValueAttribute(java.lang.String name)
name
- the name of the value attribute we want.public ModelValueAttribute updateValueAttribute(java.lang.String name, java.lang.String newname)
name
- the oldname of the value attribute we want to change.newname
- the newname of the value attribute we want to change.public java.util.Iterator getValueAttributes()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |