Package org.apache.juneau.commons.bean
Class BeanPropAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.AnnotationObject.Builder
org.apache.juneau.commons.bean.BeanPropAnnotation.Builder
- Enclosing class:
- BeanPropAnnotation
Builder class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates a new@BeanPropobject initialized with this builder.description(String... value) Sets the description property on this annotation.elementType(Class<?> value) Sets theBeanProp.elementType()property on this annotation.factory(Class<? extends BeanFactory> value) Sets theBeanProp.factory()property on this annotation.Sets theBeanProp.name()property on this annotation.Sets theBeanProp.params()property on this annotation.required(boolean value) Sets theBeanProp.required()property on this annotation.Sets theBeanProp.ro()property on this annotation.Sets theBeanProp.summary()property on this annotation.Sets theBeanProp.type()property on this annotation.Sets theBeanProp.value()property on this annotation.Sets theBeanProp.wo()property on this annotation.Methods inherited from class org.apache.juneau.commons.AnnotationObject.Builder
getAnnotationType
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@BeanPropobject initialized with this builder.- Returns:
- A new
@BeanPropobject.
-
description
Sets the description property on this annotation.- Parameters:
value- The new value for this property. Can benull (stored as-is, with no default substitution).- Returns:
- This object.
-
elementType
Sets theBeanProp.elementType()property on this annotation.- Parameters:
value- The new value for this property. Can benull (stored as-is, with no default substitution).- Returns:
- This object.
-
factory
Sets theBeanProp.factory()property on this annotation.- Parameters:
value- The new value for this property. Can benull (stored as-is, with no default substitution).- Returns:
- This object.
-
name
Sets theBeanProp.name()property on this annotation.- Parameters:
value- The new value for this property. Can benull (stored as-is, with no default substitution).- Returns:
- This object.
-
params
Sets theBeanProp.params()property on this annotation.- Parameters:
value- The new value for this property. Can benull (stored as-is, with no default substitution).- Returns:
- This object.
-
required
Sets theBeanProp.required()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
ro
Sets theBeanProp.ro()property on this annotation.- Parameters:
value- The new value for this property. Can benull (stored as-is, with no default substitution).- Returns:
- This object.
-
summary
Sets theBeanProp.summary()property on this annotation.- Parameters:
value- The new value for this property. Can benull (stored as-is, with no default substitution).- Returns:
- This object.
- Since:
- 10.0.0
-
type
Sets theBeanProp.type()property on this annotation.- Parameters:
value- The new value for this property. Can benull (stored as-is, with no default substitution).- Returns:
- This object.
-
value
Sets theBeanProp.value()property on this annotation.- Parameters:
value- The new value for this property. Can benull (stored as-is, with no default substitution).- Returns:
- This object.
-
wo
Sets theBeanProp.wo()property on this annotation.- Parameters:
value- The new value for this property. Can benull (stored as-is, with no default substitution).- Returns:
- This object.
-