public class Mapping extends Object
@Mapping.| Modifier and Type | Method and Description |
|---|---|
static Mapping |
fromMappingPrism(MappingPrism mapping,
Element element) |
static Map<String,Mapping> |
fromMappingsPrism(MappingsPrism mappingsAnnotation,
Element element) |
String |
getDateFormat() |
AnnotationMirror |
getMirror() |
AnnotationValue |
getSourceAnnotationValue() |
String |
getSourceName()
Returns the complete source name of this mapping, either a qualified (e.g.
|
String |
getSourceParameterName()
Returns the name of the source parameter of this mapping if the source name is qualified.
|
String |
getSourcePropertyName()
Returns the unqualified name of the source property (i.e.
|
AnnotationValue |
getTargetAnnotationValue() |
String |
getTargetName() |
Mapping |
reverse() |
String |
toString() |
public static Map<String,Mapping> fromMappingsPrism(MappingsPrism mappingsAnnotation, Element element)
public static Mapping fromMappingPrism(MappingPrism mapping, Element element)
public String getSourceName()
parameter1.foo) or
unqualified (e.g. foo) property reference.public String getSourcePropertyName()
public String getSourceParameterName()
null otherwise.public String getTargetName()
public String getDateFormat()
public AnnotationMirror getMirror()
public AnnotationValue getSourceAnnotationValue()
public AnnotationValue getTargetAnnotationValue()
public Mapping reverse()
Copyright © 2012-2013. All Rights Reserved.