Class SerializerFormat.Literal
java.lang.Object
io.micronaut.coherence.annotation.AbstractNamedLiteral<SerializerFormat>
io.micronaut.coherence.annotation.SerializerFormat.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
SerializerFormat
public static final class SerializerFormat.Literal
extends AbstractNamedLiteral<SerializerFormat>
implements SerializerFormat
An annotation literal for the
SerializerFormat annotation.- Since:
- 1.0
- Author:
- Jonathan Knight
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class SerializerFormat
SerializerFormat.Literal -
Field Summary
Fields inherited from class AbstractNamedLiteral
f_sName -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation> Method returns the type of the annotation literal.static SerializerFormat.LiteralCreate aSerializerFormat.Literal.value()The name of the serializer.Methods inherited from class AbstractNamedLiteral
equals, hashCodeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Annotation
toString
-
Method Details
-
of
Create aSerializerFormat.Literal.- Parameters:
sName- the name of the serializer- Returns:
- a
SerializerFormat.Literalwith the specified value
-
value
-
annotationType
Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.- Specified by:
annotationTypein interfaceAnnotation- Returns:
- annotation type of this literal.
-