public class LDAPObjectClass
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
LDAPObjectClass(java.lang.String inObjClsValue)
Constructs an LDAP objectclass instance based on the specified objectclass definition
|
Modifier and Type | Method and Description |
---|---|
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.
|
public final int TYPE_NONE
public final int TYPE_STRUCTURAL
public final int TYPE_ABSTRACT
public final int TYPE_AUXILIARY
public LDAPObjectClass(java.lang.String inObjClsValue)
inObjClsValue
- a valid LDAP objectclass definitionpublic java.lang.String getName()
public java.lang.String getOID()
public java.lang.String getDESC()
public int getType()
public java.lang.String[] getSuperClass()
public java.lang.String[] getMandatoryAttributes()
public java.lang.String[] getOptionalAttributes()
public java.lang.String getObjectClassDef()
public static java.lang.String getName(java.lang.String objClsValue)
objClsValue
- a valid objectclass definitionpublic static java.lang.String getOID(java.lang.String objClsValue)
objClsValue
- a valid objectclass definition