Class ConfigUri.Literal

  • All Implemented Interfaces:
    Enclosing class:

    public static class ConfigUri.Literal
    extends java.lang.Object
    implements ConfigUri
    An annotation literal for the ConfigUri annotation.
    See Also:
    Serialized Form
    • 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.
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      static ConfigUri.Literal of​(java.lang.String sURI)
      java.lang.String value()
      The name used to identify a specific resource.
      • 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, toString
    • Method Detail

      • value

        public java.lang.String value()
        The name used to identify a specific resource.
        the name used to identify a specific resource
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface java.lang.annotation.Annotation
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.lang.annotation.Annotation
      • 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
        annotation type of this literal.