ComponentBoundCustomization, Customizationpublic class PropertyCustomization extends Object
| Constructor | Description |
|---|---|
PropertyCustomization(PropertyCustomizationBuilder builder) |
Copies properties from builder an creates immutable instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
AdapterBinding |
getAdapterBinding() |
Adapter wrapper class with resolved generic information.
|
JsonbDateFormatter |
getDeserializeDateFormatter() |
Date formatter for formatting date values during deserialization process.
|
JsonbNumberFormatter |
getDeserializeNumberFormatter() |
Number formatter for formatting numbers during deserialization process.
|
DeserializerBinding |
getDeserializerBinding() |
Deserializer wrapper with resolved generic info.
|
Class |
getImplementationClass() |
Implementation class if property is interface type.
|
String |
getJsonReadName() |
Name if specified for property setter with
JsonbProperty. |
String |
getJsonWriteName() |
Name if specified for property getter with
JsonbProperty. |
JsonbDateFormatter |
getSerializeDateFormatter() |
Date formatter for formatting date values during serialization process.
|
JsonbNumberFormatter |
getSerializeNumberFormatter() |
Number formatter for formatting numbers during serialization process.
|
SerializerBinding |
getSerializerBinding() |
Serializer wrapper with resolved generic info.
|
boolean |
isNillable() |
Returns true if nillable customization is present.
|
boolean |
isReadTransient() |
The flag indicating whether the value of the underlying type/property should be processed during serialization process or not.
|
boolean |
isWriteTransient() |
The flag indicating whether the value of the underlying type/property should be processed during deserialization process or not.
|
public PropertyCustomization(PropertyCustomizationBuilder builder)
builder - not nullpublic String getJsonReadName()
JsonbProperty.public String getJsonWriteName()
JsonbProperty.public JsonbNumberFormatter getSerializeNumberFormatter()
CustomizationCustomization.getDeserializeNumberFormatter()public JsonbNumberFormatter getDeserializeNumberFormatter()
CustomizationCustomization.getSerializeNumberFormatter()public JsonbDateFormatter getSerializeDateFormatter()
CustomizationCustomization.getDeserializeDateFormatter(). If not set, defaulted to javax.json.bind.annotation.JsonbDateFormat.DEFAULT_FORMAT.
public JsonbDateFormatter getDeserializeDateFormatter()
CustomizationCustomization.getSerializeDateFormatter(). If not set, defaulted to javax.json.bind.annotation.JsonbDateFormat.DEFAULT_FORMAT.
public boolean isReadTransient()
public boolean isWriteTransient()
public Class getImplementationClass()
public boolean isNillable()
isNillable in interface Customizationpublic AdapterBinding getAdapterBinding()
getAdapterBinding in interface ComponentBoundCustomizationpublic SerializerBinding getSerializerBinding()
getSerializerBinding in interface ComponentBoundCustomizationpublic DeserializerBinding getDeserializerBinding()
getDeserializerBinding in interface ComponentBoundCustomizationCopyright © 2018 Oracle Corporation. All rights reserved.