Package org.opends.server.core
Class BackendConfigManager.NamingContext
- java.lang.Object
-
- org.opends.server.core.BackendConfigManager.NamingContext
-
- Enclosing class:
- BackendConfigManager
public static class BackendConfigManager.NamingContext extends Object
Represents a naming context, determined by its base DN.A naming context may be private or public, top-level or sub-suffix, local or non-local.
This class provides predicates to be able to filter on a provided set of naming contexts.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DNgetBaseDN()Retrieves the base DN of the naming context.booleanisLocal()Indicates whether this naming context corresponds to a local backend.booleanisPrivate()Indicates whether this naming context corresponds to a private backend.booleanisSubSuffix()Indicates whether this naming context corresponds to a sub-suffix (a non top-level naming context).
-
-
-
Method Detail
-
getBaseDN
public DN getBaseDN()
Retrieves the base DN of the naming context.- Returns:
- the baseDN
-
isPrivate
public boolean isPrivate()
Indicates whether this naming context corresponds to a private backend.- Returns:
trueif naming context is private,falseotherwise
-
isSubSuffix
public boolean isSubSuffix()
Indicates whether this naming context corresponds to a sub-suffix (a non top-level naming context).- Returns:
trueif naming context is a sub-suffix,falseotherwise
-
isLocal
public boolean isLocal()
Indicates whether this naming context corresponds to a local backend.- Returns:
trueif naming context is local,falseotherwise
-
-