Class ValueMappingOptions


  • public class ValueMappingOptions
    extends java.lang.Object
    Represents the mapping between one value constant and another.
    • Field Detail

      • source

        private final java.lang.String source
      • target

        private final java.lang.String target
      • mirror

        private final javax.lang.model.element.AnnotationMirror mirror
      • sourceAnnotationValue

        private final javax.lang.model.element.AnnotationValue sourceAnnotationValue
      • targetAnnotationValue

        private final javax.lang.model.element.AnnotationValue targetAnnotationValue
    • Constructor Detail

      • ValueMappingOptions

        private ValueMappingOptions​(java.lang.String source,
                                    java.lang.String target,
                                    javax.lang.model.element.AnnotationMirror mirror,
                                    javax.lang.model.element.AnnotationValue sourceAnnotationValue,
                                    javax.lang.model.element.AnnotationValue targetAnnotationValue)
    • Method Detail

      • getSource

        public java.lang.String getSource()
        Returns:
        the name of the constant in the source.
      • getTarget

        public java.lang.String getTarget()
        Returns:
        the name of the constant in the target.
      • getMirror

        public javax.lang.model.element.AnnotationMirror getMirror()
      • getSourceAnnotationValue

        public javax.lang.model.element.AnnotationValue getSourceAnnotationValue()
      • getTargetAnnotationValue

        public javax.lang.model.element.AnnotationValue getTargetAnnotationValue()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object