|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.replication.model.ReplicationLink
public class ReplicationLink
Pour definir un lien entre deux entites (deux noeuds de replication).
| Field Summary | |
|---|---|
protected boolean |
association
drapeau positionné à true lorsque le lien est une association. |
protected String |
name
nom du lien |
protected Set<ReplicationNode> |
requires
liste des noeuds requis. |
protected ReplicationNode |
source
le noeud source du lien |
protected ReplicationNode |
target
le noeud destination du lien |
| Constructor Summary | |
|---|---|
ReplicationLink(ReplicationNode source,
ReplicationNode target,
String name,
boolean association)
|
|
| Method Summary | |
|---|---|
boolean |
canReattach(Set<ReplicationNode> universe,
ReplicationNode currentNode)
Teste si on peut reattacher le lien en connaissant l'univers des noeuds disponibles. |
String |
getName()
|
ReplicationNode |
getSource()
|
ReplicationNode |
getTarget()
|
boolean |
isAssociation()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final ReplicationNode source
protected final ReplicationNode target
protected final Set<ReplicationNode> requires
protected final String name
protected final boolean association
true lorsque le lien est une association.
| Constructor Detail |
|---|
public ReplicationLink(ReplicationNode source,
ReplicationNode target,
String name,
boolean association)
| Method Detail |
|---|
public String getName()
public ReplicationNode getSource()
public ReplicationNode getTarget()
public boolean isAssociation()
public boolean canReattach(Set<ReplicationNode> universe,
ReplicationNode currentNode)
universe - l'univers des noeuds disponiblescurrentNode - le noeud qui vient d'etre replique
true si on peut reattacher ce lienpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||