public static class MapName.Literal extends java.lang.Object implements MapName
MapName
annotation.MapName.Literal
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
Method returns the type of the annotation literal.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
static MapName.Literal |
of(java.lang.String sName)
Create a
MapName.Literal . |
java.lang.String |
value()
The name used to identify a specific map.
|
public static MapName.Literal of(java.lang.String sName)
MapName.Literal
.sName
- the map nameMapName.Literal
with the specified valuepublic java.lang.String value()
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType
in interface java.lang.annotation.Annotation
public boolean equals(java.lang.Object other)
equals
in interface java.lang.annotation.Annotation
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.lang.annotation.Annotation
hashCode
in class java.lang.Object