Package org.apache.juneau.annotation
Class BeanAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.annotation.AnnotationObject.Builder
org.apache.juneau.commons.annotation.AppliedAnnotationObject.Builder
org.apache.juneau.commons.annotation.AppliedAnnotationObject.BuilderT
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.description(String... value) Sets the description property on this annotation.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.Appends the classes that 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.Methods inherited from class org.apache.juneau.commons.annotation.AnnotationObject.Builder
getAnnotationType
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@Beanobject initialized with this builder.- Returns:
- A new
@Beanobject.
-
description
Sets the description property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This 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.
-
p
Sets theBean.p()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.
-
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:AppliedAnnotationObject.BuilderThe targets this annotation applies to.- Overrides:
onin classAppliedAnnotationObject.Builder- Parameters:
value- The targets this annotation applies to.- Returns:
- This object.
-
on
Description copied from class:AppliedAnnotationObject.BuilderTAppends the classes that this annotation applies to.- Overrides:
onin classAppliedAnnotationObject.BuilderT- Parameters:
value- The values to append.- Returns:
- This object.
-
onClass
Description copied from class:AppliedAnnotationObject.BuilderTAppends the classes that this annotation applies to.- Overrides:
onClassin classAppliedAnnotationObject.BuilderT- Parameters:
value- The values to append.- Returns:
- This object.
-
on
Description copied from class:AppliedAnnotationObject.BuilderTAppends the classes that this annotation applies to.- Overrides:
onin classAppliedAnnotationObject.BuilderT- Parameters:
value- The values to append.- Returns:
- This object.
-
onClass
Description copied from class:AppliedAnnotationObject.BuilderTAppends the classes that this annotation applies to.- Overrides:
onClassin classAppliedAnnotationObject.BuilderT- Parameters:
value- The values to append.- Returns:
- This object.
-