public class PropertyCustomization extends Customization
| Constructor | Description |
|---|---|
PropertyCustomization(PropertyCustomizationBuilder builder) |
Copies properties from builder an creates immutable instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
JsonbDateFormatter |
getDeserializeDateFormatter() |
Date formatter for formatting date values during deserialization process.
|
JsonbNumberFormatter |
getDeserializeNumberFormatter() |
Number formatter for formatting numbers during deserialization process.
|
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.
|
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.
|
getAdapterBinding, getDeserializerBinding, getSerializerBinding, isNillablepublic PropertyCustomization(PropertyCustomizationBuilder builder)
builder - not nullpublic String getJsonReadName()
JsonbProperty.public String getJsonWriteName()
JsonbProperty.public JsonbNumberFormatter getSerializeNumberFormatter()
CustomizationCustomization.getDeserializeNumberFormatter()getSerializeNumberFormatter in class Customizationpublic JsonbNumberFormatter getDeserializeNumberFormatter()
CustomizationCustomization.getSerializeNumberFormatter()getDeserializeNumberFormatter in class Customizationpublic JsonbDateFormatter getSerializeDateFormatter()
CustomizationCustomization.getDeserializeDateFormatter(). If not set, defaulted to javax.json.bind.annotation.JsonbDateFormat.DEFAULT_FORMAT.
getSerializeDateFormatter in class Customizationpublic JsonbDateFormatter getDeserializeDateFormatter()
CustomizationCustomization.getSerializeDateFormatter(). If not set, defaulted to javax.json.bind.annotation.JsonbDateFormat.DEFAULT_FORMAT.
getDeserializeDateFormatter in class Customizationpublic boolean isReadTransient()
public boolean isWriteTransient()
Copyright © 2017 Oracle Corporation. All rights reserved.