Class OpenLdapObjectIdentifierMacro
java.lang.Object
org.apache.directory.api.ldap.model.schema.syntaxCheckers.OpenLdapObjectIdentifierMacro
An OpenLDAP object identifier macro.
See http://www.openldap.org/doc/admin24/schema.html#OID%20Macros
objectIdentifier <name> { <oid> | <name>[:<suffix>] }- Author:
- Apache Directory Project
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new OpenLDAP object identifier macro. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the name.Gets the raw OID or name plus suffix.Gets the resolved OID, null if not yet resolved.booleanChecks if is resolved.voidSets the name.voidsetRawOidOrNameSuffix(String rawOidOrNameSuffix) Sets the raw OID or name plus suffix.voidsetResolvedOid(String resolvedOid) Sets the resolved OID.toString()
-
Constructor Details
-
OpenLdapObjectIdentifierMacro
public OpenLdapObjectIdentifierMacro()Instantiates a new OpenLDAP object identifier macro.
-
-
Method Details
-
getName
-
setName
-
getRawOidOrNameSuffix
Gets the raw OID or name plus suffix.- Returns:
- the raw OID or name plus suffix
-
setRawOidOrNameSuffix
Sets the raw OID or name plus suffix.- Parameters:
rawOidOrNameSuffix- the new raw OID or name plus suffix
-
getResolvedOid
Gets the resolved OID, null if not yet resolved.- Returns:
- the resolved OID
-
isResolved
public boolean isResolved()Checks if is resolved.- Returns:
- true, if is resolved
-
setResolvedOid
Sets the resolved OID.- Parameters:
resolvedOid- the new resolved OID
-
toString
-