Package app.ductape.sdk.database.types
Record Class PreSaveTypes.AppliedOperation
java.lang.Object
java.lang.Record
app.ductape.sdk.database.types.PreSaveTypes.AppliedOperation
- Enclosing class:
- PreSaveTypes
public static record PreSaveTypes.AppliedOperation(String field, PreSaveTypes.PreSaveOperationType operation, boolean applied, String skippedReason)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAppliedOperation(String field, PreSaveTypes.PreSaveOperationType operation, boolean applied, String skippedReason) Creates an instance of aAppliedOperationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplied()Returns the value of theappliedrecord component.final booleanIndicates whether some other object is "equal to" this one.field()Returns the value of thefieldrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoperationrecord component.Returns the value of theskippedReasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AppliedOperation
public AppliedOperation(String field, PreSaveTypes.PreSaveOperationType operation, boolean applied, String skippedReason) Creates an instance of aAppliedOperationrecord class.- Parameters:
field- the value for thefieldrecord componentoperation- the value for theoperationrecord componentapplied- the value for theappliedrecord componentskippedReason- the value for theskippedReasonrecord 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 '=='. -
field
Returns the value of thefieldrecord component.- Returns:
- the value of the
fieldrecord component
-
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
applied
public boolean applied()Returns the value of theappliedrecord component.- Returns:
- the value of the
appliedrecord component
-
skippedReason
Returns the value of theskippedReasonrecord component.- Returns:
- the value of the
skippedReasonrecord component
-