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