Package org.apache.fineract.avro.gl.v1
Class GLAccountDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<GLAccountDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<GLAccountDataV1>
org.apache.fineract.avro.gl.v1.GLAccountDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<GLAccountDataV1>
- Enclosing class:
GLAccountDataV1
public static class GLAccountDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<GLAccountDataV1>
implements org.apache.avro.data.RecordBuilder<GLAccountDataV1>
RecordBuilder for GLAccountDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'description' field.Clears the value of the 'disabled' field.Clears the value of the 'glCode' field.clearId()Clears the value of the 'id' field.Clears the value of the 'manualEntriesAllowed' field.Clears the value of the 'name' field.Clears the value of the 'nameDecorated' field.Clears the value of the 'organizationRunningBalance' field.Clears the value of the 'parentId' field.Clears the value of the 'tagId' field.Clears the value of the 'type' field.Clears the value of the 'usage' field.Gets the value of the 'description' field.Gets the value of the 'disabled' field.Gets the value of the 'glCode' field.getId()Gets the value of the 'id' field.Gets the value of the 'manualEntriesAllowed' field.getName()Gets the value of the 'name' field.Gets the value of the 'nameDecorated' field.Gets the value of the 'organizationRunningBalance' field.Gets the value of the 'parentId' field.getTagId()Gets the value of the 'tagId' field.Gets the Builder instance for the 'tagId' field and creates one if it doesn't exist yet.getType()Gets the value of the 'type' field.Gets the Builder instance for the 'type' field and creates one if it doesn't exist yet.getUsage()Gets the value of the 'usage' field.Gets the Builder instance for the 'usage' field and creates one if it doesn't exist yet.booleanChecks whether the 'description' field has been set.booleanChecks whether the 'disabled' field has been set.booleanChecks whether the 'glCode' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'manualEntriesAllowed' field has been set.booleanhasName()Checks whether the 'name' field has been set.booleanChecks whether the 'nameDecorated' field has been set.booleanChecks whether the 'organizationRunningBalance' field has been set.booleanChecks whether the 'parentId' field has been set.booleanhasTagId()Checks whether the 'tagId' field has been set.booleanChecks whether the 'tagId' field has an active Builder instancebooleanhasType()Checks whether the 'type' field has been set.booleanChecks whether the 'type' field has an active Builder instancebooleanhasUsage()Checks whether the 'usage' field has been set.booleanChecks whether the 'usage' field has an active Builder instancesetDescription(String value) Sets the value of the 'description' field.setDisabled(Boolean value) Sets the value of the 'disabled' field.Sets the value of the 'glCode' field.Sets the value of the 'id' field.setManualEntriesAllowed(Boolean value) Sets the value of the 'manualEntriesAllowed' field.Sets the value of the 'name' field.setNameDecorated(String value) Sets the value of the 'nameDecorated' field.Sets the value of the 'organizationRunningBalance' field.setParentId(Long value) Sets the value of the 'parentId' field.setTagId(CodeValueDataV1 value) Sets the value of the 'tagId' field.Sets the Builder instance for the 'tagId' fieldsetType(EnumOptionDataV1 value) Sets the value of the 'type' field.Sets the Builder instance for the 'type' fieldsetUsage(EnumOptionDataV1 value) Sets the value of the 'usage' field.Sets the Builder instance for the 'usage' fieldMethods 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.
-
getParentId
Gets the value of the 'parentId' field.- Returns:
- The value.
-
setParentId
Sets the value of the 'parentId' field.- Parameters:
value- The value of 'parentId'.- Returns:
- This builder.
-
hasParentId
public boolean hasParentId()Checks whether the 'parentId' field has been set.- Returns:
- True if the 'parentId' field has been set, false otherwise.
-
clearParentId
Clears the value of the 'parentId' field.- Returns:
- This builder.
-
getGlCode
Gets the value of the 'glCode' field.- Returns:
- The value.
-
setGlCode
Sets the value of the 'glCode' field.- Parameters:
value- The value of 'glCode'.- Returns:
- This builder.
-
hasGlCode
public boolean hasGlCode()Checks whether the 'glCode' field has been set.- Returns:
- True if the 'glCode' field has been set, false otherwise.
-
clearGlCode
Clears the value of the 'glCode' field.- Returns:
- This builder.
-
getDisabled
Gets the value of the 'disabled' field.- Returns:
- The value.
-
setDisabled
Sets the value of the 'disabled' field.- Parameters:
value- The value of 'disabled'.- Returns:
- This builder.
-
hasDisabled
public boolean hasDisabled()Checks whether the 'disabled' field has been set.- Returns:
- True if the 'disabled' field has been set, false otherwise.
-
clearDisabled
Clears the value of the 'disabled' field.- Returns:
- This builder.
-
getManualEntriesAllowed
Gets the value of the 'manualEntriesAllowed' field.- Returns:
- The value.
-
setManualEntriesAllowed
Sets the value of the 'manualEntriesAllowed' field.- Parameters:
value- The value of 'manualEntriesAllowed'.- Returns:
- This builder.
-
hasManualEntriesAllowed
public boolean hasManualEntriesAllowed()Checks whether the 'manualEntriesAllowed' field has been set.- Returns:
- True if the 'manualEntriesAllowed' field has been set, false otherwise.
-
clearManualEntriesAllowed
Clears the value of the 'manualEntriesAllowed' field.- Returns:
- This builder.
-
getType
Gets the value of the 'type' field.- Returns:
- The value.
-
setType
Sets the value of the 'type' field.- Parameters:
value- The value of 'type'.- Returns:
- This builder.
-
hasType
public boolean hasType()Checks whether the 'type' field has been set.- Returns:
- True if the 'type' field has been set, false otherwise.
-
getTypeBuilder
Gets the Builder instance for the 'type' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setTypeBuilder
Sets the Builder instance for the 'type' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasTypeBuilder
public boolean hasTypeBuilder()Checks whether the 'type' field has an active Builder instance- Returns:
- True if the 'type' field has an active Builder instance
-
clearType
Clears the value of the 'type' field.- Returns:
- This builder.
-
getUsage
Gets the value of the 'usage' field.- Returns:
- The value.
-
setUsage
Sets the value of the 'usage' field.- Parameters:
value- The value of 'usage'.- Returns:
- This builder.
-
hasUsage
public boolean hasUsage()Checks whether the 'usage' field has been set.- Returns:
- True if the 'usage' field has been set, false otherwise.
-
getUsageBuilder
Gets the Builder instance for the 'usage' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setUsageBuilder
Sets the Builder instance for the 'usage' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasUsageBuilder
public boolean hasUsageBuilder()Checks whether the 'usage' field has an active Builder instance- Returns:
- True if the 'usage' field has an active Builder instance
-
clearUsage
Clears the value of the 'usage' 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.
-
getNameDecorated
Gets the value of the 'nameDecorated' field.- Returns:
- The value.
-
setNameDecorated
Sets the value of the 'nameDecorated' field.- Parameters:
value- The value of 'nameDecorated'.- Returns:
- This builder.
-
hasNameDecorated
public boolean hasNameDecorated()Checks whether the 'nameDecorated' field has been set.- Returns:
- True if the 'nameDecorated' field has been set, false otherwise.
-
clearNameDecorated
Clears the value of the 'nameDecorated' field.- Returns:
- This builder.
-
getTagId
Gets the value of the 'tagId' field.- Returns:
- The value.
-
setTagId
Sets the value of the 'tagId' field.- Parameters:
value- The value of 'tagId'.- Returns:
- This builder.
-
hasTagId
public boolean hasTagId()Checks whether the 'tagId' field has been set.- Returns:
- True if the 'tagId' field has been set, false otherwise.
-
getTagIdBuilder
Gets the Builder instance for the 'tagId' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setTagIdBuilder
Sets the Builder instance for the 'tagId' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasTagIdBuilder
public boolean hasTagIdBuilder()Checks whether the 'tagId' field has an active Builder instance- Returns:
- True if the 'tagId' field has an active Builder instance
-
clearTagId
Clears the value of the 'tagId' field.- Returns:
- This builder.
-
getOrganizationRunningBalance
Gets the value of the 'organizationRunningBalance' field.- Returns:
- The value.
-
setOrganizationRunningBalance
Sets the value of the 'organizationRunningBalance' field.- Parameters:
value- The value of 'organizationRunningBalance'.- Returns:
- This builder.
-
hasOrganizationRunningBalance
public boolean hasOrganizationRunningBalance()Checks whether the 'organizationRunningBalance' field has been set.- Returns:
- True if the 'organizationRunningBalance' field has been set, false otherwise.
-
clearOrganizationRunningBalance
Clears the value of the 'organizationRunningBalance' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<GLAccountDataV1>
-