Package io.jmix.flowui.observation
Record Class DataLoaderObservationInfo
java.lang.Object
java.lang.Record
io.jmix.flowui.observation.DataLoaderObservationInfo
- Record Components:
viewId- id of the enclosingView, ornullif not resolvableloaderId- id of the target data loaderfragmentId- id of the enclosingFragmentwhen the loader lives inside a fragment,nullfor loaders attached directly to a view
public record DataLoaderObservationInfo(@Nullable String viewId, @Nullable String loaderId, @Nullable String fragmentId)
extends Record
Info about a
DataLoader used as low-cardinality tags of the jmix.ui.data
Observation metric.-
Constructor Summary
ConstructorsConstructorDescriptionDataLoaderObservationInfo(@Nullable String viewId, @Nullable String loaderId, @Nullable String fragmentId) Creates an instance of aDataLoaderObservationInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataLoaderObservationInfoempty()Returns a stub object with null values.final booleanIndicates whether some other object is "equal to" this one.@Nullable StringReturns the value of thefragmentIdrecord component.final inthashCode()Returns a hash code value for this object.@Nullable StringloaderId()Returns the value of theloaderIdrecord component.final StringtoString()Returns a string representation of this record class.@Nullable StringviewId()Returns the value of theviewIdrecord component.
-
Constructor Details
-
DataLoaderObservationInfo
public DataLoaderObservationInfo(@Nullable String viewId, @Nullable String loaderId, @Nullable String fragmentId) Creates an instance of aDataLoaderObservationInforecord class.- Parameters:
viewId- the value for theviewIdrecord componentloaderId- the value for theloaderIdrecord componentfragmentId- the value for thefragmentIdrecord component
-
-
Method Details
-
empty
Returns a stub object with null values. Observation will not be created from this info. -
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). -
viewId
Returns the value of theviewIdrecord component.- Returns:
- the value of the
viewIdrecord component
-
loaderId
Returns the value of theloaderIdrecord component.- Returns:
- the value of the
loaderIdrecord component
-
fragmentId
Returns the value of thefragmentIdrecord component.- Returns:
- the value of the
fragmentIdrecord component
-