Package guru.interlis.convconf.lm
Record Class JoinDecl
java.lang.Object
java.lang.Record
guru.interlis.convconf.lm.JoinDecl
public record JoinDecl(String joinType, String sourceName, String leftColumn, String rightColumn)
extends Record
JOIN declaration for LM source composition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.joinType()Returns the value of thejoinTyperecord component.Returns the value of theleftColumnrecord component.Returns the value of therightColumnrecord component.Returns the value of thesourceNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JoinDecl
Creates an instance of aJoinDeclrecord class.- Parameters:
joinType- the value for thejoinTyperecord componentsourceName- the value for thesourceNamerecord componentleftColumn- the value for theleftColumnrecord componentrightColumn- the value for therightColumnrecord 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). -
joinType
Returns the value of thejoinTyperecord component.- Returns:
- the value of the
joinTyperecord component
-
sourceName
Returns the value of thesourceNamerecord component.- Returns:
- the value of the
sourceNamerecord component
-
leftColumn
Returns the value of theleftColumnrecord component.- Returns:
- the value of the
leftColumnrecord component
-
rightColumn
Returns the value of therightColumnrecord component.- Returns:
- the value of the
rightColumnrecord component
-