|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.graph.commands.basic.BasicGraphCommand
org.jboss.dna.graph.commands.basic.BasicGetChildrenCommand
org.jboss.dna.graph.commands.basic.BasicGetNodeCommand
org.jboss.dna.connector.federation.merge.FederatedNode
public class FederatedNode

An in-memory (and temporary) representation of a federated node and it's merged properties and children.
| Constructor Summary | |
|---|---|
FederatedNode(Path path,
UUID uuid)
Create a federated node given the path and UUID. |
|
| Method Summary | |
|---|---|
int |
compareTo(CreateNodeCommand that)
|
boolean |
equals(Object obj)
|
NodeConflictBehavior |
getConflictBehavior()
Get the desired behavior when a node at the target path already exists. |
MergePlan |
getMergePlan()
Get the merge plan for this federated node |
UUID |
getUuid()
Get the UUID for this federated node. |
int |
hashCode()
|
void |
setConflictBehavior(NodeConflictBehavior nodeConflictBehavior)
Set the behavior when node conflicts arise. |
void |
setMergePlan(MergePlan mergePlan)
Set the merge plan for this federated node |
void |
setUuid(UUID uuid)
|
String |
toString()
|
| Methods inherited from class org.jboss.dna.graph.commands.basic.BasicGetNodeCommand |
|---|
getProperties, getPropertiesByName, setProperties, setProperty |
| Methods inherited from class org.jboss.dna.graph.commands.basic.BasicGetChildrenCommand |
|---|
addChild, getCachePolicy, getChildIdentityProperties, getChildren, getPath, getTimeLoaded, setCachePolicy, setNoChildren, setTimeLoaded |
| Methods inherited from class org.jboss.dna.graph.commands.basic.BasicGraphCommand |
|---|
getError, hasError, hasNoError, isCancelled, setCancelled, setError |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.dna.graph.commands.CreateNodeCommand |
|---|
getProperties |
| Methods inherited from interface org.jboss.dna.graph.commands.GraphCommand |
|---|
getError, hasError, hasNoError, isCancelled, setError |
| Methods inherited from interface org.jboss.dna.graph.commands.GetChildrenCommand |
|---|
addChild, setNoChildren |
| Methods inherited from interface org.jboss.dna.graph.cache.Cacheable |
|---|
getCachePolicy, getTimeLoaded, setCachePolicy |
| Methods inherited from interface org.jboss.dna.graph.cache.Cacheable |
|---|
getCachePolicy, getTimeLoaded, setCachePolicy |
| Constructor Detail |
|---|
public FederatedNode(Path path,
UUID uuid)
path - the path of the federated node; may not be nulluuid - the UUID of the federated node; may not be null| Method Detail |
|---|
public UUID getUuid()
public void setUuid(UUID uuid)
uuid - Sets uuid to the specified value.public MergePlan getMergePlan()
public void setMergePlan(MergePlan mergePlan)
mergePlan - the new merge plan for this federated node; may be nullpublic int compareTo(CreateNodeCommand that)
compareTo in interface Comparable<CreateNodeCommand>Comparable.compareTo(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class BasicGetNodeCommandObject.toString()public NodeConflictBehavior getConflictBehavior()
path already exists.
getConflictBehavior in interface CreateNodeCommandCreateNodeCommand.getConflictBehavior()public void setConflictBehavior(NodeConflictBehavior nodeConflictBehavior)
nodeConflictBehavior - the conflict behavior, or null if the default should be used
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||