Package org.apache.juneau.annotation
Class SchemaAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationTBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationTMFBuilder<SchemaAnnotation.Builder>
org.apache.juneau.annotation.SchemaAnnotation.Builder
- Enclosing class:
- SchemaAnnotation
public static class SchemaAnnotation.Builder
extends TargetedAnnotationTMFBuilder<SchemaAnnotation.Builder>
Builder class.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSets theSchema._default()property on this annotation.Sets theSchema._enum()property on this annotation.Sets theSchema.$ref()property on this annotation.additionalProperties(String... value) Sets theSchema.additionalProperties()property on this annotation.aev(boolean value) Sets theSchema.aev()property on this annotation.Sets theSchema.allOf()property on this annotation.allowEmptyValue(boolean value) Sets theSchema.allowEmptyValue()property on this annotation.build()Instantiates a new@Schemaobject initialized with this builder.Sets theSchema.cf()property on this annotation.collectionFormat(String value) Sets theSchema.collectionFormat()property on this annotation.Sets theSchema.d()property on this annotation.Sets theSchema.df()property on this annotation.discriminator(String value) Sets theSchema.discriminator()property on this annotation.Sets theSchema.e()property on this annotation.emax(boolean value) Sets theSchema.emax()property on this annotation.emin(boolean value) Sets theSchema.emin()property on this annotation.exclusiveMaximum(boolean value) Sets theSchema.exclusiveMaximum()property on this annotation.exclusiveMinimum(boolean value) Sets theSchema.exclusiveMinimum()property on this annotation.externalDocs(ExternalDocs value) Sets theSchema.externalDocs()property on this annotation.Sets theSchema.f()property on this annotation.Sets theSchema.format()property on this annotation.ignore(boolean value) Sets theSchema.ignore()property on this annotation.Sets theSchema.items()property on this annotation.Sets theSchema.max()property on this annotation.maxi(long value) Sets theSchema.maxi()property on this annotation.Sets theSchema.maximum()property on this annotation.maxItems(long value) Sets theSchema.maxItems()property on this annotation.maxl(long value) Sets theSchema.maxl()property on this annotation.maxLength(long value) Sets theSchema.maxLength()property on this annotation.maxp(long value) Sets theSchema.maxp()property on this annotation.maxProperties(long value) Sets theSchema.maxProperties()property on this annotation.Sets theSchema.min()property on this annotation.mini(long value) Sets theSchema.mini()property on this annotation.Sets theSchema.minimum()property on this annotation.minItems(long value) Sets theSchema.minItems()property on this annotation.minl(long value) Sets theSchema.minl()property on this annotation.minLength(long value) Sets theSchema.minLength()property on this annotation.minp(long value) Sets theSchema.minp()property on this annotation.minProperties(long value) Sets theSchema.minProperties()property on this annotation.Sets theSchema.mo()property on this annotation.multipleOf(String value) Sets theSchema.multipleOf()property on this annotation.Sets theSchema.p()property on this annotation.Sets theSchema.pattern()property on this annotation.properties(String... value) Sets theSchema.properties()property on this annotation.r(boolean value) Sets theSchema.r()property on this annotation.readOnly(boolean value) Sets theSchema.readOnly()property on this annotation.required(boolean value) Sets theSchema.required()property on this annotation.ro(boolean value) Sets theSchema.ro()property on this annotation.sie(boolean value) Sets theSchema.sie()property on this annotation.skipIfEmpty(boolean value) Sets theSchema.skipIfEmpty()property on this annotation.Sets theSchema.t()property on this annotation.Sets theSchema.title()property on this annotation.Sets theSchema.type()property on this annotation.ui(boolean value) Sets theSchema.ui()property on this annotation.uniqueItems(boolean value) Sets theSchema.uniqueItems()property on this annotation.Sets theSchema.xml()property on this annotation.Methods inherited from class org.apache.juneau.annotation.TargetedAnnotationTMFBuilderon, onMethods inherited from class org.apache.juneau.annotation.TargetedAnnotationTBuilderon, onClassMethods inherited from class org.apache.juneau.annotation.TargetedAnnotationBuilderonMethods inherited from class org.apache.juneau.annotation.AnnotationBuilderasThis, description
- 
Constructor Details- 
Builderprotected Builder()Constructor.
 
- 
- 
Method Details- 
buildInstantiates a new@Schemaobject initialized with this builder.- Returns:
- A new @Schemaobject.
 
- 
_defaultSets theSchema._default()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
_enumSets theSchema._enum()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
$refSets theSchema.$ref()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
additionalPropertiesSets theSchema.additionalProperties()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
allOfSets theSchema.allOf()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
aevSets theSchema.aev()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
allowEmptyValueSets theSchema.allowEmptyValue()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
cfSets theSchema.cf()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
collectionFormatSets theSchema.collectionFormat()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
dSets theSchema.d()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
dfSets theSchema.df()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
discriminatorSets theSchema.discriminator()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
eSets theSchema.e()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
emaxSets theSchema.emax()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
eminSets theSchema.emin()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
exclusiveMaximumSets theSchema.exclusiveMaximum()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
exclusiveMinimumSets theSchema.exclusiveMinimum()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
externalDocsSets theSchema.externalDocs()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
fSets theSchema.f()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
formatSets theSchema.format()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
ignoreSets theSchema.ignore()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
itemsSets theSchema.items()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxSets theSchema.max()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxiSets theSchema.maxi()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maximumSets theSchema.maximum()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxItemsSets theSchema.maxItems()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxlSets theSchema.maxl()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxLengthSets theSchema.maxLength()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxpSets theSchema.maxp()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxPropertiesSets theSchema.maxProperties()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minSets theSchema.min()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
miniSets theSchema.mini()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minimumSets theSchema.minimum()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minItemsSets theSchema.minItems()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minlSets theSchema.minl()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minLengthSets theSchema.minLength()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minpSets theSchema.minp()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minPropertiesSets theSchema.minProperties()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
moSets theSchema.mo()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
multipleOfSets theSchema.multipleOf()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
pSets theSchema.p()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
patternSets theSchema.pattern()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
propertiesSets theSchema.properties()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
rSets theSchema.r()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
readOnlySets theSchema.readOnly()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
requiredSets theSchema.required()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
roSets theSchema.ro()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
sieSets theSchema.sie()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
skipIfEmptySets theSchema.skipIfEmpty()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
tSets theSchema.t()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
titleSets theSchema.title()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
typeSets theSchema.type()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
uiSets theSchema.ui()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
uniqueItemsSets theSchema.uniqueItems()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
xmlSets theSchema.xml()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
 
-