Package org.apache.juneau.annotation
Class BeanAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationTBuilder
org.apache.juneau.annotation.BeanAnnotation.Builder
- Enclosing class:
BeanAnnotation
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates a new@Beanobject 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.Appends the classes that this annotation applies to.The targets this annotation applies to.Appends the classes that this annotation applies to.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.
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@Beanobject initialized with this builder.- Returns:
- A new
@Beanobject.
-
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.
-
on
Description copied from class:TargetedAnnotationBuilderThe targets this annotation applies to.- Overrides:
onin classTargetedAnnotationTBuilder- Parameters:
values- The targets this annotation applies to.- Returns:
- This object.
-
on
Description copied from class:TargetedAnnotationTBuilderAppends the classes that this annotation applies to.- Overrides:
onin classTargetedAnnotationTBuilder- Parameters:
value- The values to append.- Returns:
- This object.
-
onClass
Description copied from class:TargetedAnnotationTBuilderAppends the classes that this annotation applies to.- Overrides:
onClassin classTargetedAnnotationTBuilder- Parameters:
value- The values to append.- Returns:
- This object.
-