@Generated(value="colf(1)", comments="Colfer from schema file account.colf") public class Account extends ColferRpc implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Account.Unmarshaller
Reusable deserialization of Colfer streams. |
| Modifier and Type | Field and Description |
|---|---|
String |
accountName |
String |
accountNo |
String |
accountType |
float |
balance |
static int |
colferSizeMax
The upper limit for serial byte sizes.
|
float |
credit |
float |
debit |
| Constructor and Description |
|---|
Account()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Account o) |
boolean |
equals(Object o) |
String |
getAccountName()
Gets Account.Account.accountName.
|
String |
getAccountNo()
Gets Account.Account.accountNo.
|
String |
getAccountType()
Gets Account.Account.accountType.
|
float |
getBalance()
Gets Account.Account.balance.
|
float |
getCredit()
Gets Account.Account.credit.
|
float |
getDebit()
Gets Account.Account.debit.
|
int |
hashCode() |
int |
marshal(byte[] buf,
int offset)
Serializes the object.
|
byte[] |
marshal(OutputStream out,
byte[] buf)
Serializes the object.
|
void |
setAccountName(String value)
Sets Account.Account.accountName.
|
void |
setAccountNo(String value)
Sets Account.Account.accountNo.
|
void |
setAccountType(String value)
Sets Account.Account.accountType.
|
void |
setBalance(float value)
Sets Account.Account.balance.
|
void |
setCredit(float value)
Sets Account.Account.credit.
|
void |
setDebit(float value)
Sets Account.Account.debit.
|
int |
unmarshal(byte[] buf,
int offset)
Deserializes the object.
|
int |
unmarshal(byte[] buf,
int offset,
int end)
Deserializes the object.
|
equals, getAction, getHost, getService, getVersion, setAction, setHost, setService, setVersionpublic static int colferSizeMax
public String accountNo
public String accountType
public String accountName
public float balance
public float debit
public float credit
public byte[] marshal(OutputStream out, byte[] buf) throws IOException
marshal in class ColferRpcout - the data destination.buf - the initial buffer or null.buf then the return is buf.
Otherwise the return is a new buffer, large enough to hold the whole serial.IOException - from out.IllegalStateException - on an upper limit breach defined by colferSizeMax.public int marshal(byte[] buf,
int offset)
marshal in class ColferRpcbuf - the data destination.offset - the initial index for buf, inclusive.buf, exclusive.BufferOverflowException - when buf is too small.IllegalStateException - on an upper limit breach defined by colferSizeMax.public int unmarshal(byte[] buf,
int offset)
unmarshal in class ColferRpcbuf - the data source.offset - the initial index for buf, inclusive.buf, exclusive.BufferUnderflowException - when buf is incomplete. (EOF)SecurityException - on an upper limit breach defined by colferSizeMax.InputMismatchException - when the data does not match this object's schema.public int unmarshal(byte[] buf,
int offset,
int end)
unmarshal in class ColferRpcbuf - the data source.offset - the initial index for buf, inclusive.end - the index limit for buf, exclusive.buf, exclusive.BufferUnderflowException - when buf is incomplete. (EOF)SecurityException - on an upper limit breach defined by colferSizeMax.InputMismatchException - when the data does not match this object's schema.public String getAccountNo()
public void setAccountNo(String value)
value - the replacement.public String getAccountType()
public void setAccountType(String value)
value - the replacement.public String getAccountName()
public void setAccountName(String value)
value - the replacement.public float getBalance()
public void setBalance(float value)
value - the replacement.public float getDebit()
public void setDebit(float value)
value - the replacement.public float getCredit()
public void setCredit(float value)
value - the replacement.public final boolean equals(Account o)
Copyright © 2019. All rights reserved.