Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


oracle.ldap.util
Class LDAPObjectClass

java.lang.Object
  extended by oracle.ldap.util.LDAPObjectClass


public class LDAPObjectClass
extends java.lang.Object

This class represents an LDAP objectclass definition. It parses the the objectclass definition, allowing the retrieval of different elements in the definition.


Field Summary
 int TYPE_ABSTRACT
          The objectclass type is ABSTRACT
 int TYPE_AUXILIARY
          The objectclass type is AUXILIARY
 int TYPE_NONE
          The objectclass type is NONE
 int TYPE_STRUCTURAL
          The objectclass type is STRUCTUAL

 

Constructor Summary
LDAPObjectClass(java.lang.String inObjClsValue)
          Constructs an LDAP objectclass instance based on the specified objectclass definition

 

Method Summary
 java.lang.String getDESC()
          Returns the description of this objectclass if it is available.
 java.lang.String[] getMandatoryAttributes()
          Returns the mandatory attributes of this objectclass in a String[]
 java.lang.String getName()
          Returns the name of this objectclass
static java.lang.String getName(java.lang.String objClsValue)
          Returns the name of the objectclass in the specified objectclass definition
 java.lang.String getObjectClassDef()
          Returns the objectclass definition of this objectclass
 java.lang.String getOID()
          Returns the object identifier of this objectclass
static java.lang.String getOID(java.lang.String objClsValue)
          Returns the object identifier of the objectclass in the specified objectclass definition
 java.lang.String[] getOptionalAttributes()
          Returns the optional attributes of this objectclass in a String[]
 java.lang.String[] getSuperClass()
          Returns the super class(es) of this objectclass in a String[]
 int getType()
          Returns the type of this objectclass.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

TYPE_NONE

public final int TYPE_NONE
The objectclass type is NONE
See Also:
Constant Field Values

TYPE_STRUCTURAL

public final int TYPE_STRUCTURAL
The objectclass type is STRUCTUAL
See Also:
Constant Field Values

TYPE_ABSTRACT

public final int TYPE_ABSTRACT
The objectclass type is ABSTRACT
See Also:
Constant Field Values

TYPE_AUXILIARY

public final int TYPE_AUXILIARY
The objectclass type is AUXILIARY
See Also:
Constant Field Values

Constructor Detail

LDAPObjectClass

public LDAPObjectClass(java.lang.String inObjClsValue)
Constructs an LDAP objectclass instance based on the specified objectclass definition
Parameters:
inObjClsValue - a valid LDAP objectclass definition

Method Detail

getName

public java.lang.String getName()
Returns the name of this objectclass

getOID

public java.lang.String getOID()
Returns the object identifier of this objectclass

getDESC

public java.lang.String getDESC()
Returns the description of this objectclass if it is available. Otherwise null is returned

getType

public int getType()
Returns the type of this objectclass. It can be one of TYPE_STRUCTURAL, TYPE_AUXILIARY, TYPE_ABSTRACT or TYPE_NONE

getSuperClass

public java.lang.String[] getSuperClass()
Returns the super class(es) of this objectclass in a String[]

getMandatoryAttributes

public java.lang.String[] getMandatoryAttributes()
Returns the mandatory attributes of this objectclass in a String[]

getOptionalAttributes

public java.lang.String[] getOptionalAttributes()
Returns the optional attributes of this objectclass in a String[]

getObjectClassDef

public java.lang.String getObjectClassDef()
Returns the objectclass definition of this objectclass

getName

public static java.lang.String getName(java.lang.String objClsValue)
Returns the name of the objectclass in the specified objectclass definition
Parameters:
objClsValue - a valid objectclass definition

getOID

public static java.lang.String getOID(java.lang.String objClsValue)
Returns the object identifier of the objectclass in the specified objectclass definition
Parameters:
objClsValue - a valid objectclass definition

Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.