public final class TreeName extends Object implements Comparable<TreeName>
Note: This class assumes name components don't contain a '/'.
| Constructor and Description |
|---|
TreeName(String baseDN,
String indexId)
Builds a tree name.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TreeName o) |
boolean |
equals(Object obj) |
String |
getBaseDN()
Returns the base DN.
|
String |
getIndexId()
Returns the index identifier.
|
int |
hashCode() |
TreeName |
replaceBaseDN(String newBaseDN)
Returns a new tree name object created by replacing the baseDN of the current object.
|
String |
toString() |
static TreeName |
valueOf(String treeName)
Builds a new
TreeName object based on the provided string representation. |
public static TreeName valueOf(String treeName)
TreeName object based on the provided string representation.treeName - the string representation of the tree nameTreeName object constructed from the provided stringpublic String getIndexId()
String representing the base DNpublic TreeName replaceBaseDN(String newBaseDN)
newBaseDN - the new base DN that replaces the existing base DNpublic int compareTo(TreeName o)
compareTo in interface Comparable<TreeName>Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.