Package org.mule.metadata.api.annotation
Class FieldOccurrenceAnnotation
- java.lang.Object
-
- org.mule.metadata.api.annotation.FieldOccurrenceAnnotation
-
- All Implemented Interfaces:
TypeAnnotation
public class FieldOccurrenceAnnotation extends Object implements TypeAnnotation
Constrain for minimum and maximum repetitions of a field.
-
-
Constructor Summary
Constructors Constructor Description FieldOccurrenceAnnotation(Number min, Number max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Optional<? extends Number>getMax()Optional<? extends Number>getMin()StringgetName()A name of the annotationinthashCode()-
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
-
-