Class PaymentTypeDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<PaymentTypeDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<PaymentTypeDataV1>
org.apache.fineract.avro.payment.v1.PaymentTypeDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<PaymentTypeDataV1>
- Enclosing class:
PaymentTypeDataV1
public static class PaymentTypeDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<PaymentTypeDataV1>
implements org.apache.avro.data.RecordBuilder<PaymentTypeDataV1>
RecordBuilder for PaymentTypeDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'codeName' field.Clears the value of the 'description' field.clearId()Clears the value of the 'id' field.Clears the value of the 'isCashPayment' field.Clears the value of the 'isSystemDefined' field.Clears the value of the 'name' field.Clears the value of the 'position' field.Gets the value of the 'codeName' field.Gets the value of the 'description' field.getId()Gets the value of the 'id' field.Gets the value of the 'isCashPayment' field.Gets the value of the 'isSystemDefined' field.getName()Gets the value of the 'name' field.Gets the value of the 'position' field.booleanChecks whether the 'codeName' field has been set.booleanChecks whether the 'description' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'isCashPayment' field has been set.booleanChecks whether the 'isSystemDefined' field has been set.booleanhasName()Checks whether the 'name' field has been set.booleanChecks whether the 'position' field has been set.setCodeName(String value) Sets the value of the 'codeName' field.setDescription(String value) Sets the value of the 'description' field.Sets the value of the 'id' field.setIsCashPayment(Boolean value) Sets the value of the 'isCashPayment' field.setIsSystemDefined(Boolean value) Sets the value of the 'isSystemDefined' field.Sets the value of the 'name' field.setPosition(Long value) Sets the value of the 'position' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getId
Gets the value of the 'id' field.- Returns:
- The value.
-
setId
Sets the value of the 'id' field.- Parameters:
value- The value of 'id'.- Returns:
- This builder.
-
hasId
public boolean hasId()Checks whether the 'id' field has been set.- Returns:
- True if the 'id' field has been set, false otherwise.
-
clearId
Clears the value of the 'id' field.- Returns:
- This builder.
-
getName
Gets the value of the 'name' field.- Returns:
- The value.
-
setName
Sets the value of the 'name' field.- Parameters:
value- The value of 'name'.- Returns:
- This builder.
-
hasName
public boolean hasName()Checks whether the 'name' field has been set.- Returns:
- True if the 'name' field has been set, false otherwise.
-
clearName
Clears the value of the 'name' field.- Returns:
- This builder.
-
getDescription
Gets the value of the 'description' field.- Returns:
- The value.
-
setDescription
Sets the value of the 'description' field.- Parameters:
value- The value of 'description'.- Returns:
- This builder.
-
hasDescription
public boolean hasDescription()Checks whether the 'description' field has been set.- Returns:
- True if the 'description' field has been set, false otherwise.
-
clearDescription
Clears the value of the 'description' field.- Returns:
- This builder.
-
getIsCashPayment
Gets the value of the 'isCashPayment' field.- Returns:
- The value.
-
setIsCashPayment
Sets the value of the 'isCashPayment' field.- Parameters:
value- The value of 'isCashPayment'.- Returns:
- This builder.
-
hasIsCashPayment
public boolean hasIsCashPayment()Checks whether the 'isCashPayment' field has been set.- Returns:
- True if the 'isCashPayment' field has been set, false otherwise.
-
clearIsCashPayment
Clears the value of the 'isCashPayment' field.- Returns:
- This builder.
-
getPosition
Gets the value of the 'position' field.- Returns:
- The value.
-
setPosition
Sets the value of the 'position' field.- Parameters:
value- The value of 'position'.- Returns:
- This builder.
-
hasPosition
public boolean hasPosition()Checks whether the 'position' field has been set.- Returns:
- True if the 'position' field has been set, false otherwise.
-
clearPosition
Clears the value of the 'position' field.- Returns:
- This builder.
-
getCodeName
Gets the value of the 'codeName' field.- Returns:
- The value.
-
setCodeName
Sets the value of the 'codeName' field.- Parameters:
value- The value of 'codeName'.- Returns:
- This builder.
-
hasCodeName
public boolean hasCodeName()Checks whether the 'codeName' field has been set.- Returns:
- True if the 'codeName' field has been set, false otherwise.
-
clearCodeName
Clears the value of the 'codeName' field.- Returns:
- This builder.
-
getIsSystemDefined
Gets the value of the 'isSystemDefined' field.- Returns:
- The value.
-
setIsSystemDefined
Sets the value of the 'isSystemDefined' field.- Parameters:
value- The value of 'isSystemDefined'.- Returns:
- This builder.
-
hasIsSystemDefined
public boolean hasIsSystemDefined()Checks whether the 'isSystemDefined' field has been set.- Returns:
- True if the 'isSystemDefined' field has been set, false otherwise.
-
clearIsSystemDefined
Clears the value of the 'isSystemDefined' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<PaymentTypeDataV1>
-