Package io.jmix.flowui.observation
Record Class FragmentLifecycleObservationInfo
java.lang.Object
java.lang.Record
io.jmix.flowui.observation.FragmentLifecycleObservationInfo
- Record Components:
fragmentId- id of the fragmentfragmentClass- FQN of the target fragment class
public record FragmentLifecycleObservationInfo(String fragmentId, String fragmentClass)
extends Record
POJO class for information about
Fragment that will be used for observation cardinalities.-
Constructor Summary
ConstructorsConstructorDescriptionFragmentLifecycleObservationInfo(Fragment<?> fragment) FragmentLifecycleObservationInfo(String fragmentId, String fragmentClass) Creates an instance of aFragmentLifecycleObservationInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefragmentClassrecord component.Returns the value of thefragmentIdrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FragmentLifecycleObservationInfo
-
FragmentLifecycleObservationInfo
Creates an instance of aFragmentLifecycleObservationInforecord class.- Parameters:
fragmentId- the value for thefragmentIdrecord componentfragmentClass- the value for thefragmentClassrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
fragmentId
Returns the value of thefragmentIdrecord component.- Returns:
- the value of the
fragmentIdrecord component
-
fragmentClass
Returns the value of thefragmentClassrecord component.- Returns:
- the value of the
fragmentClassrecord component
-