org.identityconnectors.ldap.commons
Class StaticNativeSchema

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

public class StaticNativeSchema
extends Object
implements LdapNativeSchema

A static pre-made definition of the native schema. This is needed for backward compatibility with the LDAP resource adapter, which does not read the schema. This class does not return any attributes or object classes. For IDM, they are set during the post-processing. See also ServerNativeSchema.


Constructor Summary
StaticNativeSchema()
           
 
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

StaticNativeSchema

public StaticNativeSchema()
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.