public class JndiDataSchemaProvider extends Object implements DataSchemaProvider
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER
This is the local logger.
|
| Constructor and Description |
|---|
JndiDataSchemaProvider(JndiServices js,
String className)
Initialize the data schema provider by reading the directory schema and
looking for the specified objectclass name
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getElementSingleType(String elementName)
TODO Refactor to return the good type
|
Collection<String> |
getElementsName()
List of attributes authorized for this object
|
boolean |
isElementMandatory(String elementName)
Unsupported at this time !
|
boolean |
isElementMultivalued(String elementName)
Return true if the attribute is not marked as SINGLE-VALUE
|
public JndiDataSchemaProvider(JndiServices js, String className) throws NamingException
js - className - NamingExceptionpublic Collection<String> getElementsName()
getElementsName in interface DataSchemaProviderpublic Class<?> getElementSingleType(String elementName)
getElementSingleType in interface DataSchemaProviderelementName - Class type for this attributepublic boolean isElementMandatory(String elementName)
isElementMandatory in interface DataSchemaProviderelementName - public boolean isElementMultivalued(String elementName)
isElementMultivalued in interface DataSchemaProviderelementName - MissingFormatArgumentException - is the attribute is unknownCopyright © 2005-2017 LSC project. All Rights Reserved.