Record Class FieldConfigurationData
java.lang.Object
java.lang.Record
org.apache.fineract.portfolio.address.data.FieldConfigurationData
- All Implemented Interfaces:
Serializable
public record FieldConfigurationData(Long fieldConfigurationId, String entity, String subentity, String field, boolean isEnabled, boolean isMandatory, String validationRegex)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentity()Returns the value of theentityrecord component.final booleanIndicates whether some other object is "equal to" this one.field()Returns the value of thefieldrecord component.Returns the value of thefieldConfigurationIdrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisEnabledrecord component.booleanReturns the value of theisMandatoryrecord component.Returns the value of thesubentityrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalidationRegexrecord component.
-
Constructor Details
-
FieldConfigurationData
public FieldConfigurationData(Long fieldConfigurationId, String entity, String subentity, String field, boolean isEnabled, boolean isMandatory, String validationRegex) Creates an instance of aFieldConfigurationDatarecord class.- Parameters:
fieldConfigurationId- the value for thefieldConfigurationIdrecord componententity- the value for theentityrecord componentsubentity- the value for thesubentityrecord componentfield- the value for thefieldrecord componentisEnabled- the value for theisEnabledrecord componentisMandatory- the value for theisMandatoryrecord componentvalidationRegex- the value for thevalidationRegexrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
fieldConfigurationId
Returns the value of thefieldConfigurationIdrecord component.- Returns:
- the value of the
fieldConfigurationIdrecord component
-
entity
Returns the value of theentityrecord component.- Returns:
- the value of the
entityrecord component
-
subentity
Returns the value of thesubentityrecord component.- Returns:
- the value of the
subentityrecord component
-
field
Returns the value of thefieldrecord component.- Returns:
- the value of the
fieldrecord component
-
isEnabled
public boolean isEnabled()Returns the value of theisEnabledrecord component.- Returns:
- the value of the
isEnabledrecord component
-
isMandatory
public boolean isMandatory()Returns the value of theisMandatoryrecord component.- Returns:
- the value of the
isMandatoryrecord component
-
validationRegex
Returns the value of thevalidationRegexrecord component.- Returns:
- the value of the
validationRegexrecord component
-