public class SchemaMapping
extends java.lang.Object
Constructor and Description |
---|
SchemaMapping() |
Modifier and Type | Method and Description |
---|---|
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
|
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 forpublic ClassMapping getClassMapByType(java.lang.String typeName)
typeName
- the name of the LDAP class to retrieve the classmapping for@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.