public class IterableMappingPrism extends Object
@org.mapstruct.IterableMapping annotation.| Modifier and Type | Class and Description |
|---|---|
static class |
IterableMappingPrism.Values
A class whose members corespond to those of org.mapstruct.IterableMapping
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.
|
IterableMappingPrism.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 |
|---|---|
String |
dateFormat()
Returns a String representing the value of the
java.lang.String dateFormat() member of the Annotation. |
static IterableMappingPrism |
getInstance(AnnotationMirror mirror)
Return a prism of the
@org.mapstruct.IterableMapping annotation whose mirror is mirror. |
static IterableMappingPrism |
getInstanceOn(Element e)
Return a prism representing the
@org.mapstruct.IterableMapping annotation on 'e'. |
public final IterableMappingPrism.Values values
public final boolean isValid
public final AnnotationMirror mirror
public static IterableMappingPrism getInstanceOn(Element e)
@org.mapstruct.IterableMapping annotation on 'e'.
similar to e.getAnnotation(org.mapstruct.IterableMapping.class) except that
an instance of this class rather than an instance of org.mapstruct.IterableMapping
is returned.public static IterableMappingPrism getInstance(AnnotationMirror mirror)
@org.mapstruct.IterableMapping annotation whose mirror is mirror.public String dateFormat()
java.lang.String dateFormat() member of the Annotation.IterableMapping.dateFormat()Copyright © 2012-2013. All Rights Reserved.