Class ClientTimelineDataV1
java.lang.Object
org.apache.avro.specific.SpecificRecordBase
org.apache.fineract.avro.client.v1.ClientTimelineDataV1
- 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 ClientTimelineDataV1
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, ByteBufferSerializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRecordBuilder for ClientTimelineDataV1 instances. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ClientTimelineDataV1(String submittedOnDate, String submittedByUsername, String submittedByFirstname, String submittedByLastname, String activatedOnDate, String activatedByUsername, String activatedByFirstname, String activatedByLastname, String closedOnDate, String closedByUsername, String closedByFirstname, String closedByLastname) All-args constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.avro.message.BinaryMessageDecoder<ClientTimelineDataV1> 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) static ClientTimelineDataV1Deserializes a ClientTimelineDataV1 from a ByteBuffer.get(int field$) Gets the value of the 'activatedByFirstname' field.Gets the value of the 'activatedByLastname' field.Gets the value of the 'activatedByUsername' field.Gets the value of the 'activatedOnDate' 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<ClientTimelineDataV1> Return the BinaryMessageDecoder instance used by this class.static org.apache.avro.message.BinaryMessageEncoder<ClientTimelineDataV1> Return the BinaryMessageEncoder instance used by this class.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.protected booleanstatic ClientTimelineDataV1.BuilderCreates a new ClientTimelineDataV1 RecordBuilder.static ClientTimelineDataV1.BuildernewBuilder(ClientTimelineDataV1 other) Creates a new ClientTimelineDataV1 RecordBuilder by copying an existing ClientTimelineDataV1 instance.static ClientTimelineDataV1.BuilderCreates a new ClientTimelineDataV1 RecordBuilder by copying an existing Builder.voidvoidvoidsetActivatedByFirstname(String value) Sets the value of the 'activatedByFirstname' field.voidsetActivatedByLastname(String value) Sets the value of the 'activatedByLastname' field.voidsetActivatedByUsername(String value) Sets the value of the 'activatedByUsername' field.voidsetActivatedOnDate(String value) Sets the value of the 'activatedOnDate' 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.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.Serializes this ClientTimelineDataV1 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
-
ClientTimelineDataV1
public ClientTimelineDataV1()Default constructor. Note that this does not initialize fields to their default values from the schema. If that is desired then one should usenewBuilder(). -
ClientTimelineDataV1
public ClientTimelineDataV1(String submittedOnDate, String submittedByUsername, String submittedByFirstname, String submittedByLastname, String activatedOnDate, String activatedByUsername, String activatedByFirstname, String activatedByLastname, String closedOnDate, String closedByUsername, String closedByFirstname, String closedByLastname) All-args constructor.- Parameters:
submittedOnDate- The new value for submittedOnDatesubmittedByUsername- The new value for submittedByUsernamesubmittedByFirstname- The new value for submittedByFirstnamesubmittedByLastname- The new value for submittedByLastnameactivatedOnDate- The new value for activatedOnDateactivatedByUsername- The new value for activatedByUsernameactivatedByFirstname- The new value for activatedByFirstnameactivatedByLastname- The new value for activatedByLastnameclosedOnDate- The new value for closedOnDateclosedByUsername- The new value for closedByUsernameclosedByFirstname- The new value for closedByFirstnameclosedByLastname- The new value for closedByLastname
-
-
Method Details
-
getClassSchema
public static org.apache.avro.Schema getClassSchema() -
getEncoder
Return the BinaryMessageEncoder instance used by this class.- Returns:
- the message encoder used by this class
-
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<ClientTimelineDataV1> 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 ClientTimelineDataV1 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 ClientTimelineDataV1 from a ByteBuffer.- Parameters:
b- a byte buffer holding serialized data for an instance of this class- Returns:
- a ClientTimelineDataV1 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.
-
getActivatedOnDate
Gets the value of the 'activatedOnDate' field.- Returns:
- The value of the 'activatedOnDate' field.
-
setActivatedOnDate
Sets the value of the 'activatedOnDate' field.- Parameters:
value- the value to set.
-
getActivatedByUsername
Gets the value of the 'activatedByUsername' field.- Returns:
- The value of the 'activatedByUsername' field.
-
setActivatedByUsername
Sets the value of the 'activatedByUsername' field.- Parameters:
value- the value to set.
-
getActivatedByFirstname
Gets the value of the 'activatedByFirstname' field.- Returns:
- The value of the 'activatedByFirstname' field.
-
setActivatedByFirstname
Sets the value of the 'activatedByFirstname' field.- Parameters:
value- the value to set.
-
getActivatedByLastname
Gets the value of the 'activatedByLastname' field.- Returns:
- The value of the 'activatedByLastname' field.
-
setActivatedByLastname
Sets the value of the 'activatedByLastname' 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.
-
newBuilder
Creates a new ClientTimelineDataV1 RecordBuilder.- Returns:
- A new ClientTimelineDataV1 RecordBuilder
-
newBuilder
Creates a new ClientTimelineDataV1 RecordBuilder by copying an existing Builder.- Parameters:
other- The existing builder to copy.- Returns:
- A new ClientTimelineDataV1 RecordBuilder
-
newBuilder
Creates a new ClientTimelineDataV1 RecordBuilder by copying an existing ClientTimelineDataV1 instance.- Parameters:
other- The existing instance to copy.- Returns:
- A new ClientTimelineDataV1 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
-