com.togethersoft.openapi.model.elements
Interface ModelDelta


public interface ModelDelta

This interface provides information describing changes in the model. This
information is collected from various changes providers and than is sent
to diagram providers to perform update of the diagrams.

A baseline of changes is the last update moment. Thus, all created, modified
and deleted elements should be treated as "created, modified and deleted
from the last update"

Author:
TogetherSoft

Method Summary
 StringEnumerationchangedLinks()
           
 StringEnumerationchangedNodes()
           
 StringEnumerationchangedReferenceCollections()
           
 StringEnumerationdeletedLinks()
           
 StringEnumerationdeletedNodes()
           
 StringEnumerationdeletedReferenceCollections()
           
 booleanisEmpty()
           
 booleanisTotalUpdateRequired()
           
 StringEnumerationnewLinks()
           
 StringEnumerationnewNodes()
           
 StringEnumerationnewReferenceCollections()
           

Method Detail

changedLinks

public StringEnumeration changedLinks()
Returns: Enumeration of the modified links. Objects in the
enumeration should be instances of Link

changedNodes

public StringEnumeration changedNodes()
Returns: Enumeration of the modified nodes. Objects in the
enumeration should be instances of Node

changedReferenceCollections

public StringEnumeration changedReferenceCollections()

deletedLinks

public StringEnumeration deletedLinks()
Returns: Enumeration of the deleted links. Objects in the
enumeration should be instances of Link

deletedNodes

public StringEnumeration deletedNodes()
Returns: Enumeration of the deleted nodes. Objects in the
enumeration should be instances of Node

deletedReferenceCollections

public StringEnumeration deletedReferenceCollections()

isEmpty

public boolean isEmpty()
Returns: true if there is no information about changes

isTotalUpdateRequired

public boolean isTotalUpdateRequired()
Returns: true if changes performed require total update
of the model

newLinks

public StringEnumeration newLinks()
Returns: Enumeration of the newly created links. Objects in the
enumeration should be instances of Link

newNodes

public StringEnumeration newNodes()
Returns: Enumeration of the newly created nodes. Objects in the
enumeration should be instances of Node

newReferenceCollections

public StringEnumeration newReferenceCollections()