Package org.apache.juneau.annotation
Class BeanAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationTBuilder<BeanAnnotation.Builder>
org.apache.juneau.annotation.BeanAnnotation.Builder
- Enclosing class:
- BeanAnnotation
public static class BeanAnnotation.Builder
extends TargetedAnnotationTBuilder<BeanAnnotation.Builder>
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Instantiates a new@Bean
object initialized with this builder.dictionary
(Class<?>... value) Sets theBean.dictionary()
property on this annotation.Sets theBean.example()
property on this annotation.excludeProperties
(String value) Sets theBean.excludeProperties()
property on this annotation.findFluentSetters
(boolean value) Sets theBean.findFluentSetters()
property on this annotation.Sets theBean.implClass()
property on this annotation.interceptor
(Class<? extends BeanInterceptor<?>> value) Sets theBean.interceptor()
property on this annotation.interfaceClass
(Class<?> value) Sets theBean.interfaceClass()
property on this annotation.Sets theBean.p()
property on this annotation.properties
(String value) Sets theBean.properties()
property on this annotation.propertyNamer
(Class<? extends PropertyNamer> value) Sets theBean.propertyNamer()
property on this annotation.readOnlyProperties
(String value) Sets theBean.readOnlyProperties()
property on this annotation.Sets theBean.ro()
property on this annotation.sort
(boolean value) Sets theBean.sort()
property on this annotation.Sets theBean.stopClass()
property on this annotation.Sets theBean.typeName()
property on this annotation.typePropertyName
(String value) Sets theBean.typePropertyName()
property on this annotation.Sets theBean.wo()
property on this annotation.writeOnlyProperties
(String value) Sets theBean.writeOnlyProperties()
property on this annotation.Sets theBean.xp()
property on this annotation.Methods inherited from class org.apache.juneau.annotation.TargetedAnnotationTBuilder
on, onClass
Methods inherited from class org.apache.juneau.annotation.TargetedAnnotationBuilder
on
Methods inherited from class org.apache.juneau.annotation.AnnotationBuilder
asThis, description
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@Bean
object initialized with this builder.- Returns:
- A new
@Bean
object.
-
dictionary
Sets theBean.dictionary()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
example
Sets theBean.example()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
excludeProperties
Sets theBean.excludeProperties()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
findFluentSetters
Sets theBean.findFluentSetters()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
implClass
Sets theBean.implClass()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
interceptor
Sets theBean.interceptor()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
interfaceClass
Sets theBean.interfaceClass()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
properties
Sets theBean.properties()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
p
Sets theBean.p()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
propertyNamer
Sets theBean.propertyNamer()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
readOnlyProperties
Sets theBean.readOnlyProperties()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
ro
Sets theBean.ro()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
sort
Sets theBean.sort()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
stopClass
Sets theBean.stopClass()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
typeName
Sets theBean.typeName()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
typePropertyName
Sets theBean.typePropertyName()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
wo
Sets theBean.wo()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
writeOnlyProperties
Sets theBean.writeOnlyProperties()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
xp
Sets theBean.xp()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-