org.identityconnectors.ldap.commons
Class ServerNativeSchema

java.lang.Object
  extended by org.identityconnectors.ldap.commons.ServerNativeSchema
All Implemented Interfaces:
LdapNativeSchema

public class ServerNativeSchema
extends Object
implements LdapNativeSchema

Implements LdapNativeSchema by reading it from the server.


Constructor Summary
ServerNativeSchema(LdapConnection conn)
           
 
Method Summary
 LdapAttributeType getAttributeDescription(String ldapAttrName)
           
 Set<String> getEffectiveObjectClasses(String ldapClass)
          Returns the effective LDAP object classes that an entry of a given object class would have, that is, including any superior object classes, any superiors thereof, etc.
 Set<String> getOptionalAttributes(String ldapClass)
           
 Set<String> getRequiredAttributes(String ldapClass)
           
 Set<String> getStructuralObjectClasses()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerNativeSchema

public ServerNativeSchema(LdapConnection conn)
                   throws NamingException
Throws:
NamingException
Method Detail

getStructuralObjectClasses

public Set<String> getStructuralObjectClasses()
Specified by:
getStructuralObjectClasses in interface LdapNativeSchema

getRequiredAttributes

public Set<String> getRequiredAttributes(String ldapClass)
Specified by:
getRequiredAttributes in interface LdapNativeSchema

getOptionalAttributes

public Set<String> getOptionalAttributes(String ldapClass)
Specified by:
getOptionalAttributes in interface LdapNativeSchema

getEffectiveObjectClasses

public Set<String> getEffectiveObjectClasses(String ldapClass)
Description copied from interface: LdapNativeSchema
Returns the effective LDAP object classes that an entry of a given object class would have, that is, including any superior object classes, any superiors thereof, etc.

Specified by:
getEffectiveObjectClasses in interface LdapNativeSchema

getAttributeDescription

public LdapAttributeType getAttributeDescription(String ldapAttrName)
Specified by:
getAttributeDescription in interface LdapNativeSchema


Copyright © 2012. All Rights Reserved.