com.ibatis.common.beans
Class BaseProbe
java.lang.Object
com.ibatis.common.beans.BaseProbe
- 所有已实现接口:
- Probe
- 已知直接子类:
- ComplexBeanProbe, DomProbe, GenericProbe
public abstract class BaseProbe
- extends java.lang.Object
- implements Probe
Abstract class used to help development of Probe implementations
方法摘要 |
protected java.lang.Object |
getIndexedProperty(java.lang.Object object,
java.lang.String indexedName)
|
protected java.lang.Class |
getIndexedType(java.lang.Object object,
java.lang.String indexedName)
|
protected abstract java.lang.Object |
getProperty(java.lang.Object object,
java.lang.String property)
|
abstract java.lang.String[] |
getReadablePropertyNames(java.lang.Object object)
Returns an array of the readable properties exposed by an object |
abstract java.lang.String[] |
getWriteablePropertyNames(java.lang.Object object)
Returns an array of the writeable properties exposed by an object |
protected void |
setIndexedProperty(java.lang.Object object,
java.lang.String indexedName,
java.lang.Object value)
|
protected abstract void |
setProperty(java.lang.Object object,
java.lang.String property,
java.lang.Object value)
|
类方法继承: java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseProbe
public BaseProbe()
setProperty
protected abstract void setProperty(java.lang.Object object,
java.lang.String property,
java.lang.Object value)
getProperty
protected abstract java.lang.Object getProperty(java.lang.Object object,
java.lang.String property)
getReadablePropertyNames
public abstract java.lang.String[] getReadablePropertyNames(java.lang.Object object)
- Returns an array of the readable properties exposed by an object
- 参数:
object
- - the object
- 返回:
- The array of property names
getWriteablePropertyNames
public abstract java.lang.String[] getWriteablePropertyNames(java.lang.Object object)
- Returns an array of the writeable properties exposed by an object
- 参数:
object
- - the object
- 返回:
- The array of property names
getIndexedProperty
protected java.lang.Object getIndexedProperty(java.lang.Object object,
java.lang.String indexedName)
getIndexedType
protected java.lang.Class getIndexedType(java.lang.Object object,
java.lang.String indexedName)
setIndexedProperty
protected void setIndexedProperty(java.lang.Object object,
java.lang.String indexedName,
java.lang.Object value)