Class MapName.Literal

    • Nested Class Summary

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
      Method returns the type of the annotation literal.
      static MapName.Literal of​(java.lang.String sName)
      Create a MapName.Literal.
      java.lang.String value()
      The name used to identify a specific map.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
    • Method Detail

      • value

        public java.lang.String value()
        The name used to identify a specific map.
        Returns:
        the name used to identify a specific map
      • annotationType

        public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
        Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.
        Specified by:
        annotationType in interface java.lang.annotation.Annotation
        Returns:
        annotation type of this literal.