Package org.apache.fineract.avro.loan.v1
Class LoanApplicationTimelineDataV1
java.lang.Object
org.apache.avro.specific.SpecificRecordBase
org.apache.fineract.avro.loan.v1.LoanApplicationTimelineDataV1
- All Implemented Interfaces:
Externalizable,Serializable,Comparable<org.apache.avro.specific.SpecificRecord>,org.apache.avro.generic.GenericContainer,org.apache.avro.generic.GenericRecord,org.apache.avro.generic.IndexedRecord,org.apache.avro.specific.SpecificRecord,ByteBufferSerializable
public class LoanApplicationTimelineDataV1
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, ByteBufferSerializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRecordBuilder for LoanApplicationTimelineDataV1 instances. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.LoanApplicationTimelineDataV1(String submittedOnDate, String submittedByUsername, String submittedByFirstname, String submittedByLastname, String rejectedOnDate, String rejectedByUsername, String rejectedByFirstname, String rejectedByLastname, String withdrawnOnDate, String withdrawnByUsername, String withdrawnByFirstname, String withdrawnByLastname, String approvedOnDate, String approvedByUsername, String approvedByFirstname, String approvedByLastname, String expectedDisbursementDate, String actualDisbursementDate, String disbursedByUsername, String disbursedByFirstname, String disbursedByLastname, String closedOnDate, String closedByUsername, String closedByFirstname, String closedByLastname, String expectedMaturityDate, String writeOffOnDate, String writeOffByUsername, String writeOffByFirstname, String writeOffByLastname, String chargedOffOnDate, String chargedOffByUsername, String chargedOffByFirstname, String chargedOffByLastname) All-args constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.avro.message.BinaryMessageDecoder<LoanApplicationTimelineDataV1> createDecoder(org.apache.avro.message.SchemaStore resolver) Create a new BinaryMessageDecoder instance for this class that uses the specifiedSchemaStore.voidcustomDecode(org.apache.avro.io.ResolvingDecoder in) voidcustomEncode(org.apache.avro.io.Encoder out) Deserializes a LoanApplicationTimelineDataV1 from a ByteBuffer.get(int field$) Gets the value of the 'actualDisbursementDate' field.Gets the value of the 'approvedByFirstname' field.Gets the value of the 'approvedByLastname' field.Gets the value of the 'approvedByUsername' field.Gets the value of the 'approvedOnDate' field.Gets the value of the 'chargedOffByFirstname' field.Gets the value of the 'chargedOffByLastname' field.Gets the value of the 'chargedOffByUsername' field.Gets the value of the 'chargedOffOnDate' field.static org.apache.avro.SchemaGets the value of the 'closedByFirstname' field.Gets the value of the 'closedByLastname' field.Gets the value of the 'closedByUsername' field.Gets the value of the 'closedOnDate' field.static org.apache.avro.message.BinaryMessageDecoder<LoanApplicationTimelineDataV1> Return the BinaryMessageDecoder instance used by this class.Gets the value of the 'disbursedByFirstname' field.Gets the value of the 'disbursedByLastname' field.Gets the value of the 'disbursedByUsername' field.static org.apache.avro.message.BinaryMessageEncoder<LoanApplicationTimelineDataV1> Return the BinaryMessageEncoder instance used by this class.Gets the value of the 'expectedDisbursementDate' field.Gets the value of the 'expectedMaturityDate' field.Gets the value of the 'rejectedByFirstname' field.Gets the value of the 'rejectedByLastname' field.Gets the value of the 'rejectedByUsername' field.Gets the value of the 'rejectedOnDate' field.org.apache.avro.Schemaorg.apache.avro.specific.SpecificDataGets the value of the 'submittedByFirstname' field.Gets the value of the 'submittedByLastname' field.Gets the value of the 'submittedByUsername' field.Gets the value of the 'submittedOnDate' field.Gets the value of the 'withdrawnByFirstname' field.Gets the value of the 'withdrawnByLastname' field.Gets the value of the 'withdrawnByUsername' field.Gets the value of the 'withdrawnOnDate' field.Gets the value of the 'writeOffByFirstname' field.Gets the value of the 'writeOffByLastname' field.Gets the value of the 'writeOffByUsername' field.Gets the value of the 'writeOffOnDate' field.protected booleanCreates a new LoanApplicationTimelineDataV1 RecordBuilder.Creates a new LoanApplicationTimelineDataV1 RecordBuilder by copying an existing LoanApplicationTimelineDataV1 instance.Creates a new LoanApplicationTimelineDataV1 RecordBuilder by copying an existing Builder.voidvoidvoidsetActualDisbursementDate(String value) Sets the value of the 'actualDisbursementDate' field.voidsetApprovedByFirstname(String value) Sets the value of the 'approvedByFirstname' field.voidsetApprovedByLastname(String value) Sets the value of the 'approvedByLastname' field.voidsetApprovedByUsername(String value) Sets the value of the 'approvedByUsername' field.voidsetApprovedOnDate(String value) Sets the value of the 'approvedOnDate' field.voidsetChargedOffByFirstname(String value) Sets the value of the 'chargedOffByFirstname' field.voidsetChargedOffByLastname(String value) Sets the value of the 'chargedOffByLastname' field.voidsetChargedOffByUsername(String value) Sets the value of the 'chargedOffByUsername' field.voidsetChargedOffOnDate(String value) Sets the value of the 'chargedOffOnDate' field.voidsetClosedByFirstname(String value) Sets the value of the 'closedByFirstname' field.voidsetClosedByLastname(String value) Sets the value of the 'closedByLastname' field.voidsetClosedByUsername(String value) Sets the value of the 'closedByUsername' field.voidsetClosedOnDate(String value) Sets the value of the 'closedOnDate' field.voidsetDisbursedByFirstname(String value) Sets the value of the 'disbursedByFirstname' field.voidsetDisbursedByLastname(String value) Sets the value of the 'disbursedByLastname' field.voidsetDisbursedByUsername(String value) Sets the value of the 'disbursedByUsername' field.voidSets the value of the 'expectedDisbursementDate' field.voidsetExpectedMaturityDate(String value) Sets the value of the 'expectedMaturityDate' field.voidsetRejectedByFirstname(String value) Sets the value of the 'rejectedByFirstname' field.voidsetRejectedByLastname(String value) Sets the value of the 'rejectedByLastname' field.voidsetRejectedByUsername(String value) Sets the value of the 'rejectedByUsername' field.voidsetRejectedOnDate(String value) Sets the value of the 'rejectedOnDate' field.voidsetSubmittedByFirstname(String value) Sets the value of the 'submittedByFirstname' field.voidsetSubmittedByLastname(String value) Sets the value of the 'submittedByLastname' field.voidsetSubmittedByUsername(String value) Sets the value of the 'submittedByUsername' field.voidsetSubmittedOnDate(String value) Sets the value of the 'submittedOnDate' field.voidsetWithdrawnByFirstname(String value) Sets the value of the 'withdrawnByFirstname' field.voidsetWithdrawnByLastname(String value) Sets the value of the 'withdrawnByLastname' field.voidsetWithdrawnByUsername(String value) Sets the value of the 'withdrawnByUsername' field.voidsetWithdrawnOnDate(String value) Sets the value of the 'withdrawnOnDate' field.voidsetWriteOffByFirstname(String value) Sets the value of the 'writeOffByFirstname' field.voidsetWriteOffByLastname(String value) Sets the value of the 'writeOffByLastname' field.voidsetWriteOffByUsername(String value) Sets the value of the 'writeOffByUsername' field.voidsetWriteOffOnDate(String value) Sets the value of the 'writeOffOnDate' field.Serializes this LoanApplicationTimelineDataV1 to a ByteBuffer.voidMethods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, get, getConversion, getConversion, hashCode, put, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.avro.generic.GenericRecord
hasField
-
Field Details
-
SCHEMA$
public static final org.apache.avro.Schema SCHEMA$
-
-
Constructor Details
-
LoanApplicationTimelineDataV1
public LoanApplicationTimelineDataV1()Default constructor. Note that this does not initialize fields to their default values from the schema. If that is desired then one should usenewBuilder(). -
LoanApplicationTimelineDataV1
public LoanApplicationTimelineDataV1(String submittedOnDate, String submittedByUsername, String submittedByFirstname, String submittedByLastname, String rejectedOnDate, String rejectedByUsername, String rejectedByFirstname, String rejectedByLastname, String withdrawnOnDate, String withdrawnByUsername, String withdrawnByFirstname, String withdrawnByLastname, String approvedOnDate, String approvedByUsername, String approvedByFirstname, String approvedByLastname, String expectedDisbursementDate, String actualDisbursementDate, String disbursedByUsername, String disbursedByFirstname, String disbursedByLastname, String closedOnDate, String closedByUsername, String closedByFirstname, String closedByLastname, String expectedMaturityDate, String writeOffOnDate, String writeOffByUsername, String writeOffByFirstname, String writeOffByLastname, String chargedOffOnDate, String chargedOffByUsername, String chargedOffByFirstname, String chargedOffByLastname) All-args constructor.- Parameters:
submittedOnDate- The new value for submittedOnDatesubmittedByUsername- The new value for submittedByUsernamesubmittedByFirstname- The new value for submittedByFirstnamesubmittedByLastname- The new value for submittedByLastnamerejectedOnDate- The new value for rejectedOnDaterejectedByUsername- The new value for rejectedByUsernamerejectedByFirstname- The new value for rejectedByFirstnamerejectedByLastname- The new value for rejectedByLastnamewithdrawnOnDate- The new value for withdrawnOnDatewithdrawnByUsername- The new value for withdrawnByUsernamewithdrawnByFirstname- The new value for withdrawnByFirstnamewithdrawnByLastname- The new value for withdrawnByLastnameapprovedOnDate- The new value for approvedOnDateapprovedByUsername- The new value for approvedByUsernameapprovedByFirstname- The new value for approvedByFirstnameapprovedByLastname- The new value for approvedByLastnameexpectedDisbursementDate- The new value for expectedDisbursementDateactualDisbursementDate- The new value for actualDisbursementDatedisbursedByUsername- The new value for disbursedByUsernamedisbursedByFirstname- The new value for disbursedByFirstnamedisbursedByLastname- The new value for disbursedByLastnameclosedOnDate- The new value for closedOnDateclosedByUsername- The new value for closedByUsernameclosedByFirstname- The new value for closedByFirstnameclosedByLastname- The new value for closedByLastnameexpectedMaturityDate- The new value for expectedMaturityDatewriteOffOnDate- The new value for writeOffOnDatewriteOffByUsername- The new value for writeOffByUsernamewriteOffByFirstname- The new value for writeOffByFirstnamewriteOffByLastname- The new value for writeOffByLastnamechargedOffOnDate- The new value for chargedOffOnDatechargedOffByUsername- The new value for chargedOffByUsernamechargedOffByFirstname- The new value for chargedOffByFirstnamechargedOffByLastname- The new value for chargedOffByLastname
-
-
Method Details
-
getClassSchema
public static org.apache.avro.Schema getClassSchema() -
getEncoder
public static org.apache.avro.message.BinaryMessageEncoder<LoanApplicationTimelineDataV1> getEncoder()Return the BinaryMessageEncoder instance used by this class.- Returns:
- the message encoder used by this class
-
getDecoder
public static org.apache.avro.message.BinaryMessageDecoder<LoanApplicationTimelineDataV1> getDecoder()Return the BinaryMessageDecoder instance used by this class.- Returns:
- the message decoder used by this class
-
createDecoder
public static org.apache.avro.message.BinaryMessageDecoder<LoanApplicationTimelineDataV1> createDecoder(org.apache.avro.message.SchemaStore resolver) Create a new BinaryMessageDecoder instance for this class that uses the specifiedSchemaStore.- Parameters:
resolver- aSchemaStoreused to find schemas by fingerprint- Returns:
- a BinaryMessageDecoder instance for this class backed by the given SchemaStore
-
toByteBuffer
Serializes this LoanApplicationTimelineDataV1 to a ByteBuffer.- Specified by:
toByteBufferin interfaceByteBufferSerializable- Returns:
- a buffer holding the serialized data for this instance
- Throws:
IOException- if this instance could not be serialized
-
fromByteBuffer
Deserializes a LoanApplicationTimelineDataV1 from a ByteBuffer.- Parameters:
b- a byte buffer holding serialized data for an instance of this class- Returns:
- a LoanApplicationTimelineDataV1 instance decoded from the given buffer
- Throws:
IOException- if the given bytes could not be deserialized into an instance of this class
-
getSpecificData
public org.apache.avro.specific.SpecificData getSpecificData()- Overrides:
getSpecificDatain classorg.apache.avro.specific.SpecificRecordBase
-
getSchema
public org.apache.avro.Schema getSchema()- Specified by:
getSchemain interfaceorg.apache.avro.generic.GenericContainer
-
get
- Specified by:
getin interfaceorg.apache.avro.generic.IndexedRecord
-
put
- Specified by:
putin interfaceorg.apache.avro.generic.IndexedRecord
-
getSubmittedOnDate
Gets the value of the 'submittedOnDate' field.- Returns:
- The value of the 'submittedOnDate' field.
-
setSubmittedOnDate
Sets the value of the 'submittedOnDate' field.- Parameters:
value- the value to set.
-
getSubmittedByUsername
Gets the value of the 'submittedByUsername' field.- Returns:
- The value of the 'submittedByUsername' field.
-
setSubmittedByUsername
Sets the value of the 'submittedByUsername' field.- Parameters:
value- the value to set.
-
getSubmittedByFirstname
Gets the value of the 'submittedByFirstname' field.- Returns:
- The value of the 'submittedByFirstname' field.
-
setSubmittedByFirstname
Sets the value of the 'submittedByFirstname' field.- Parameters:
value- the value to set.
-
getSubmittedByLastname
Gets the value of the 'submittedByLastname' field.- Returns:
- The value of the 'submittedByLastname' field.
-
setSubmittedByLastname
Sets the value of the 'submittedByLastname' field.- Parameters:
value- the value to set.
-
getRejectedOnDate
Gets the value of the 'rejectedOnDate' field.- Returns:
- The value of the 'rejectedOnDate' field.
-
setRejectedOnDate
Sets the value of the 'rejectedOnDate' field.- Parameters:
value- the value to set.
-
getRejectedByUsername
Gets the value of the 'rejectedByUsername' field.- Returns:
- The value of the 'rejectedByUsername' field.
-
setRejectedByUsername
Sets the value of the 'rejectedByUsername' field.- Parameters:
value- the value to set.
-
getRejectedByFirstname
Gets the value of the 'rejectedByFirstname' field.- Returns:
- The value of the 'rejectedByFirstname' field.
-
setRejectedByFirstname
Sets the value of the 'rejectedByFirstname' field.- Parameters:
value- the value to set.
-
getRejectedByLastname
Gets the value of the 'rejectedByLastname' field.- Returns:
- The value of the 'rejectedByLastname' field.
-
setRejectedByLastname
Sets the value of the 'rejectedByLastname' field.- Parameters:
value- the value to set.
-
getWithdrawnOnDate
Gets the value of the 'withdrawnOnDate' field.- Returns:
- The value of the 'withdrawnOnDate' field.
-
setWithdrawnOnDate
Sets the value of the 'withdrawnOnDate' field.- Parameters:
value- the value to set.
-
getWithdrawnByUsername
Gets the value of the 'withdrawnByUsername' field.- Returns:
- The value of the 'withdrawnByUsername' field.
-
setWithdrawnByUsername
Sets the value of the 'withdrawnByUsername' field.- Parameters:
value- the value to set.
-
getWithdrawnByFirstname
Gets the value of the 'withdrawnByFirstname' field.- Returns:
- The value of the 'withdrawnByFirstname' field.
-
setWithdrawnByFirstname
Sets the value of the 'withdrawnByFirstname' field.- Parameters:
value- the value to set.
-
getWithdrawnByLastname
Gets the value of the 'withdrawnByLastname' field.- Returns:
- The value of the 'withdrawnByLastname' field.
-
setWithdrawnByLastname
Sets the value of the 'withdrawnByLastname' field.- Parameters:
value- the value to set.
-
getApprovedOnDate
Gets the value of the 'approvedOnDate' field.- Returns:
- The value of the 'approvedOnDate' field.
-
setApprovedOnDate
Sets the value of the 'approvedOnDate' field.- Parameters:
value- the value to set.
-
getApprovedByUsername
Gets the value of the 'approvedByUsername' field.- Returns:
- The value of the 'approvedByUsername' field.
-
setApprovedByUsername
Sets the value of the 'approvedByUsername' field.- Parameters:
value- the value to set.
-
getApprovedByFirstname
Gets the value of the 'approvedByFirstname' field.- Returns:
- The value of the 'approvedByFirstname' field.
-
setApprovedByFirstname
Sets the value of the 'approvedByFirstname' field.- Parameters:
value- the value to set.
-
getApprovedByLastname
Gets the value of the 'approvedByLastname' field.- Returns:
- The value of the 'approvedByLastname' field.
-
setApprovedByLastname
Sets the value of the 'approvedByLastname' field.- Parameters:
value- the value to set.
-
getExpectedDisbursementDate
Gets the value of the 'expectedDisbursementDate' field.- Returns:
- The value of the 'expectedDisbursementDate' field.
-
setExpectedDisbursementDate
Sets the value of the 'expectedDisbursementDate' field.- Parameters:
value- the value to set.
-
getActualDisbursementDate
Gets the value of the 'actualDisbursementDate' field.- Returns:
- The value of the 'actualDisbursementDate' field.
-
setActualDisbursementDate
Sets the value of the 'actualDisbursementDate' field.- Parameters:
value- the value to set.
-
getDisbursedByUsername
Gets the value of the 'disbursedByUsername' field.- Returns:
- The value of the 'disbursedByUsername' field.
-
setDisbursedByUsername
Sets the value of the 'disbursedByUsername' field.- Parameters:
value- the value to set.
-
getDisbursedByFirstname
Gets the value of the 'disbursedByFirstname' field.- Returns:
- The value of the 'disbursedByFirstname' field.
-
setDisbursedByFirstname
Sets the value of the 'disbursedByFirstname' field.- Parameters:
value- the value to set.
-
getDisbursedByLastname
Gets the value of the 'disbursedByLastname' field.- Returns:
- The value of the 'disbursedByLastname' field.
-
setDisbursedByLastname
Sets the value of the 'disbursedByLastname' field.- Parameters:
value- the value to set.
-
getClosedOnDate
Gets the value of the 'closedOnDate' field.- Returns:
- The value of the 'closedOnDate' field.
-
setClosedOnDate
Sets the value of the 'closedOnDate' field.- Parameters:
value- the value to set.
-
getClosedByUsername
Gets the value of the 'closedByUsername' field.- Returns:
- The value of the 'closedByUsername' field.
-
setClosedByUsername
Sets the value of the 'closedByUsername' field.- Parameters:
value- the value to set.
-
getClosedByFirstname
Gets the value of the 'closedByFirstname' field.- Returns:
- The value of the 'closedByFirstname' field.
-
setClosedByFirstname
Sets the value of the 'closedByFirstname' field.- Parameters:
value- the value to set.
-
getClosedByLastname
Gets the value of the 'closedByLastname' field.- Returns:
- The value of the 'closedByLastname' field.
-
setClosedByLastname
Sets the value of the 'closedByLastname' field.- Parameters:
value- the value to set.
-
getExpectedMaturityDate
Gets the value of the 'expectedMaturityDate' field.- Returns:
- The value of the 'expectedMaturityDate' field.
-
setExpectedMaturityDate
Sets the value of the 'expectedMaturityDate' field.- Parameters:
value- the value to set.
-
getWriteOffOnDate
Gets the value of the 'writeOffOnDate' field.- Returns:
- The value of the 'writeOffOnDate' field.
-
setWriteOffOnDate
Sets the value of the 'writeOffOnDate' field.- Parameters:
value- the value to set.
-
getWriteOffByUsername
Gets the value of the 'writeOffByUsername' field.- Returns:
- The value of the 'writeOffByUsername' field.
-
setWriteOffByUsername
Sets the value of the 'writeOffByUsername' field.- Parameters:
value- the value to set.
-
getWriteOffByFirstname
Gets the value of the 'writeOffByFirstname' field.- Returns:
- The value of the 'writeOffByFirstname' field.
-
setWriteOffByFirstname
Sets the value of the 'writeOffByFirstname' field.- Parameters:
value- the value to set.
-
getWriteOffByLastname
Gets the value of the 'writeOffByLastname' field.- Returns:
- The value of the 'writeOffByLastname' field.
-
setWriteOffByLastname
Sets the value of the 'writeOffByLastname' field.- Parameters:
value- the value to set.
-
getChargedOffOnDate
Gets the value of the 'chargedOffOnDate' field.- Returns:
- The value of the 'chargedOffOnDate' field.
-
setChargedOffOnDate
Sets the value of the 'chargedOffOnDate' field.- Parameters:
value- the value to set.
-
getChargedOffByUsername
Gets the value of the 'chargedOffByUsername' field.- Returns:
- The value of the 'chargedOffByUsername' field.
-
setChargedOffByUsername
Sets the value of the 'chargedOffByUsername' field.- Parameters:
value- the value to set.
-
getChargedOffByFirstname
Gets the value of the 'chargedOffByFirstname' field.- Returns:
- The value of the 'chargedOffByFirstname' field.
-
setChargedOffByFirstname
Sets the value of the 'chargedOffByFirstname' field.- Parameters:
value- the value to set.
-
getChargedOffByLastname
Gets the value of the 'chargedOffByLastname' field.- Returns:
- The value of the 'chargedOffByLastname' field.
-
setChargedOffByLastname
Sets the value of the 'chargedOffByLastname' field.- Parameters:
value- the value to set.
-
newBuilder
Creates a new LoanApplicationTimelineDataV1 RecordBuilder.- Returns:
- A new LoanApplicationTimelineDataV1 RecordBuilder
-
newBuilder
public static LoanApplicationTimelineDataV1.Builder newBuilder(LoanApplicationTimelineDataV1.Builder other) Creates a new LoanApplicationTimelineDataV1 RecordBuilder by copying an existing Builder.- Parameters:
other- The existing builder to copy.- Returns:
- A new LoanApplicationTimelineDataV1 RecordBuilder
-
newBuilder
Creates a new LoanApplicationTimelineDataV1 RecordBuilder by copying an existing LoanApplicationTimelineDataV1 instance.- Parameters:
other- The existing instance to copy.- Returns:
- A new LoanApplicationTimelineDataV1 RecordBuilder
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classorg.apache.avro.specific.SpecificRecordBase- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classorg.apache.avro.specific.SpecificRecordBase- Throws:
IOException
-
hasCustomCoders
protected boolean hasCustomCoders()- Overrides:
hasCustomCodersin classorg.apache.avro.specific.SpecificRecordBase
-
customEncode
- Overrides:
customEncodein classorg.apache.avro.specific.SpecificRecordBase- Throws:
IOException
-
customDecode
- Overrides:
customDecodein classorg.apache.avro.specific.SpecificRecordBase- Throws:
IOException
-