Package org.mule.metadata.api.annotation
Class NumberRangeAnnotation
- java.lang.Object
-
- org.mule.metadata.api.annotation.NumberRangeAnnotation
-
- All Implemented Interfaces:
TypeAnnotation
public class NumberRangeAnnotation extends Object implements TypeAnnotation
Constrain for number specifying the range where this number is valid.
-
-
Constructor Summary
Constructors Constructor Description NumberRangeAnnotation(Number from, Number to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Optional<Number>getFrom()StringgetName()A name of the annotationOptional<Number>getTo()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
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:TypeAnnotationA name of the annotation- Specified by:
getNamein interfaceTypeAnnotation- Returns:
- The name
-
-