Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Interface OME.OMEModel

Implementing Classes:
TelosModel

public abstract interface OMEModel
The OME Model. This is what is needed to interface to a transactionmanager. Additional attributes should be residing in the telos-side of things. An OME model consists of named and typed elements, and typed, annotated links. Conceptually the annotation of links is different from the names of elements in that the element's name should be unique within some context. A collection of Views will be bound to a model.


Method Summary
OMEElement createElement()
          Creates a new element within the model which can then be manipulated through the OMEElement interface.
OMELink createLink()
          Creates a new link within the model which can then be manipulated through the OMELink interface.
void deleteElement(OMEElement element)
          Deletes the element from the model.
void deleteLink(OMELink link)
          Deletes the link from the model.
java.util.Collection getElements()
          Returns the elements within this model.
java.util.Collection getLinks()
          Returns the links within this model.
boolean isDirty()
          Whether the model has been changed since its last serialization.
 

Method Detail

createElement

public OMEElement createElement()
Creates a new element within the model which can then be manipulated through the OMEElement interface.

createLink

public OMELink createLink()
Creates a new link within the model which can then be manipulated through the OMELink interface.

deleteElement

public void deleteElement(OMEElement element)
Deletes the element from the model.

deleteLink

public void deleteLink(OMELink link)
Deletes the link from the model.

getElements

public java.util.Collection getElements()
Returns the elements within this model.

getLinks

public java.util.Collection getLinks()
Returns the links within this model.

isDirty

public boolean isDirty()
Whether the model has been changed since its last serialization.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD