org.apache.directory.shared.ldap.schema.syntax
Class OpenLdapObjectIdentifierMacro

java.lang.Object
  extended by org.apache.directory.shared.ldap.schema.syntax.OpenLdapObjectIdentifierMacro

public class OpenLdapObjectIdentifierMacro
extends java.lang.Object

An OpenLDAP object identifier macro. See http://www.openldap.org/doc/admin24/schema.html#OID%20Macros
objectIdentifier <name> { <oid> | <name>[:<suffix>] }

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
OpenLdapObjectIdentifierMacro()
          Instantiates a new OpenLDAP object identifier macro.
 
Method Summary
 java.lang.String getName()
          Gets the name.
 java.lang.String getRawOidOrNameSuffix()
          Gets the raw OID or name plus suffix.
 java.lang.String getResolvedOid()
          Gets the resolved OID, null if not yet resolved.
 boolean isResolved()
          Checks if is resolved.
 void setName(java.lang.String name)
          Sets the name.
 void setRawOidOrNameSuffix(java.lang.String rawOidOrNameSuffix)
          Sets the raw OID or name plus suffix.
 void setResolvedOid(java.lang.String resolvedOid)
          Sets the resolved OID.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenLdapObjectIdentifierMacro

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

Method Detail

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getRawOidOrNameSuffix

public java.lang.String getRawOidOrNameSuffix()
Gets the raw OID or name plus suffix.

Returns:
the raw OID or name plus suffix

setRawOidOrNameSuffix

public void setRawOidOrNameSuffix(java.lang.String rawOidOrNameSuffix)
Sets the raw OID or name plus suffix.

Parameters:
rawOidOrNameSuffix - the new raw OID or name plus suffix

getResolvedOid

public java.lang.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(java.lang.String resolvedOid)
Sets the resolved OID.

Parameters:
resolvedOid - the new resolved OID

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.