be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.model
Interface DomainDecorator

All Known Implementing Classes:
DomainDecoratorImpl

public interface DomainDecorator

Add some functionalities to a JAXB domain.

Creation date: 3/10/2007

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Method Summary
 void addLink(LinkDecorator linkDecorator)
          Add a link to the domain
 void addLinkIgp(LinkIgp linkIgp)
          add the igp part of a link to the domain
 void addNode(Node node)
          add a node to the domain
 java.util.List<LinkDecorator> getAllLinks()
           
 Domain getDomain()
          returns the associated jaxb domain
 LinkDecorator getLink(java.lang.String id)
          returns a link identified by id if exists, null otherwise
 Node getNode(java.lang.String id)
          returns the node identified by id if exists, null otherwise
 void removeLink(LinkDecorator linkDecorator)
          remove a link from the domain (the link and the igp of linkdecorator)
 void removeLinkIgp(LinkIgp linkIgp)
          remove the igp part of a link
 void removeNode(Node node)
          remove a node from the domain
 

Method Detail

getDomain

Domain getDomain()
returns the associated jaxb domain

Returns:

getLink

LinkDecorator getLink(java.lang.String id)
returns a link identified by id if exists, null otherwise

Parameters:
id -
Returns:

getNode

Node getNode(java.lang.String id)
returns the node identified by id if exists, null otherwise

Parameters:
id -
Returns:

addLink

void addLink(LinkDecorator linkDecorator)
Add a link to the domain

Parameters:
linkDecorator -

addLinkIgp

void addLinkIgp(LinkIgp linkIgp)
add the igp part of a link to the domain

Parameters:
linkIgp -

removeLink

void removeLink(LinkDecorator linkDecorator)
remove a link from the domain (the link and the igp of linkdecorator)

Parameters:
linkDecorator -

removeLinkIgp

void removeLinkIgp(LinkIgp linkIgp)
remove the igp part of a link

Parameters:
linkIgp -

getAllLinks

java.util.List<LinkDecorator> getAllLinks()

addNode

void addNode(Node node)
add a node to the domain

Parameters:
node -

removeNode

void removeNode(Node node)
remove a node from the domain

Parameters:
node -


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.