Package com.axelor.event
Class NamedLiteral
- java.lang.Object
-
- com.axelor.event.NamedLiteral
-
- All Implemented Interfaces:
Serializable
,Annotation
public class NamedLiteral extends Object implements javax.inject.Named, Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Annotation>
annotationType()
boolean
equals(Object o)
int
hashCode()
static NamedLiteral
of(String value)
String
toString()
String
value()
-
-
-
Method Detail
-
annotationType
public Class<? extends Annotation> annotationType()
- Specified by:
annotationType
in interfaceAnnotation
-
of
public static NamedLiteral of(String value)
-
value
public String value()
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceAnnotation
- Overrides:
hashCode
in classObject
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceAnnotation
- Overrides:
equals
in classObject
-
toString
public String toString()
- Specified by:
toString
in interfaceAnnotation
- Overrides:
toString
in classObject
-
-