Package org.apache.juneau.marshall
Class MarshalledAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.AnnotationObject.Builder
org.apache.juneau.marshall.MarshalledAnnotation.Builder
- Enclosing class:
- MarshalledAnnotation
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionas(MarshalledAs value) Sets theMarshalled.as()property on this annotation.bigNumberFormat(BigNumberFormat value) Sets theMarshalled.bigNumberFormat()property on this annotation.binaryFormat(BinaryFormat value) Sets theMarshalled.binaryFormat()property on this annotation.bitSetFormat(BitSetFormat value) Sets theMarshalled.bitSetFormat()property on this annotation.booleanFormat(BooleanFormat value) Sets theMarshalled.booleanFormat()property on this annotation.build()Instantiates a new@Marshalledobject initialized with this builder.calendarFormat(CalendarFormat value) Sets theMarshalled.calendarFormat()property on this annotation.classFormat(ClassFormat value) Sets theMarshalled.classFormat()property on this annotation.currencyFormat(CurrencyFormat value) Sets theMarshalled.currencyFormat()property on this annotation.dateFormat(DateFormat value) Sets theMarshalled.dateFormat()property on this annotation.description(String... value) Sets the description property on this annotation.dictionary(Class<?>... value) Sets theMarshalled.dictionary()property on this annotation.durationFormat(DurationFormat value) Sets theMarshalled.durationFormat()property on this annotation.enumFormat(EnumFormat value) Sets theMarshalled.enumFormat()property on this annotation.Sets theMarshalled.example()property on this annotation.floatFormat(FloatFormat value) Sets theMarshalled.floatFormat()property on this annotation.Sets theMarshalled.implClass()property on this annotation.interceptor(Class<? extends BeanInterceptor<?>> value) Sets theMarshalled.interceptor()property on this annotation.localeFormat(LocaleFormat value) Sets theMarshalled.localeFormat()property on this annotation.periodFormat(PeriodFormat value) Sets theMarshalled.periodFormat()property on this annotation.Sets theMarshalled.summary()property on this annotation.temporalFormat(TemporalFormat value) Sets theMarshalled.temporalFormat()property on this annotation.timeZoneFormat(TimeZoneFormat value) Sets theMarshalled.timeZoneFormat()property on this annotation.Sets theMarshalled.typeName()property on this annotation.typePropertyName(String value) Sets theMarshalled.typePropertyName()property on this annotation.uuidFormat(UuidFormat value) Sets theMarshalled.uuidFormat()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@Marshalledobject initialized with this builder.- Returns:
- A new
@Marshalledobject.
-
as
Sets theMarshalled.as()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
description
Sets the description property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
dictionary
Sets theMarshalled.dictionary()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
durationFormat
Sets theMarshalled.durationFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
example
Sets theMarshalled.example()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
periodFormat
Sets theMarshalled.periodFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
calendarFormat
Sets theMarshalled.calendarFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
dateFormat
Sets theMarshalled.dateFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
temporalFormat
Sets theMarshalled.temporalFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
timeZoneFormat
Sets theMarshalled.timeZoneFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
localeFormat
Sets theMarshalled.localeFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
binaryFormat
Sets theMarshalled.binaryFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
enumFormat
Sets theMarshalled.enumFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
uuidFormat
Sets theMarshalled.uuidFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
bitSetFormat
Sets theMarshalled.bitSetFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
bigNumberFormat
Sets theMarshalled.bigNumberFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
booleanFormat
Sets theMarshalled.booleanFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
floatFormat
Sets theMarshalled.floatFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
currencyFormat
Sets theMarshalled.currencyFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
classFormat
Sets theMarshalled.classFormat()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
implClass
Sets theMarshalled.implClass()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
interceptor
Sets theMarshalled.interceptor()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
summary
Sets theMarshalled.summary()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
- Since:
- 10.0.0
-
typeName
Sets theMarshalled.typeName()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
typePropertyName
Sets theMarshalled.typePropertyName()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-