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