public class AccessorMapping extends SimpleMapping implements MemberMapping
key, targetType, toMap, type
Constructor and Description |
---|
AccessorMapping(String key,
Class<?> type,
String setterMethod,
String getterMethod) |
AccessorMapping(String key,
MetaClass type,
String setterMethod,
String getterMethod) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRead() |
boolean |
canWrite() |
MetaClassMember |
getBindingMember() |
MetaClassMember |
getReadingMember() |
getKey, getTargetType, getType, setMappingClass, setType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKey, getTargetType, getType, setMappingClass, setType
public AccessorMapping(String key, Class<?> type, String setterMethod, String getterMethod)
public MetaClassMember getBindingMember()
getBindingMember
in interface MemberMapping
public MetaClassMember getReadingMember()
getReadingMember
in interface MemberMapping
public boolean canRead()
canRead
in interface MemberMapping
public boolean canWrite()
canWrite
in interface MemberMapping
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.