public class Mapping
extends java.lang.Object
@Mapping.| Modifier and Type | Method and Description |
|---|---|
static Mapping |
fromMappingPrism(MappingPrism mappingPrism,
javax.lang.model.element.Element element,
javax.annotation.processing.Messager messager) |
static java.util.Map<java.lang.String,java.util.List<Mapping>> |
fromMappingsPrism(MappingsPrism mappingsAnnotation,
javax.lang.model.element.Element element,
javax.annotation.processing.Messager messager) |
java.lang.String |
getConstant() |
java.lang.String |
getDateFormat() |
java.lang.String |
getJavaExpression() |
javax.lang.model.element.AnnotationMirror |
getMirror() |
javax.lang.model.element.AnnotationValue |
getSourceAnnotationValue() |
java.lang.String |
getSourceName()
Returns the complete source name of this mapping, either a qualified (e.g.
|
java.lang.String |
getSourceParameterName()
Returns the name of the source parameter of this mapping if the source name is qualified.
|
java.lang.String |
getSourcePropertyName()
Returns the unqualified name of the source property (i.e.
|
javax.lang.model.element.AnnotationValue |
getTargetAnnotationValue() |
java.lang.String |
getTargetName() |
boolean |
isIgnored() |
Mapping |
reverse() |
java.lang.String |
toString() |
public static java.util.Map<java.lang.String,java.util.List<Mapping>> fromMappingsPrism(MappingsPrism mappingsAnnotation, javax.lang.model.element.Element element, javax.annotation.processing.Messager messager)
public static Mapping fromMappingPrism(MappingPrism mappingPrism, javax.lang.model.element.Element element, javax.annotation.processing.Messager messager)
public java.lang.String getSourceName()
parameter1.foo) or
unqualified (e.g. foo) property reference.public java.lang.String getSourcePropertyName()
public java.lang.String getSourceParameterName()
null otherwise.public java.lang.String getConstant()
public java.lang.String getJavaExpression()
public java.lang.String getTargetName()
public java.lang.String getDateFormat()
public boolean isIgnored()
public javax.lang.model.element.AnnotationMirror getMirror()
public javax.lang.model.element.AnnotationValue getSourceAnnotationValue()
public javax.lang.model.element.AnnotationValue getTargetAnnotationValue()
public Mapping reverse()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2012-2014. All Rights Reserved.