java.lang.Object
com.vaadin.kubernetes.starter.sessiontracker.serialization.TransientDescriptor
All Implemented Interfaces:
Serializable

public final class TransientDescriptor extends Object implements Serializable
Holds transient field details and a symbolic reference to the actual value.
See Also:
  • Constructor Details

    • TransientDescriptor

      public TransientDescriptor(Field field, String reference)
    • TransientDescriptor

      public TransientDescriptor(Field field, String reference, boolean vaadinScoped)
  • Method Details

    • getDeclaringClass

      public Class<?> getDeclaringClass()
      Gets the class that declares the transient field. Gets the Class object representing the class or interface that declares the transient field.
      Returns:
      transient field declaring class.
    • getType

      public Class<?> getType()
      Gets the Class object that identifies the declared type for the transient field.
      Returns:
      transient field type
    • getName

      public String getName()
      Gets the name of the transient field.
      Returns:
      the name of the transient field
    • getInstanceReference

      public String getInstanceReference()
      Returns the reference to the field instance value. The reference syntax depends on the TransientHandler that created this descriptor instance. For example, for Spring it may be the name of a managed bean.
      Returns:
      the reference to the field instance value
    • getField

      public Field getField()
      Gets the Field object for the transient field.
      Returns:
      the Field object for the transient field.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object