Errai 3.0.1-SNAPSHOT

org.jboss.errai.marshalling.rebind.api.model.impl
Class AccessorMapping

java.lang.Object
  extended by org.jboss.errai.marshalling.rebind.api.model.impl.SimpleMapping
      extended by org.jboss.errai.marshalling.rebind.api.model.impl.AccessorMapping
All Implemented Interfaces:
Mapping, MemberMapping

public class AccessorMapping
extends SimpleMapping
implements MemberMapping

Author:
Mike Brock

Field Summary
 
Fields inherited from class org.jboss.errai.marshalling.rebind.api.model.impl.SimpleMapping
key, targetType, toMap, type
 
Constructor Summary
AccessorMapping(String key, Class<?> type, String setterMethod, String getterMethod)
           
AccessorMapping(String key, MetaClass type, String setterMethod, String getterMethod)
           
 
Method Summary
 boolean canRead()
           
 boolean canWrite()
           
 MetaClassMember getBindingMember()
           
 MetaClassMember getReadingMember()
           
 
Methods inherited from class org.jboss.errai.marshalling.rebind.api.model.impl.SimpleMapping
getKey, getTargetType, getType, setMappingClass, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.errai.marshalling.rebind.api.model.Mapping
getKey, getTargetType, getType, setMappingClass, setType
 

Constructor Detail

AccessorMapping

public AccessorMapping(String key,
                       Class<?> type,
                       String setterMethod,
                       String getterMethod)

AccessorMapping

public AccessorMapping(String key,
                       MetaClass type,
                       String setterMethod,
                       String getterMethod)
Method Detail

getBindingMember

public MetaClassMember getBindingMember()
Specified by:
getBindingMember in interface MemberMapping

getReadingMember

public MetaClassMember getReadingMember()
Specified by:
getReadingMember in interface MemberMapping

canRead

public boolean canRead()
Specified by:
canRead in interface MemberMapping

canWrite

public boolean canWrite()
Specified by:
canWrite in interface MemberMapping

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.