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:
  • 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 use newBuilder().
    • 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 submittedOnDate
      submittedByUsername - The new value for submittedByUsername
      submittedByFirstname - The new value for submittedByFirstname
      submittedByLastname - The new value for submittedByLastname
      rejectedOnDate - The new value for rejectedOnDate
      rejectedByUsername - The new value for rejectedByUsername
      rejectedByFirstname - The new value for rejectedByFirstname
      rejectedByLastname - The new value for rejectedByLastname
      withdrawnOnDate - The new value for withdrawnOnDate
      withdrawnByUsername - The new value for withdrawnByUsername
      withdrawnByFirstname - The new value for withdrawnByFirstname
      withdrawnByLastname - The new value for withdrawnByLastname
      approvedOnDate - The new value for approvedOnDate
      approvedByUsername - The new value for approvedByUsername
      approvedByFirstname - The new value for approvedByFirstname
      approvedByLastname - The new value for approvedByLastname
      expectedDisbursementDate - The new value for expectedDisbursementDate
      actualDisbursementDate - The new value for actualDisbursementDate
      disbursedByUsername - The new value for disbursedByUsername
      disbursedByFirstname - The new value for disbursedByFirstname
      disbursedByLastname - The new value for disbursedByLastname
      closedOnDate - The new value for closedOnDate
      closedByUsername - The new value for closedByUsername
      closedByFirstname - The new value for closedByFirstname
      closedByLastname - The new value for closedByLastname
      expectedMaturityDate - The new value for expectedMaturityDate
      writeOffOnDate - The new value for writeOffOnDate
      writeOffByUsername - The new value for writeOffByUsername
      writeOffByFirstname - The new value for writeOffByFirstname
      writeOffByLastname - The new value for writeOffByLastname
      chargedOffOnDate - The new value for chargedOffOnDate
      chargedOffByUsername - The new value for chargedOffByUsername
      chargedOffByFirstname - The new value for chargedOffByFirstname
      chargedOffByLastname - 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 specified SchemaStore.
      Parameters:
      resolver - a SchemaStore used to find schemas by fingerprint
      Returns:
      a BinaryMessageDecoder instance for this class backed by the given SchemaStore
    • toByteBuffer

      public ByteBuffer toByteBuffer() throws IOException
      Serializes this LoanApplicationTimelineDataV1 to a ByteBuffer.
      Specified by:
      toByteBuffer in interface ByteBufferSerializable
      Returns:
      a buffer holding the serialized data for this instance
      Throws:
      IOException - if this instance could not be serialized
    • fromByteBuffer

      public static LoanApplicationTimelineDataV1 fromByteBuffer(ByteBuffer b) throws IOException
      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:
      getSpecificData in class org.apache.avro.specific.SpecificRecordBase
    • getSchema

      public org.apache.avro.Schema getSchema()
      Specified by:
      getSchema in interface org.apache.avro.generic.GenericContainer
    • get

      public Object get(int field$)
      Specified by:
      get in interface org.apache.avro.generic.IndexedRecord
    • put

      public void put(int field$, Object value$)
      Specified by:
      put in interface org.apache.avro.generic.IndexedRecord
    • getSubmittedOnDate

      public String getSubmittedOnDate()
      Gets the value of the 'submittedOnDate' field.
      Returns:
      The value of the 'submittedOnDate' field.
    • setSubmittedOnDate

      public void setSubmittedOnDate(String value)
      Sets the value of the 'submittedOnDate' field.
      Parameters:
      value - the value to set.
    • getSubmittedByUsername

      public String getSubmittedByUsername()
      Gets the value of the 'submittedByUsername' field.
      Returns:
      The value of the 'submittedByUsername' field.
    • setSubmittedByUsername

      public void setSubmittedByUsername(String value)
      Sets the value of the 'submittedByUsername' field.
      Parameters:
      value - the value to set.
    • getSubmittedByFirstname

      public String getSubmittedByFirstname()
      Gets the value of the 'submittedByFirstname' field.
      Returns:
      The value of the 'submittedByFirstname' field.
    • setSubmittedByFirstname

      public void setSubmittedByFirstname(String value)
      Sets the value of the 'submittedByFirstname' field.
      Parameters:
      value - the value to set.
    • getSubmittedByLastname

      public String getSubmittedByLastname()
      Gets the value of the 'submittedByLastname' field.
      Returns:
      The value of the 'submittedByLastname' field.
    • setSubmittedByLastname

      public void setSubmittedByLastname(String value)
      Sets the value of the 'submittedByLastname' field.
      Parameters:
      value - the value to set.
    • getRejectedOnDate

      public String getRejectedOnDate()
      Gets the value of the 'rejectedOnDate' field.
      Returns:
      The value of the 'rejectedOnDate' field.
    • setRejectedOnDate

      public void setRejectedOnDate(String value)
      Sets the value of the 'rejectedOnDate' field.
      Parameters:
      value - the value to set.
    • getRejectedByUsername

      public String getRejectedByUsername()
      Gets the value of the 'rejectedByUsername' field.
      Returns:
      The value of the 'rejectedByUsername' field.
    • setRejectedByUsername

      public void setRejectedByUsername(String value)
      Sets the value of the 'rejectedByUsername' field.
      Parameters:
      value - the value to set.
    • getRejectedByFirstname

      public String getRejectedByFirstname()
      Gets the value of the 'rejectedByFirstname' field.
      Returns:
      The value of the 'rejectedByFirstname' field.
    • setRejectedByFirstname

      public void setRejectedByFirstname(String value)
      Sets the value of the 'rejectedByFirstname' field.
      Parameters:
      value - the value to set.
    • getRejectedByLastname

      public String getRejectedByLastname()
      Gets the value of the 'rejectedByLastname' field.
      Returns:
      The value of the 'rejectedByLastname' field.
    • setRejectedByLastname

      public void setRejectedByLastname(String value)
      Sets the value of the 'rejectedByLastname' field.
      Parameters:
      value - the value to set.
    • getWithdrawnOnDate

      public String getWithdrawnOnDate()
      Gets the value of the 'withdrawnOnDate' field.
      Returns:
      The value of the 'withdrawnOnDate' field.
    • setWithdrawnOnDate

      public void setWithdrawnOnDate(String value)
      Sets the value of the 'withdrawnOnDate' field.
      Parameters:
      value - the value to set.
    • getWithdrawnByUsername

      public String getWithdrawnByUsername()
      Gets the value of the 'withdrawnByUsername' field.
      Returns:
      The value of the 'withdrawnByUsername' field.
    • setWithdrawnByUsername

      public void setWithdrawnByUsername(String value)
      Sets the value of the 'withdrawnByUsername' field.
      Parameters:
      value - the value to set.
    • getWithdrawnByFirstname

      public String getWithdrawnByFirstname()
      Gets the value of the 'withdrawnByFirstname' field.
      Returns:
      The value of the 'withdrawnByFirstname' field.
    • setWithdrawnByFirstname

      public void setWithdrawnByFirstname(String value)
      Sets the value of the 'withdrawnByFirstname' field.
      Parameters:
      value - the value to set.
    • getWithdrawnByLastname

      public String getWithdrawnByLastname()
      Gets the value of the 'withdrawnByLastname' field.
      Returns:
      The value of the 'withdrawnByLastname' field.
    • setWithdrawnByLastname

      public void setWithdrawnByLastname(String value)
      Sets the value of the 'withdrawnByLastname' field.
      Parameters:
      value - the value to set.
    • getApprovedOnDate

      public String getApprovedOnDate()
      Gets the value of the 'approvedOnDate' field.
      Returns:
      The value of the 'approvedOnDate' field.
    • setApprovedOnDate

      public void setApprovedOnDate(String value)
      Sets the value of the 'approvedOnDate' field.
      Parameters:
      value - the value to set.
    • getApprovedByUsername

      public String getApprovedByUsername()
      Gets the value of the 'approvedByUsername' field.
      Returns:
      The value of the 'approvedByUsername' field.
    • setApprovedByUsername

      public void setApprovedByUsername(String value)
      Sets the value of the 'approvedByUsername' field.
      Parameters:
      value - the value to set.
    • getApprovedByFirstname

      public String getApprovedByFirstname()
      Gets the value of the 'approvedByFirstname' field.
      Returns:
      The value of the 'approvedByFirstname' field.
    • setApprovedByFirstname

      public void setApprovedByFirstname(String value)
      Sets the value of the 'approvedByFirstname' field.
      Parameters:
      value - the value to set.
    • getApprovedByLastname

      public String getApprovedByLastname()
      Gets the value of the 'approvedByLastname' field.
      Returns:
      The value of the 'approvedByLastname' field.
    • setApprovedByLastname

      public void setApprovedByLastname(String value)
      Sets the value of the 'approvedByLastname' field.
      Parameters:
      value - the value to set.
    • getExpectedDisbursementDate

      public String getExpectedDisbursementDate()
      Gets the value of the 'expectedDisbursementDate' field.
      Returns:
      The value of the 'expectedDisbursementDate' field.
    • setExpectedDisbursementDate

      public void setExpectedDisbursementDate(String value)
      Sets the value of the 'expectedDisbursementDate' field.
      Parameters:
      value - the value to set.
    • getActualDisbursementDate

      public String getActualDisbursementDate()
      Gets the value of the 'actualDisbursementDate' field.
      Returns:
      The value of the 'actualDisbursementDate' field.
    • setActualDisbursementDate

      public void setActualDisbursementDate(String value)
      Sets the value of the 'actualDisbursementDate' field.
      Parameters:
      value - the value to set.
    • getDisbursedByUsername

      public String getDisbursedByUsername()
      Gets the value of the 'disbursedByUsername' field.
      Returns:
      The value of the 'disbursedByUsername' field.
    • setDisbursedByUsername

      public void setDisbursedByUsername(String value)
      Sets the value of the 'disbursedByUsername' field.
      Parameters:
      value - the value to set.
    • getDisbursedByFirstname

      public String getDisbursedByFirstname()
      Gets the value of the 'disbursedByFirstname' field.
      Returns:
      The value of the 'disbursedByFirstname' field.
    • setDisbursedByFirstname

      public void setDisbursedByFirstname(String value)
      Sets the value of the 'disbursedByFirstname' field.
      Parameters:
      value - the value to set.
    • getDisbursedByLastname

      public String getDisbursedByLastname()
      Gets the value of the 'disbursedByLastname' field.
      Returns:
      The value of the 'disbursedByLastname' field.
    • setDisbursedByLastname

      public void setDisbursedByLastname(String value)
      Sets the value of the 'disbursedByLastname' field.
      Parameters:
      value - the value to set.
    • getClosedOnDate

      public String getClosedOnDate()
      Gets the value of the 'closedOnDate' field.
      Returns:
      The value of the 'closedOnDate' field.
    • setClosedOnDate

      public void setClosedOnDate(String value)
      Sets the value of the 'closedOnDate' field.
      Parameters:
      value - the value to set.
    • getClosedByUsername

      public String getClosedByUsername()
      Gets the value of the 'closedByUsername' field.
      Returns:
      The value of the 'closedByUsername' field.
    • setClosedByUsername

      public void setClosedByUsername(String value)
      Sets the value of the 'closedByUsername' field.
      Parameters:
      value - the value to set.
    • getClosedByFirstname

      public String getClosedByFirstname()
      Gets the value of the 'closedByFirstname' field.
      Returns:
      The value of the 'closedByFirstname' field.
    • setClosedByFirstname

      public void setClosedByFirstname(String value)
      Sets the value of the 'closedByFirstname' field.
      Parameters:
      value - the value to set.
    • getClosedByLastname

      public String getClosedByLastname()
      Gets the value of the 'closedByLastname' field.
      Returns:
      The value of the 'closedByLastname' field.
    • setClosedByLastname

      public void setClosedByLastname(String value)
      Sets the value of the 'closedByLastname' field.
      Parameters:
      value - the value to set.
    • getExpectedMaturityDate

      public String getExpectedMaturityDate()
      Gets the value of the 'expectedMaturityDate' field.
      Returns:
      The value of the 'expectedMaturityDate' field.
    • setExpectedMaturityDate

      public void setExpectedMaturityDate(String value)
      Sets the value of the 'expectedMaturityDate' field.
      Parameters:
      value - the value to set.
    • getWriteOffOnDate

      public String getWriteOffOnDate()
      Gets the value of the 'writeOffOnDate' field.
      Returns:
      The value of the 'writeOffOnDate' field.
    • setWriteOffOnDate

      public void setWriteOffOnDate(String value)
      Sets the value of the 'writeOffOnDate' field.
      Parameters:
      value - the value to set.
    • getWriteOffByUsername

      public String getWriteOffByUsername()
      Gets the value of the 'writeOffByUsername' field.
      Returns:
      The value of the 'writeOffByUsername' field.
    • setWriteOffByUsername

      public void setWriteOffByUsername(String value)
      Sets the value of the 'writeOffByUsername' field.
      Parameters:
      value - the value to set.
    • getWriteOffByFirstname

      public String getWriteOffByFirstname()
      Gets the value of the 'writeOffByFirstname' field.
      Returns:
      The value of the 'writeOffByFirstname' field.
    • setWriteOffByFirstname

      public void setWriteOffByFirstname(String value)
      Sets the value of the 'writeOffByFirstname' field.
      Parameters:
      value - the value to set.
    • getWriteOffByLastname

      public String getWriteOffByLastname()
      Gets the value of the 'writeOffByLastname' field.
      Returns:
      The value of the 'writeOffByLastname' field.
    • setWriteOffByLastname

      public void setWriteOffByLastname(String value)
      Sets the value of the 'writeOffByLastname' field.
      Parameters:
      value - the value to set.
    • getChargedOffOnDate

      public String getChargedOffOnDate()
      Gets the value of the 'chargedOffOnDate' field.
      Returns:
      The value of the 'chargedOffOnDate' field.
    • setChargedOffOnDate

      public void setChargedOffOnDate(String value)
      Sets the value of the 'chargedOffOnDate' field.
      Parameters:
      value - the value to set.
    • getChargedOffByUsername

      public String getChargedOffByUsername()
      Gets the value of the 'chargedOffByUsername' field.
      Returns:
      The value of the 'chargedOffByUsername' field.
    • setChargedOffByUsername

      public void setChargedOffByUsername(String value)
      Sets the value of the 'chargedOffByUsername' field.
      Parameters:
      value - the value to set.
    • getChargedOffByFirstname

      public String getChargedOffByFirstname()
      Gets the value of the 'chargedOffByFirstname' field.
      Returns:
      The value of the 'chargedOffByFirstname' field.
    • setChargedOffByFirstname

      public void setChargedOffByFirstname(String value)
      Sets the value of the 'chargedOffByFirstname' field.
      Parameters:
      value - the value to set.
    • getChargedOffByLastname

      public String getChargedOffByLastname()
      Gets the value of the 'chargedOffByLastname' field.
      Returns:
      The value of the 'chargedOffByLastname' field.
    • setChargedOffByLastname

      public void setChargedOffByLastname(String value)
      Sets the value of the 'chargedOffByLastname' field.
      Parameters:
      value - the value to set.
    • newBuilder

      public static LoanApplicationTimelineDataV1.Builder newBuilder()
      Creates a new LoanApplicationTimelineDataV1 RecordBuilder.
      Returns:
      A new LoanApplicationTimelineDataV1 RecordBuilder
    • newBuilder

      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

      public void writeExternal(ObjectOutput out) throws IOException
      Specified by:
      writeExternal in interface Externalizable
      Overrides:
      writeExternal in class org.apache.avro.specific.SpecificRecordBase
      Throws:
      IOException
    • readExternal

      public void readExternal(ObjectInput in) throws IOException
      Specified by:
      readExternal in interface Externalizable
      Overrides:
      readExternal in class org.apache.avro.specific.SpecificRecordBase
      Throws:
      IOException
    • hasCustomCoders

      protected boolean hasCustomCoders()
      Overrides:
      hasCustomCoders in class org.apache.avro.specific.SpecificRecordBase
    • customEncode

      public void customEncode(org.apache.avro.io.Encoder out) throws IOException
      Overrides:
      customEncode in class org.apache.avro.specific.SpecificRecordBase
      Throws:
      IOException
    • customDecode

      public void customDecode(org.apache.avro.io.ResolvingDecoder in) throws IOException
      Overrides:
      customDecode in class org.apache.avro.specific.SpecificRecordBase
      Throws:
      IOException