|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.model.DomainDecoratorImpl
public class DomainDecoratorImpl
Add some functionnalities to a JAXB domain. The old functionnalities of the domain are not directly
accessible from this class but by can be accessed by using getDomain()
.
Creation date: 3/10/2007
Constructor Summary | |
---|---|
DomainDecoratorImpl(Domain domain)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomainDecoratorImpl(Domain domain)
Method Detail |
---|
public Domain getDomain()
DomainDecorator
getDomain
in interface DomainDecorator
public LinkDecorator getLink(java.lang.String id)
DomainDecorator
getLink
in interface DomainDecorator
public Node getNode(java.lang.String id)
DomainDecorator
getNode
in interface DomainDecorator
public void addLink(LinkDecorator linkDecorator)
DomainDecorator
addLink
in interface DomainDecorator
public void addLinkIgp(LinkIgp linkIgp)
DomainDecorator
addLinkIgp
in interface DomainDecorator
public void removeLink(LinkDecorator linkDecorator)
DomainDecorator
removeLink
in interface DomainDecorator
public void removeLinkIgp(LinkIgp linkIgp)
DomainDecorator
removeLinkIgp
in interface DomainDecorator
public java.util.List<LinkDecorator> getAllLinks()
getAllLinks
in interface DomainDecorator
public void addNode(Node node)
DomainDecorator
addNode
in interface DomainDecorator
public void removeNode(Node node)
DomainDecorator
removeNode
in interface DomainDecorator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |