public static class ParticipantName.Literal extends java.lang.Object implements ParticipantName
ParticipantName annotation.| Modifier and Type | Class and Description |
|---|---|
static interface |
io.micronaut.coherence.annotation.AnnotationLiteral.NoType |
ParticipantName.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 o) |
int |
hashCode() |
static ParticipantName.Literal |
of(java.lang.String name)
Create a
ParticipantName.Literal. |
java.lang.String |
value()
The participant name.
|
public static ParticipantName.Literal of(java.lang.String name)
ParticipantName.Literal.name - the participant nameParticipantName.Literal with the specified valuepublic java.lang.String value()
public boolean equals(java.lang.Object o)
equals in interface java.lang.annotation.Annotationpublic int hashCode()
hashCode in interface java.lang.annotation.Annotationpublic java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType in interface java.lang.annotation.Annotation