Class UpdateField<T>

  • Type Parameters:
    T - The type of the value to be stored in the update field.
    All Implemented Interfaces:
    Serializable

    public class UpdateField<T>
    extends Object
    implements Serializable
    Represents a field that is updated within a resource.

    This class is used to encapsulate the value of a specific field that needs to be updated in a resource. It allows any type of value to be set and retrieved, as it is a generic class.

    Author:
    nikritikos
    See Also:
    Serialized Form
    • Constructor Detail

      • UpdateField

        public UpdateField()
    • Method Detail

      • getValue

        public T getValue()
        Gets the value of the update field.
        Returns:
        The value to be updated.
      • setValue

        public void setValue​(T value)
        Sets the value of the update field.
        Parameters:
        value - The value to be set in the update field.
      • toString

        public String toString()
        Returns a string representation of the update field's value.
        Overrides:
        toString in class Object
        Returns:
        A string representing the value of the update field.