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 Summary
Constructors Constructor Description OpenLdapObjectIdentifierMacro()
Instantiates a new OpenLDAP object identifier macro.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Gets the name.String
getRawOidOrNameSuffix()
Gets the raw OID or name plus suffix.String
getResolvedOid()
Gets the resolved OID, null if not yet resolved.boolean
isResolved()
Checks if is resolved.void
setName(String name)
Sets the name.void
setRawOidOrNameSuffix(String rawOidOrNameSuffix)
Sets the raw OID or name plus suffix.void
setResolvedOid(String resolvedOid)
Sets the resolved OID.String
toString()
-
-
-
Constructor Detail
-
OpenLdapObjectIdentifierMacro
public OpenLdapObjectIdentifierMacro()
Instantiates a new OpenLDAP object identifier macro.
-
-
Method Detail
-
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
-
-