public class CollectionItemAccessor extends java.lang.Object implements TypeAwareAccessor, Accessor
构造器和说明 |
---|
CollectionItemAccessor(java.lang.Object referenceItem)
Default implementation uses IdentityService.EQUALS_IDENTITY_STRATEGY.
|
CollectionItemAccessor(java.lang.Object referenceItem,
IdentityStrategy identityStrategy)
Allows for custom IdentityStrategy.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
get(java.lang.Object target) |
ElementSelector |
getElementSelector() |
java.lang.Class<?> |
getType() |
void |
set(java.lang.Object target,
java.lang.Object value) |
java.lang.String |
toString() |
void |
unset(java.lang.Object target) |
public CollectionItemAccessor(java.lang.Object referenceItem)
referenceItem
- public CollectionItemAccessor(java.lang.Object referenceItem, IdentityStrategy identityStrategy)
referenceItem
- identityStrategy
- public java.lang.Class<?> getType()
getType
在接口中 TypeAwareAccessor
public java.lang.String toString()
toString
在类中 java.lang.Object
public ElementSelector getElementSelector()
getElementSelector
在接口中 Accessor