public class IBatisDataSchemaProvider extends Object implements DataSchemaProvider
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOGGER
This is the local logger.
|
Constructor and Description |
---|
IBatisDataSchemaProvider(ResultSetMetaData metadata) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getElementSingleType(String elementName)
Return the Java type of the specified element
|
Collection<String> |
getElementsName()
Return the list of elements name
|
boolean |
isElementMandatory(String elementName)
Must the abstract bean include a value for the following attributes
Binded to mandatory directory attributes or non null SQL columns
|
boolean |
isElementMultivalued(String elementName)
Never return true, or maybe in a 3D database implementation :)
|
public IBatisDataSchemaProvider(ResultSetMetaData metadata)
public Collection<String> getElementsName()
DataSchemaProvider
getElementsName
in interface DataSchemaProvider
public Class<?> getElementSingleType(String elementName)
DataSchemaProvider
getElementSingleType
in interface DataSchemaProvider
elementName
- Element nameClass
Java type of the specified elementpublic boolean isElementMandatory(String elementName)
DataSchemaProvider
isElementMandatory
in interface DataSchemaProvider
elementName
- Element namepublic boolean isElementMultivalued(String elementName)
isElementMultivalued
in interface DataSchemaProvider
elementName
- Name of the elementCopyright © 2005-2024 LSC project. All Rights Reserved.