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
- NamingException
public Collection<String> getElementsName()
getElementsName
in interface DataSchemaProvider
public Class<?> getElementSingleType(String elementName)
getElementSingleType
in interface DataSchemaProvider
elementName
- Class
type for this attributepublic boolean isElementMandatory(String elementName)
isElementMandatory
in interface DataSchemaProvider
elementName
- public boolean isElementMultivalued(String elementName)
isElementMultivalued
in interface DataSchemaProvider
elementName
- MissingFormatArgumentException
- is the attribute is unknownCopyright © 2005-2024 LSC project. All Rights Reserved.