| Modifier and Type | Field and Description |
|---|---|
| protected DatabaseMapping |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | convertDataValueToObjectValue(Object fieldValue, Session session)
Implements org. |
| public Object | convertObjectValueToDataValue(Object attributeValue, Session session)
Implements org. |
| protected DatabaseMapping | |
| public void | initialize(DatabaseMapping mapping, Session session)
Implements org. |
| public boolean | isMutable()
Implements org. |
| mapping | back to summary |
|---|---|
| protected DatabaseMapping mapping | |
| ClassInstanceConverter | back to summary |
|---|---|
| public ClassInstanceConverter() PUBLIC: Default constructor. | |
| convertDataValueToObjectValue | back to summary |
|---|---|
| public Object convertDataValueToObjectValue(Object fieldValue, Session session) Implements org. INTERNAL: Convert the class name to a class, then create an instance of the class.
| |
| convertObjectValueToDataValue | back to summary |
|---|---|
| public Object convertObjectValueToDataValue(Object attributeValue, Session session) Implements org. INTERNAL: Convert to the field class.
| |
| getMapping | back to summary |
|---|---|
| protected DatabaseMapping getMapping() INTERNAL: Return the mapping. | |
| initialize | back to summary |
|---|---|
| public void initialize(DatabaseMapping mapping, Session session) Implements org. INTERNAL: Set the mapping.
| |
| isMutable | back to summary |
|---|---|
| public boolean isMutable() Implements org. INTERNAL: If the converter converts the value to a non-atomic value, i.e. a value that can have its' parts changed without being replaced, then it must return false, serialization can be non-atomic.
| |