Package org.apache.juneau.annotation
Class SubItemsAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.annotation.AnnotationObject.Builder
org.apache.juneau.annotation.SubItemsAnnotation.Builder
- Enclosing class:
- SubItemsAnnotation
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the$ref property on this annotation.build()Instantiates a new@SubItemsobject initialized with this builder.Sets thecf property on this annotation.collectionFormat(String value) Sets thecollectionFormat property on this annotation.Sets thedefault_ property on this annotation.description(String... value) Sets the description property on this annotation.Sets thedf property on this annotation.Sets thee property on this annotation.emax(boolean value) Sets theemax property on this annotation.emin(boolean value) Sets theemin property on this annotation.Sets theenum_ property on this annotation.exclusiveMaximum(boolean value) Sets theexclusiveMaximum property on this annotation.exclusiveMinimum(boolean value) Sets theexclusiveMinimum property on this annotation.Sets thef property on this annotation.Sets theformat property on this annotation.Sets theitems property on this annotation.Sets themax property on this annotation.maxi(long value) Sets themaxi property on this annotation.Sets themaximum property on this annotation.maxItems(long value) Sets themaxItems property on this annotation.maxl(long value) Sets themaxl property on this annotation.maxLength(long value) Sets themaxLength property on this annotation.Sets themin property on this annotation.mini(long value) Sets themini property on this annotation.Sets theminimum property on this annotation.minItems(long value) Sets theminItems property on this annotation.minl(long value) Sets theminl property on this annotation.minLength(long value) Sets theminLength property on this annotation.Sets themo property on this annotation.multipleOf(String value) Sets themultipleOf property on this annotation.Sets thep property on this annotation.Sets thepattern property on this annotation.Sets thet property on this annotation.Sets thetype property on this annotation.ui(boolean value) Sets theui property on this annotation.uniqueItems(boolean value) Sets theuniqueItems property on this annotation.Methods inherited from class org.apache.juneau.commons.annotation.AnnotationObject.Builder
getAnnotationType
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
default_
Sets thedefault_ property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
enum_
Sets theenum_ property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
$ref
Sets the$ref property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
build
Instantiates a new@SubItemsobject initialized with this builder.- Returns:
- A new
@SubItemsobject.
-
description
Sets the description property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
cf
Sets thecf property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
collectionFormat
Sets thecollectionFormat property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
df
Sets thedf property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
e
Sets thee property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
emax
Sets theemax property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
emin
Sets theemin property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
exclusiveMaximum
Sets theexclusiveMaximum property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
exclusiveMinimum
Sets theexclusiveMinimum property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
f
Sets thef property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
format
Sets theformat property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
items
Sets theitems property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
max
Sets themax property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
maxi
Sets themaxi property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
maximum
Sets themaximum property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
maxItems
Sets themaxItems property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
maxl
Sets themaxl property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
maxLength
Sets themaxLength property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
min
Sets themin property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
mini
Sets themini property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
minimum
Sets theminimum property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
minItems
Sets theminItems property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
minl
Sets theminl property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
minLength
Sets theminLength property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
mo
Sets themo property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
multipleOf
Sets themultipleOf property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
p
Sets thep property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
pattern
Sets thepattern property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
t
Sets thet property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
type
Sets thetype property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
ui
Sets theui property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
uniqueItems
Sets theuniqueItems property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-