Package org.apache.juneau.annotation
Class ItemsAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.annotation.ItemsAnnotation.Builder
- Enclosing class:
ItemsAnnotation
Builder class.
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets theItems._default()
property on this annotation.Sets theItems._enum()
property on this annotation.Sets theItems.$ref()
property on this annotation.build()
Instantiates a new@Items
object initialized with this builder.Sets theItems.cf()
property on this annotation.collectionFormat
(String value) Sets theItems.collectionFormat()
property on this annotation.Sets theItems.df()
property on this annotation.Sets theItems.e()
property on this annotation.emax
(boolean value) Sets theItems.emax()
property on this annotation.emin
(boolean value) Sets theItems.emin()
property on this annotation.exclusiveMaximum
(boolean value) Sets theItems.exclusiveMaximum()
property on this annotation.exclusiveMinimum
(boolean value) Sets theItems.exclusiveMinimum()
property on this annotation.Sets theItems.f()
property on this annotation.Sets theItems.format()
property on this annotation.Sets theItems.items()
property on this annotation.Sets theItems.max()
property on this annotation.maxi
(long value) Sets theItems.maxi()
property on this annotation.Sets theItems.maximum()
property on this annotation.maxItems
(long value) Sets theItems.maxItems()
property on this annotation.maxl
(long value) Sets theItems.maxl()
property on this annotation.maxLength
(long value) Sets theItems.maxLength()
property on this annotation.Sets theItems.min()
property on this annotation.mini
(long value) Sets theItems.mini()
property on this annotation.Sets theItems.minimum()
property on this annotation.minItems
(long value) Sets theItems.minItems()
property on this annotation.minl
(long value) Sets theItems.minl()
property on this annotation.minLength
(long value) Sets theItems.minLength()
property on this annotation.Sets theItems.mo()
property on this annotation.multipleOf
(String value) Sets theItems.multipleOf()
property on this annotation.Sets theItems.p()
property on this annotation.Sets theItems.pattern()
property on this annotation.Sets theItems.t()
property on this annotation.Sets theItems.type()
property on this annotation.ui
(boolean value) Sets theItems.ui()
property on this annotation.uniqueItems
(boolean value) Sets theItems.uniqueItems()
property on this annotation.
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@Items
object initialized with this builder.- Returns:
- A new
@Items
object.
-
_default
Sets theItems._default()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
_enum
Sets theItems._enum()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
$ref
Sets theItems.$ref()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
cf
Sets theItems.cf()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
collectionFormat
Sets theItems.collectionFormat()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
df
Sets theItems.df()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
e
Sets theItems.e()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
emax
Sets theItems.emax()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
emin
Sets theItems.emin()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
exclusiveMaximum
Sets theItems.exclusiveMaximum()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
exclusiveMinimum
Sets theItems.exclusiveMinimum()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
f
Sets theItems.f()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
format
Sets theItems.format()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
items
Sets theItems.items()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
max
Sets theItems.max()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
maxi
Sets theItems.maxi()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
maximum
Sets theItems.maximum()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
maxItems
Sets theItems.maxItems()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
maxl
Sets theItems.maxl()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
maxLength
Sets theItems.maxLength()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
min
Sets theItems.min()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
mini
Sets theItems.mini()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
minimum
Sets theItems.minimum()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
minItems
Sets theItems.minItems()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
minl
Sets theItems.minl()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
minLength
Sets theItems.minLength()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
mo
Sets theItems.mo()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
multipleOf
Sets theItems.multipleOf()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
p
Sets theItems.p()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
pattern
Sets theItems.pattern()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
t
Sets theItems.t()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
type
Sets theItems.type()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
ui
Sets theItems.ui()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
uniqueItems
Sets theItems.uniqueItems()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-