public class MapMappingPrism extends Object
@org.mapstruct.MapMapping annotation.| Modifier and Type | Class and Description |
|---|---|
static class |
MapMappingPrism.Values
A class whose members corespond to those of org.mapstruct.MapMapping
but which each return the AnnotationValue corresponding to
that member in the model of the annotations.
|
| Modifier and Type | Field and Description |
|---|---|
boolean |
isValid
Determine whether the underlying AnnotationMirror has no errors.
|
AnnotationMirror |
mirror
The underlying AnnotationMirror of the annotation
represented by this Prism.
|
MapMappingPrism.Values |
values
An instance of the Values inner class whose
methods return the AnnotationValues used to build this prism.
|
| Modifier and Type | Method and Description |
|---|---|
static MapMappingPrism |
getInstance(AnnotationMirror mirror)
Return a prism of the
@org.mapstruct.MapMapping annotation whose mirror is mirror. |
static MapMappingPrism |
getInstanceOn(Element e)
Return a prism representing the
@org.mapstruct.MapMapping annotation on 'e'. |
String |
keyDateFormat()
Returns a String representing the value of the
java.lang.String keyDateFormat() member of the Annotation. |
String |
valueDateFormat()
Returns a String representing the value of the
java.lang.String valueDateFormat() member of the Annotation. |
public final MapMappingPrism.Values values
public final boolean isValid
public final AnnotationMirror mirror
public static MapMappingPrism getInstanceOn(Element e)
@org.mapstruct.MapMapping annotation on 'e'.
similar to e.getAnnotation(org.mapstruct.MapMapping.class) except that
an instance of this class rather than an instance of org.mapstruct.MapMapping
is returned.public static MapMappingPrism getInstance(AnnotationMirror mirror)
@org.mapstruct.MapMapping annotation whose mirror is mirror.public String keyDateFormat()
java.lang.String keyDateFormat() member of the Annotation.MapMapping.keyDateFormat()public String valueDateFormat()
java.lang.String valueDateFormat() member of the Annotation.MapMapping.valueDateFormat()Copyright © 2012-2014. All Rights Reserved.