|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lsc.service.JndiDataSchemaProvider
public class JndiDataSchemaProvider
This class provides the data schema by reading the directory schema
| Field Summary | |
|---|---|
static org.slf4j.Logger |
LOGGER
This is the local logger. |
| Constructor Summary | |
|---|---|
JndiDataSchemaProvider(JndiServices js,
String className)
Initialize the data schema provider by reading the directory schema and looking for the specified objectclass name |
|
| Method Summary | |
|---|---|
String |
filterName(String name)
Filter name according to attribute or object class |
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.slf4j.Logger LOGGER
| Constructor Detail |
|---|
public JndiDataSchemaProvider(JndiServices js,
String className)
throws NamingException
js - className -
NamingException| Method Detail |
|---|
public String filterName(String name)
name - the original name
public 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 unknown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||