org.jboss.errai.marshalling.rebind.api.model.impl
Class SimpleMapping
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
protected final String key
toMap
protected MetaClass toMap
type
protected MetaClass type
targetType
protected final MetaClass targetType
SimpleMapping
protected SimpleMapping(String key,
MetaClass targetType)
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
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.