public class DfPropertyDescImpl extends Object implements DfPropertyDesc
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected DfBeanDesc |
_beanDesc |
protected Field |
_field |
protected String |
_propertyName |
protected Class<?> |
_propertyType |
protected boolean |
_readable |
protected Method |
_readMethod |
protected Constructor<?> |
_stringConstructor |
protected Method |
_valueOfMethod |
protected boolean |
_writable |
protected Method |
_writeMethod |
protected static Object[] |
EMPTY_ARGS |
| コンストラクタと説明 |
|---|
DfPropertyDescImpl(DfBeanDesc beanDesc,
String propertyName,
Class<?> propertyType,
Method readMethod,
Method writeMethod,
Field field) |
protected static final Object[] EMPTY_ARGS
protected final DfBeanDesc _beanDesc
protected final String _propertyName
protected final Class<?> _propertyType
protected Method _readMethod
protected Method _writeMethod
protected Field _field
protected Constructor<?> _stringConstructor
protected Method _valueOfMethod
protected boolean _readable
protected boolean _writable
protected void setupStringConstructor()
protected void setupValueOfMethod()
public DfBeanDesc getBeanDesc()
getBeanDesc インタフェース内 DfPropertyDescpublic final String getPropertyName()
DfPropertyAccessorgetPropertyName インタフェース内 DfPropertyAccessorpublic final Class<?> getPropertyType()
DfPropertyAccessorgetPropertyType インタフェース内 DfPropertyAccessorpublic final Class<?> getGenericType()
DfPropertyAccessorgetGenericType インタフェース内 DfPropertyAccessorpublic final Method getReadMethod()
getReadMethod インタフェース内 DfPropertyDescpublic final void setReadMethod(Method readMethod)
setReadMethod インタフェース内 DfPropertyDescpublic final boolean hasReadMethod()
hasReadMethod インタフェース内 DfPropertyDescpublic final Method getWriteMethod()
getWriteMethod インタフェース内 DfPropertyDescpublic final void setWriteMethod(Method writeMethod)
setWriteMethod インタフェース内 DfPropertyDescpublic final boolean hasWriteMethod()
hasWriteMethod インタフェース内 DfPropertyDescpublic Field getField()
getField インタフェース内 DfPropertyDescpublic void setField(Field field)
setField インタフェース内 DfPropertyDescpublic final Object getValue(Object target)
getValue インタフェース内 DfPropertyAccessortarget - The target instance. (NullAllowed)protected void throwPropertyNotReadableException(Object target)
protected void throwPropertyReadFailureException(Object target, RuntimeException e)
public final void setValue(Object target, Object value)
setValue インタフェース内 DfPropertyAccessortarget - The target instance. (NullAllowed)value - The value of the property. (NullAllowed)protected void throwPropertyNotWritableException(Object target, Object value)
protected void throwPropertyWriteFailureException(Object target, Object value, RuntimeException e)
protected void setupExceptionBasicInfo(ExceptionMessageBuilder br)
public boolean isReadable()
DfPropertyAccessorisReadable インタフェース内 DfPropertyAccessorpublic boolean isWritable()
DfPropertyAccessorisWritable インタフェース内 DfPropertyAccessorpublic Object convertIfNeed(Object arg)
convertIfNeed インタフェース内 DfPropertyDescCopyright © 2014–2015 The DBFlute Project. All rights reserved.