Record Class DataModelListView.NormalizedRelation
java.lang.Object
java.lang.Record
io.jmix.datatoolsflowui.view.datamodel.DataModelListView.NormalizedRelation
- Enclosing class:
DataModelListView
protected static record DataModelListView.NormalizedRelation(String entity1, String entity2, RelationType type, String dataStore)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNormalizedRelation(String entity1, String entity2, RelationType type, String dataStore) Creates an instance of aNormalizedRelationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataStorerecord component.entity1()Returns the value of theentity1record component.entity2()Returns the value of theentity2record component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.of(String source, String target, RelationType type, String dataStore) final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
NormalizedRelation
Creates an instance of aNormalizedRelationrecord class.- Parameters:
entity1- the value for theentity1record componententity2- the value for theentity2record componenttype- the value for thetyperecord componentdataStore- the value for thedataStorerecord component
-
-
Method Details
-
of
public static DataModelListView.NormalizedRelation of(String source, String target, RelationType type, String dataStore) -
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). -
entity1
Returns the value of theentity1record component.- Returns:
- the value of the
entity1record component
-
entity2
Returns the value of theentity2record component.- Returns:
- the value of the
entity2record component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
dataStore
Returns the value of thedataStorerecord component.- Returns:
- the value of the
dataStorerecord component
-