@Immutable @Indexed(index="nodeinfo") public class NodeInfo extends Object
id
, name
, localName
, depth
, etc., but other fields are used to store the properties that
cannot be known at compile time. These fields are represented on this object using DynamicField
instances, which can be
chained together.Constructor and Description |
---|
NodeInfo(String nodeKey,
String workspace,
String path,
String localName,
String name,
int snsIndex,
int depth,
DynamicField firstDynamicField) |
Modifier and Type | Method and Description |
---|---|
int |
getDepth()
Get the depth of the node.
|
DynamicField |
getFirstDynamicField()
Get the information about the first dynamic field for this node.
|
String |
getId()
Get the unique ID for the node.
|
String |
getLocalName()
Get the local name of the node.
|
String |
getName()
Get the name of the node.
|
String |
getPath()
Get the string path.
|
int |
getSnsIndex()
Get the same-name-sibling index of the node.
|
String |
getWorkspace()
The name of the workspace.
|
String |
toString() |
public String getId()
public String getPath()
public String getName()
public String getLocalName()
public int getSnsIndex()
public int getDepth()
public DynamicField getFirstDynamicField()
DynamicField.getNext()
method.public String getWorkspace()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.