Class PropertyValuePropagation

  • Direct Known Subclasses:
    ReflectionPropagation

    public abstract class PropertyValuePropagation
    extends Object
    Abstract class for getting / setting value into the property.
    • Constructor Detail

      • PropertyValuePropagation

        protected PropertyValuePropagation​(Property property,
                                           javax.json.bind.config.PropertyVisibilityStrategy strategy)
        Construct a property propagation.
        Parameters:
        property - Provided property.
        strategy - Visibility strategy
    • Method Detail

      • isWritable

        public boolean isWritable()
        Property is writable. Based on access policy and java field modifiers.
        Returns:
        true if can be deserialized from JSON
      • isReadable

        public boolean isReadable()
        Property is readable. Based on access policy and java field modifiers.
        Returns:
        true if can be serialized to JSON
      • getField

        public Field getField()
        Field of a javabean property.
        Returns:
        field
      • getGetter

        public Method getGetter()
        Setter of a javabean property.
        Returns:
        getter
      • getSetter

        public Method getSetter()
        Getter of a javabean property.
        Returns:
        setter
      • isGetterVisible

        public boolean isGetterVisible()
      • isSetterVisible

        public boolean isSetterVisible()