public interface BindingSide
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns name (ex.
|
Object |
getValue(Object object)
Extracts value from passed object and returns it.
|
Class |
getValueClass()
Returns value class.
|
boolean |
isGetterAvailable()
Returns
true if getter is available, otherwise false . |
boolean |
isSetterAvailable()
Returns
true if setter is available, otherwise false . |
void |
setValue(Object object,
Object value)
Sets value for passed object.
|
String getName()
Class getValueClass()
Object getValue(Object object) throws MappingException
MappingException
will be trown.object
- value source.MappingException
void setValue(Object object, Object value) throws MappingException
MappingException
will be trown.object
- value object.value
- value to set.MappingException
boolean isGetterAvailable()
true
if getter is available, otherwise false
.true
if getter is available, otherwise false
.boolean isSetterAvailable()
true
if setter is available, otherwise false
.true
if setter is available, otherwise false
.Copyright © 2014. All rights reserved.