Errai 3.0.1-SNAPSHOT

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

java.lang.Object
  extended by org.jboss.errai.marshalling.rebind.api.model.impl.SimpleMapping
All Implemented Interfaces:
Mapping
Direct Known Subclasses:
AccessorMapping, ReadMapping, WriteMapping

public class SimpleMapping
extends Object
implements Mapping

Author:
Mike Brock

Field Summary
protected  String key
           
protected  MetaClass targetType
           
protected  MetaClass toMap
           
protected  MetaClass type
           
 
Constructor Summary
protected SimpleMapping(String key, MetaClass targetType)
           
 
Method Summary
 String getKey()
           
 MetaClass getTargetType()
           
 MetaClass getType()
           
 void setMappingClass(MetaClass clazz)
           
 void setType(MetaClass type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected final String key

toMap

protected MetaClass toMap

type

protected MetaClass type

targetType

protected final MetaClass targetType
Constructor Detail

SimpleMapping

protected SimpleMapping(String key,
                        MetaClass targetType)
Method Detail

getKey

public String getKey()
Specified by:
getKey in interface Mapping

getType

public MetaClass getType()
Specified by:
getType in interface Mapping

setType

public void setType(MetaClass type)
Specified by:
setType in interface Mapping

getTargetType

public MetaClass getTargetType()
Specified by:
getTargetType in interface Mapping

setMappingClass

public void setMappingClass(MetaClass clazz)
Specified by:
setMappingClass in interface Mapping

Errai 3.0.1-SNAPSHOT

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