public class SimpleMapping extends Object implements Mapping
Modifier and Type | Field and Description |
---|---|
protected String |
key |
protected MetaClass |
targetType |
protected MetaClass |
toMap |
protected MetaClass |
type |
Modifier | Constructor and Description |
---|---|
protected |
SimpleMapping(String key,
MetaClass targetType) |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
MetaClass |
getTargetType() |
MetaClass |
getType() |
void |
setMappingClass(MetaClass clazz) |
void |
setType(MetaClass type) |
protected final String key
protected MetaClass toMap
protected MetaClass type
protected final MetaClass targetType
public MetaClass getTargetType()
getTargetType
in interface Mapping
public void setMappingClass(MetaClass clazz)
setMappingClass
in interface Mapping
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.