Class ClassCustomization

    • Constructor Detail

      • ClassCustomization

        public ClassCustomization​(ClassCustomization other)
        Copy constructor.
        Parameters:
        other - other customization instance
    • Method Detail

      • getPropertyOrder

        public String[] getPropertyOrder()
        Names of properties to sort with.
        Returns:
        sorted names of properties
      • setPropertyOrder

        public void setPropertyOrder​(String[] propertyOrder)
        Sets sorted properties.
        Parameters:
        propertyOrder - sorted names of properties
      • getSerializeDateFormatter

        public JsonbDateFormatter getSerializeDateFormatter()
        Description copied from interface: Customization
        Date formatter for formatting date values during serialization process. It could be the same formatter instance used for deserialization (returned by Customization.getDeserializeDateFormatter(). If not set, defaulted to javax.json.bind.annotation.JsonbDateFormat.DEFAULT_FORMAT.
        Returns:
        date formatter
      • getDeserializeDateFormatter

        public JsonbDateFormatter getDeserializeDateFormatter()
        Description copied from interface: Customization
        Date formatter for formatting date values during deserialization process. It could be the same formatter instance used for serialization (returned by Customization.getSerializeDateFormatter(). If not set, defaulted to javax.json.bind.annotation.JsonbDateFormat.DEFAULT_FORMAT.
        Returns:
        date formatter
      • isNillable

        public boolean isNillable()
        Returns true if nillable customization is present.
        Specified by:
        isNillable in interface Customization
        Returns:
        True if nillable customization is present.