Class OpenLdapObjectIdentifierMacro

java.lang.Object
org.apache.directory.api.ldap.model.schema.syntaxCheckers.OpenLdapObjectIdentifierMacro

public class OpenLdapObjectIdentifierMacro extends Object
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 Details

    • OpenLdapObjectIdentifierMacro

      public OpenLdapObjectIdentifierMacro()
      Instantiates a new OpenLDAP object identifier macro.
  • Method Details

    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the new name
    • getRawOidOrNameSuffix

      public String getRawOidOrNameSuffix()
      Gets the raw OID or name plus suffix.
      Returns:
      the raw OID or name plus suffix
    • setRawOidOrNameSuffix

      public void setRawOidOrNameSuffix(String rawOidOrNameSuffix)
      Sets the raw OID or name plus suffix.
      Parameters:
      rawOidOrNameSuffix - the new raw OID or name plus suffix
    • getResolvedOid

      public String 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

      public void setResolvedOid(String resolvedOid)
      Sets the resolved OID.
      Parameters:
      resolvedOid - the new resolved OID
    • toString

      public String toString()
      Overrides:
      toString in class Object