|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.connector.base.MapNode
org.modeshape.graph.connector.inmemory.InMemoryNode
public class InMemoryNode

A specialization of the MapNode.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.modeshape.graph.connector.base.MapNode |
|---|
MapNode.Changes |
| Field Summary |
|---|
| Fields inherited from class org.modeshape.graph.connector.base.MapNode |
|---|
changes |
| Constructor Summary | |
|---|---|
InMemoryNode(UUID uuid)
Create a new in-memory node. |
|
InMemoryNode(UUID uuid,
Path.Segment name,
UUID parent,
Iterable<Property> properties,
List<UUID> children)
Create a new in-memory node. |
|
InMemoryNode(UUID uuid,
Path.Segment name,
UUID parent,
Map<Name,Property> properties,
List<UUID> children)
Create a new in-memory node. |
|
| Method Summary | |
|---|---|
InMemoryNode |
clone()
This method never clones the changes. |
InMemoryNode |
freeze()
Return the frozen node with all internal state reflective of any changes. |
| Methods inherited from class org.modeshape.graph.connector.base.MapNode |
|---|
equals, getChildren, getName, getParent, getProperties, getProperty, getUuid, getVersion, hasChanges, hashCode, newChanges, toString, withChild, withChild, withName, withoutChild, withoutChildren, withoutProperties, withoutProperty, withParent, withProperties, withProperty |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InMemoryNode(UUID uuid,
Path.Segment name,
UUID parent,
Map<Name,Property> properties,
List<UUID> children)
uuid - the desired UUID; never nullname - the name of the new node; may be null if the name is not known and there is no parentparent - the UUID of the parent node; may be null if this is the root node and there is no nameproperties - the properties; may be null if there are no propertieschildren - the list of child nodes; may be null
public InMemoryNode(UUID uuid,
Path.Segment name,
UUID parent,
Iterable<Property> properties,
List<UUID> children)
uuid - the desired UUID; never nullname - the name of the new node; may be null if the name is not known and there is no parentparent - the UUID of the parent node; may be null if this is the root node and there is no nameproperties - the properties; may be null if there are no propertieschildren - the list of child nodes; may be nullpublic InMemoryNode(UUID uuid)
uuid - the desired UUID; never null| Method Detail |
|---|
public InMemoryNode freeze()
version number.
freeze in class MapNodeMapNode.freeze()public InMemoryNode clone()
This method never clones the changes.
This method never clones the changes.
clone in class MapNodeObject.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||