Package org.mule.metadata.api.annotation
Class LabelAnnotation
- java.lang.Object
-
- org.mule.metadata.api.annotation.LabelAnnotation
-
- All Implemented Interfaces:
TypeAnnotation
public class LabelAnnotation extends Object implements TypeAnnotation
Adds a label to the annotated type.
-
-
Constructor Summary
Constructors Constructor Description LabelAnnotation(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetName()A name of the annotationStringgetValue()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
-
LabelAnnotation
public LabelAnnotation(String value)
-
-
Method Detail
-
getValue
public String getValue()
-
getName
public String getName()
Description copied from interface:TypeAnnotationA name of the annotation- Specified by:
getNamein interfaceTypeAnnotation- Returns:
- The name
-
-