Package com.oracle.coherence.cdi.events
Class MapName.Literal
- java.lang.Object
-
- com.oracle.coherence.cdi.AnnotationLiteral<MapName>
-
- com.oracle.coherence.cdi.events.MapName.Literal
-
- All Implemented Interfaces:
Annotation
- Enclosing class:
- MapName
public static class MapName.Literal extends AnnotationLiteral<MapName> implements MapName
An annotation literal for theMapName
annotation.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.oracle.coherence.cdi.events.MapName
MapName.Literal
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MapName.Literal
of(String sName)
Create aMapName.Literal
.String
value()
The name used to identify a specific map.-
Methods inherited from class com.oracle.coherence.cdi.AnnotationLiteral
annotationType, equals, hashCode
-
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
-
of
public static MapName.Literal of(String sName)
Create aMapName.Literal
.- Parameters:
sName
- the map name- Returns:
- a
MapName.Literal
with the specified value
-
value
public String value()
The name used to identify a specific map.- Returns:
- the name used to identify a specific map
-
-