Record Class ReconciliationRules.MatchingAttributeData
java.lang.Object
java.lang.Record
com.sath.idhub.util.ReconciliationRules.MatchingAttributeData
- Enclosing class:
ReconciliationRules
public static record ReconciliationRules.MatchingAttributeData(String attributeName, boolean accountKey, boolean userKey, boolean required, ReconciliationRules.Mutability mutability)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMatchingAttributeData(String attributeName, boolean accountKey, boolean userKey, boolean required, ReconciliationRules.Mutability mutability) Creates an instance of aMatchingAttributeDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theaccountKeyrecord component.Returns the value of theattributeNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themutabilityrecord component.booleanrequired()Returns the value of therequiredrecord component.final StringtoString()Returns a string representation of this record class.booleanuserKey()Returns the value of theuserKeyrecord component.
-
Constructor Details
-
MatchingAttributeData
public MatchingAttributeData(String attributeName, boolean accountKey, boolean userKey, boolean required, ReconciliationRules.Mutability mutability) Creates an instance of aMatchingAttributeDatarecord class.- Parameters:
attributeName- the value for theattributeNamerecord componentaccountKey- the value for theaccountKeyrecord componentuserKey- the value for theuserKeyrecord componentrequired- the value for therequiredrecord componentmutability- the value for themutabilityrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
attributeName
Returns the value of theattributeNamerecord component.- Returns:
- the value of the
attributeNamerecord component
-
accountKey
public boolean accountKey()Returns the value of theaccountKeyrecord component.- Returns:
- the value of the
accountKeyrecord component
-
userKey
public boolean userKey()Returns the value of theuserKeyrecord component.- Returns:
- the value of the
userKeyrecord component
-
required
public boolean required()Returns the value of therequiredrecord component.- Returns:
- the value of the
requiredrecord component
-
mutability
Returns the value of themutabilityrecord component.- Returns:
- the value of the
mutabilityrecord component
-