@Immutable public class ChildReference extends Object implements Comparable<ChildReference>
Constructor and Description |
---|
ChildReference(NodeKey key,
Name name,
int snsIndex) |
ChildReference(NodeKey key,
Path.Segment segment) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ChildReference that) |
boolean |
equals(Object obj) |
NodeKey |
getKey() |
Name |
getName() |
Path.Segment |
getSegment() |
String |
getSegmentAsString(NamespaceRegistry registry) |
int |
getSnsIndex() |
int |
hashCode() |
String |
toString() |
String |
toString(NamespaceRegistry registry) |
ChildReference |
with(int snsIndex) |
ChildReference |
with(Name name,
int snsIndex) |
public ChildReference(NodeKey key, Path.Segment segment)
public NodeKey getKey()
public Name getName()
public int getSnsIndex()
public Path.Segment getSegment()
public int compareTo(ChildReference that)
compareTo
in interface Comparable<ChildReference>
public String getSegmentAsString(NamespaceRegistry registry)
public String toString(NamespaceRegistry registry)
public ChildReference with(int snsIndex)
public ChildReference with(Name name, int snsIndex)
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.