Class BindingFieldConfig
- java.lang.Object
-
- org.fugerit.java.core.cfg.xml.BasicIdConfigType
-
- org.fugerit.java.core.lang.binding.BindingFieldConfig
-
- All Implemented Interfaces:
Serializable
,IdConfigType
,KeyObject<String>
,KeyString
public class BindingFieldConfig extends BasicIdConfigType
Config attributes : id (required) - id of the binding bindFrom (optional, default to id) - path to source object property to use for binding bindTo (optional, default to id) - path to destination object property to use for binding initOnNull (optional) - if set, the type to be used to create value if 'bindFrom' path lookup to 'null' helper (optional, default to 'default-helper') helper to be used for binding (for instance if a type mapping is needed)- Author:
- Matteo a.k.a. Fugerit
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BindingFieldConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActualBindFrom()
Returns bindFrom field or, if not found, id fieldString
getActualBindTo()
Returns findTo field or, if not found, id fieldString
getBindFrom()
String
getBindTo()
String
getHelper()
String
getInitOnNull()
String
getTypeTo()
String
getUseBinding()
String
getValue()
void
setBindFrom(String bindFrom)
void
setBindTo(String bindTo)
void
setHelper(String helper)
void
setInitOnNull(String initOnNull)
void
setTypeTo(String typeTo)
void
setUseBinding(String useBinding)
void
setValue(String value)
-
Methods inherited from class org.fugerit.java.core.cfg.xml.BasicIdConfigType
getId, getKey, setId, toString
-
-
-
-
Method Detail
-
getBindFrom
public String getBindFrom()
-
setBindFrom
public void setBindFrom(String bindFrom)
-
getBindTo
public String getBindTo()
-
setBindTo
public void setBindTo(String bindTo)
-
getInitOnNull
public String getInitOnNull()
-
setInitOnNull
public void setInitOnNull(String initOnNull)
-
getHelper
public String getHelper()
-
setHelper
public void setHelper(String helper)
-
getUseBinding
public String getUseBinding()
-
setUseBinding
public void setUseBinding(String useBinding)
-
getTypeTo
public String getTypeTo()
-
setTypeTo
public void setTypeTo(String typeTo)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getActualBindFrom
public String getActualBindFrom()
Returns bindFrom field or, if not found, id field- Returns:
- the actual binding
-
getActualBindTo
public String getActualBindTo()
Returns findTo field or, if not found, id field- Returns:
- the actual binding
-
-