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() |
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 getBaseDN()
String
representing the base DNpublic String getIndexId()
String
representing the base DNpublic int compareTo(TreeName o)
compareTo
in interface Comparable<TreeName>
Copyright 2010-2022 ForgeRock AS.