Package org.apache.fineract.avro.loan.v1
Class LoanTransactionAdjustmentDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanTransactionAdjustmentDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanTransactionAdjustmentDataV1>
org.apache.fineract.avro.loan.v1.LoanTransactionAdjustmentDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanTransactionAdjustmentDataV1>
- Enclosing class:
LoanTransactionAdjustmentDataV1
public static class LoanTransactionAdjustmentDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanTransactionAdjustmentDataV1>
implements org.apache.avro.data.RecordBuilder<LoanTransactionAdjustmentDataV1>
RecordBuilder for LoanTransactionAdjustmentDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'customData' field.Clears the value of the 'newTransactionDetail' field.Clears the value of the 'transactionToAdjust' field.Gets the value of the 'customData' field.Gets the value of the 'newTransactionDetail' field.Gets the Builder instance for the 'newTransactionDetail' field and creates one if it doesn't exist yet.Gets the value of the 'transactionToAdjust' field.Gets the Builder instance for the 'transactionToAdjust' field and creates one if it doesn't exist yet.booleanChecks whether the 'customData' field has been set.booleanChecks whether the 'newTransactionDetail' field has been set.booleanChecks whether the 'newTransactionDetail' field has an active Builder instancebooleanChecks whether the 'transactionToAdjust' field has been set.booleanChecks whether the 'transactionToAdjust' field has an active Builder instancesetCustomData(Map<String, ByteBuffer> value) Sets the value of the 'customData' field.Sets the value of the 'newTransactionDetail' field.Sets the Builder instance for the 'newTransactionDetail' fieldSets the value of the 'transactionToAdjust' field.Sets the Builder instance for the 'transactionToAdjust' fieldMethods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getTransactionToAdjust
Gets the value of the 'transactionToAdjust' field.- Returns:
- The value.
-
setTransactionToAdjust
Sets the value of the 'transactionToAdjust' field.- Parameters:
value- The value of 'transactionToAdjust'.- Returns:
- This builder.
-
hasTransactionToAdjust
public boolean hasTransactionToAdjust()Checks whether the 'transactionToAdjust' field has been set.- Returns:
- True if the 'transactionToAdjust' field has been set, false otherwise.
-
getTransactionToAdjustBuilder
Gets the Builder instance for the 'transactionToAdjust' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setTransactionToAdjustBuilder
public LoanTransactionAdjustmentDataV1.Builder setTransactionToAdjustBuilder(LoanTransactionDataV1.Builder value) Sets the Builder instance for the 'transactionToAdjust' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasTransactionToAdjustBuilder
public boolean hasTransactionToAdjustBuilder()Checks whether the 'transactionToAdjust' field has an active Builder instance- Returns:
- True if the 'transactionToAdjust' field has an active Builder instance
-
clearTransactionToAdjust
Clears the value of the 'transactionToAdjust' field.- Returns:
- This builder.
-
getNewTransactionDetail
Gets the value of the 'newTransactionDetail' field.- Returns:
- The value.
-
setNewTransactionDetail
Sets the value of the 'newTransactionDetail' field.- Parameters:
value- The value of 'newTransactionDetail'.- Returns:
- This builder.
-
hasNewTransactionDetail
public boolean hasNewTransactionDetail()Checks whether the 'newTransactionDetail' field has been set.- Returns:
- True if the 'newTransactionDetail' field has been set, false otherwise.
-
getNewTransactionDetailBuilder
Gets the Builder instance for the 'newTransactionDetail' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setNewTransactionDetailBuilder
public LoanTransactionAdjustmentDataV1.Builder setNewTransactionDetailBuilder(LoanTransactionDataV1.Builder value) Sets the Builder instance for the 'newTransactionDetail' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasNewTransactionDetailBuilder
public boolean hasNewTransactionDetailBuilder()Checks whether the 'newTransactionDetail' field has an active Builder instance- Returns:
- True if the 'newTransactionDetail' field has an active Builder instance
-
clearNewTransactionDetail
Clears the value of the 'newTransactionDetail' field.- Returns:
- This builder.
-
getCustomData
Gets the value of the 'customData' field.- Returns:
- The value.
-
setCustomData
Sets the value of the 'customData' field.- Parameters:
value- The value of 'customData'.- Returns:
- This builder.
-
hasCustomData
public boolean hasCustomData()Checks whether the 'customData' field has been set.- Returns:
- True if the 'customData' field has been set, false otherwise.
-
clearCustomData
Clears the value of the 'customData' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanTransactionAdjustmentDataV1>
-