Package org.mule.metadata.api.annotation
Class EnumAnnotation<T>
- java.lang.Object
-
- org.mule.metadata.api.annotation.EnumAnnotation<T>
-
- All Implemented Interfaces:
TypeAnnotation
public class EnumAnnotation<T> extends Object implements TypeAnnotation
Defines the list of valid values for a given type.
-
-
Constructor Summary
Constructors Constructor Description EnumAnnotation(T[] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetName()A name of the annotationT[]getValues()inthashCode()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mule.metadata.api.annotation.TypeAnnotation
isPublic
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EnumAnnotation
public EnumAnnotation(T[] values)
-
-
Method Detail
-
getValues
public T[] getValues()
-
getName
public String getName()
Description copied from interface:TypeAnnotationA name of the annotation- Specified by:
getNamein interfaceTypeAnnotation- Returns:
- The name
-
-