|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.ldap.SchemaMapping
public class SchemaMapping
Maps an LDAP-Schema to a java object net and vice versa. Consists of a set of Class Mappings.
Constructor Summary | |
---|---|
SchemaMapping()
|
Method Summary | |
---|---|
void |
add(ClassMapping cm)
Add a class mapping to this schema mapping |
java.util.Collection<ClassMapping> |
getClassMap()
Returns the class mappings of this schema mapping |
ClassMapping |
getClassMapByClass(java.lang.String className)
Get a class mapping object by the name of the java class |
ClassMapping |
getClassMapByType(java.lang.String typeName)
Get a class mapping object by the name of the most specific LDAP class |
static SchemaMapping |
getSm()
Returns the default schema mapping |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaMapping()
Method Detail |
---|
public static SchemaMapping getSm()
public java.util.Collection<ClassMapping> getClassMap()
public void add(ClassMapping cm)
cm
- the class mapping to addpublic ClassMapping getClassMapByClass(java.lang.String className)
className
- the name of the java class to retrieve the classmapping for
public ClassMapping getClassMapByType(java.lang.String typeName)
typeName
- the name of the LDAP class to retrieve the classmapping for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |