|
||||||||||
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.connector.disk.DiskNode
public class DiskNode
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 | |
---|---|
DiskNode(UUID uuid)
Create a new node for storage on a disk. |
|
DiskNode(UUID uuid,
Path.Segment name,
UUID parent,
Iterable<Property> properties,
List<UUID> children)
Create a new node for storage on a disk.. |
|
DiskNode(UUID uuid,
Path.Segment name,
UUID parent,
Map<Name,Property> properties,
List<UUID> children)
Create a new node for storage on a disk. |
Method Summary | |
---|---|
DiskNode |
clone()
This method never clones the changes . |
DiskNode |
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 DiskNode(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 nullpublic DiskNode(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 DiskNode(UUID uuid)
uuid
- the desired UUID; never nullMethod Detail |
---|
public DiskNode freeze()
version
number.
freeze
in class MapNode
MapNode.freeze()
public DiskNode clone()
This method never clones the changes
.
This method never clones the changes
.
clone
in class MapNode
Object.clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |