public abstract class AbstractBindingTypeDef extends Object implements BindingTypeDef
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected String |
name |
MAY_NAME, MUST_NAME, NONE_NAME, SHOULD_NAME| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
AbstractBindingTypeDef(String name) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
bind(ComponentDef componentDef,
PropertyDef propertyDef,
Field field,
Object component) |
void |
bind(ComponentDef componentDef,
PropertyDef propertyDef,
PropertyDesc propertyDesc,
Object component) |
protected boolean |
bindAutoProperty(ComponentDef componentDef,
PropertyDesc propertyDesc,
Object component) |
protected boolean |
bindAutoResourceField(ComponentDef componentDef,
Field field,
Object component) |
protected void |
bindManualProperty(ComponentDef componentDef,
PropertyDef propertyDef,
PropertyDesc propertyDesc,
Object component) |
protected void |
bindManualResourceField(ComponentDef componentDef,
PropertyDef propertyDef,
Field field,
Object component) |
protected abstract void |
doBindProperty(ComponentDef componentDef,
PropertyDesc propertyDesc,
Object component) |
protected abstract void |
doBindResourceField(ComponentDef componentDef,
Field field,
Object component) |
boolean |
equals(Object o) |
protected Object |
getComponent(ComponentDef componentDef,
Object key,
Object component,
String propertyName) |
String |
getName() |
protected Object |
getValue(ComponentDef componentDef,
PropertyDef propertyDef,
Object component,
Class<?> resultType) |
int |
hashCode() |
protected boolean |
isFieldAutoBindable(Class<?> clazz) |
protected boolean |
isPropertyAutoBindable(Class<?> clazz) |
protected boolean |
isSimpleNamingAutoBindable(String propertyName,
Class<?> propertyType,
ComponentDef cd) |
protected void |
setPropertyValue(ComponentDef componentDef,
PropertyDesc propertyDesc,
Object component,
Object value) |
protected void |
setResourceFieldValue(ComponentDef componentDef,
Field field,
Object component,
Object value) |
protected void |
throwPropertyComponentGetFailureException(ComponentDef componentDef,
Object key,
Object component,
String propertyName,
RuntimeException cause) |
protected void |
throwPropertyValueGetFailureException(ComponentDef componentDef,
PropertyDef propertyDef,
Object component,
RuntimeException cause) |
protected final String name
protected AbstractBindingTypeDef(String name)
public void bind(ComponentDef componentDef, PropertyDef propertyDef, PropertyDesc propertyDesc, Object component)
bind インタフェース内 BindingTypeDefprotected void bindManualProperty(ComponentDef componentDef, PropertyDef propertyDef, PropertyDesc propertyDesc, Object component)
protected boolean bindAutoProperty(ComponentDef componentDef, PropertyDesc propertyDesc, Object component)
protected boolean isPropertyAutoBindable(Class<?> clazz)
protected void setPropertyValue(ComponentDef componentDef, PropertyDesc propertyDesc, Object component, Object value) throws BeanIllegalPropertyException
protected abstract void doBindProperty(ComponentDef componentDef, PropertyDesc propertyDesc, Object component)
public void bind(ComponentDef componentDef, PropertyDef propertyDef, Field field, Object component)
bind インタフェース内 BindingTypeDefprotected void bindManualResourceField(ComponentDef componentDef, PropertyDef propertyDef, Field field, Object component)
protected boolean bindAutoResourceField(ComponentDef componentDef, Field field, Object component)
protected boolean isFieldAutoBindable(Class<?> clazz)
protected void setResourceFieldValue(ComponentDef componentDef, Field field, Object component, Object value) throws BeanIllegalPropertyException
protected abstract void doBindResourceField(ComponentDef componentDef, Field field, Object component)
protected boolean isSimpleNamingAutoBindable(String propertyName, Class<?> propertyType, ComponentDef cd)
protected Object getValue(ComponentDef componentDef, PropertyDef propertyDef, Object component, Class<?> resultType) throws BeanIllegalPropertyException
protected void throwPropertyValueGetFailureException(ComponentDef componentDef, PropertyDef propertyDef, Object component, RuntimeException cause)
protected Object getComponent(ComponentDef componentDef, Object key, Object component, String propertyName) throws BeanIllegalPropertyException
protected void throwPropertyComponentGetFailureException(ComponentDef componentDef, Object key, Object component, String propertyName, RuntimeException cause)
public String getName()
getName インタフェース内 BindingTypeDefCopyright © 2015–2016 The DBFlute Project. All rights reserved.