|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldap.sdk.persist.OIDAllocator
com.unboundid.ldap.sdk.persist.DefaultOIDAllocator
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class DefaultOIDAllocator
This class provides an OID allocator implementation that will generate OIDs which are equal to the lowercase name of the associated attribute type or object class followed by "-oid". This will not result in an OID that is technically valid, but is accepted by several directory servers.
Method Summary | |
---|---|
java.lang.String |
allocateAttributeTypeOID(java.lang.String name)
Allocates an OID for the attribute type with the specified name. |
java.lang.String |
allocateObjectClassOID(java.lang.String name)
Allocates an OID for the object class with the specified name. |
static DefaultOIDAllocator |
getInstance()
Retrieves the singleton instance of this OID allocator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DefaultOIDAllocator getInstance()
public java.lang.String allocateAttributeTypeOID(java.lang.String name)
allocateAttributeTypeOID
in class OIDAllocator
name
- The name of the attribute type for which to generate an OID.
It must not be null
or empty.
public java.lang.String allocateObjectClassOID(java.lang.String name)
allocateObjectClassOID
in class OIDAllocator
name
- The name of the object class for which to generate an OID.
It must not be null
or empty.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |