|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapping
The Mapping interface. For now empty.
Method Summary | |
---|---|
void |
addField(IField field)
Adds a field to the mapping |
IField |
createField(java.lang.Object object)
Factory like method to quickly create a field based on the mapping. |
IDataProvider |
getDataProvider()
|
IField |
getField(java.lang.Object object)
Gets the field specified. |
java.util.List |
getFields()
|
java.lang.String |
getName()
|
java.lang.Object |
getValue(java.lang.String field,
java.lang.Object object)
A convenience method, so you can get values on the highest possible level |
void |
setProperty(java.lang.String name,
java.lang.String value)
Set the property for the mapping |
java.lang.Object |
setValue(java.lang.String field,
java.lang.Object object,
java.lang.Object value)
A convenience method, so you can set values on the highest possible level |
Method Detail |
---|
void addField(IField field)
field
- the field to addjava.util.List getFields()
IField getField(java.lang.Object object)
object
- the field to retrieve
java.lang.String getName()
java.lang.Object setValue(java.lang.String field, java.lang.Object object, java.lang.Object value)
field
- the field name to useobject
- the object to use. If null the provider will try to create the objectvalue
- the value to set in the object
java.lang.Object getValue(java.lang.String field, java.lang.Object object)
field
- the field name to useobject
- the object to use. If null the provider will try to create the object
IDataProvider getDataProvider()
void setProperty(java.lang.String name, java.lang.String value)
name
- the name of the propertyvalue
- the value of the propertyIField createField(java.lang.Object object)
object
- the object to create a field for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |