|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jcr.query.lucene.basic.NodeInfo
@Immutable @Indexed(index="nodeinfo") public class NodeInfo
A record object used to encapsulate the indexable information about a node. Some fields are known ahead of time, such as the
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 Summary | |
---|---|
NodeInfo(String nodeKey,
String workspace,
String path,
String localName,
String name,
int snsIndex,
int depth,
DynamicField firstDynamicField)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeInfo(String nodeKey, String workspace, String path, String localName, String name, int snsIndex, int depth, DynamicField firstDynamicField)
Method Detail |
---|
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()
public String toString()
toString
in class Object
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |