Class TransientDescriptor
java.lang.Object
com.vaadin.kubernetes.starter.sessiontracker.serialization.TransientDescriptor
- All Implemented Interfaces:
Serializable
Holds transient field details and a symbolic reference to the actual value.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransientDescriptor(Field field, String reference) TransientDescriptor(Field field, String reference, boolean vaadinScoped) -
Method Summary
Modifier and TypeMethodDescriptionbooleanClass<?>Gets the class that declares the transient field.getField()Gets the Field object for the transient field.Returns the reference to the field instance value.getName()Gets the name of the transient field.Class<?>getType()Gets the Class object that identifies the declared type for the transient field.inthashCode()toString()
-
Constructor Details
-
TransientDescriptor
-
TransientDescriptor
-
-
Method Details
-
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
Gets the Class object that identifies the declared type for the transient field.- Returns:
- transient field type
-
getName
Gets the name of the transient field.- Returns:
- the name of the transient field
-
getInstanceReference
Returns the reference to the field instance value. The reference syntax depends on theTransientHandlerthat 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
Gets the Field object for the transient field.- Returns:
- the Field object for the transient field.
-
equals
-
hashCode
public int hashCode() -
toString
-