public class XMLListConverter extends Object implements Converter
| Constructor and Description |
|---|
XMLListConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertDataValueToObjectValue(Object dataValue,
Session session)
PUBLIC:
Convert the databases' data representation of the value to the object's representation.
|
Object |
convertObjectValueToDataValue(Object objectValue,
Session session)
PUBLIC:
Convert the object's representation of the value to the databases' data representation.
|
Class |
getObjectClass()
Get the Class of the elements of this collection's "sub-collection".
|
String |
getObjectClassName()
Get the Class name of the elements of this collection's "sub-collection".
|
void |
initialize(DatabaseMapping mapping,
Session session)
PUBLIC:
Allow for any initialization.
|
boolean |
isMutable()
PUBLIC:
If the converter converts the value to a mutable value, i.e.
|
void |
setObjectClass(Class aClass)
Set the Class of the elements of this collection's "sub-collection".
|
void |
setObjectClassName(String aClassName)
Set the Class name of the elements of this collection's "sub-collection".
|
public Object convertDataValueToObjectValue(Object dataValue, Session session)
ConverterconvertDataValueToObjectValue in interface Converterpublic Object convertObjectValueToDataValue(Object objectValue, Session session)
ConverterconvertObjectValueToDataValue in interface Converterpublic void initialize(DatabaseMapping mapping, Session session)
Converterinitialize in interface Converterpublic boolean isMutable()
Converterpublic String getObjectClassName()
public void setObjectClassName(String aClassName)
aClassName - the name of the Class of the elements of this collection's "sub-collection"public Class getObjectClass()
public void setObjectClass(Class aClass)
aClass - the Class of the elements of this collection's "sub-collection"