|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tenduke.types.AbstractBindableObject
com.tenduke.objectmodel.TendukeObject
com.tenduke.objectmodel.CreditAccountEntry
public class CreditAccountEntry
Credit account event. A set of CreditAccountEntry objects represent all events that affect credit account balance. Credit account may be represented by a CreditAccount object, or it can be external.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.tenduke.objectmodel.TendukeObject |
|---|
TendukeObject.CreatedDateComparator<T extends TendukeObject>, TendukeObject.ModifiedDateComparator<T extends TendukeObject> |
| Field Summary | |
|---|---|
static int |
FIELD_LENGTH_DESCRIPTION
Constant for maximum length of credit account entry description fields value. |
static int |
FIELD_LENGTH_PAYER_NAME
Constant for maximum length of credit account entry payer name fields value. |
static int |
FIELD_LENGTH_PAYMENT_METHOD
Constant for maximum length of credit account entry payment methods fields value. |
static int |
FIELD_LENGTH_RECIPIENT_NAME
Constant for maximum length of credit account entry recipient name fields value. |
static int |
FIELD_LENGTH_SUMMARY
Constant for maximum length of credit account entry summary fields value. |
static java.lang.String |
FIELD_NAME_CREDIT_ACCOUNT
Constant for name of field that holds credit account based on relation. |
static java.lang.String |
FIELD_NAME_CREDIT_ACCOUNT_ENTRY_OWNER
Constant for name of field that holds entry owner based on relation. |
static java.lang.String |
FIELD_NAME_CREDIT_ACCOUNT_ID
Constant for name of credit account id field. |
static java.lang.String |
FIELD_NAME_DESCRIPTION
Constant for name of credit account entry description field. |
static java.lang.String |
FIELD_NAME_OWNER_PROFILE_ID
Constant for name of credit account entry owner profile id field. |
static java.lang.String |
FIELD_NAME_PAYER_NAME
Constant for name of credit account entry payer name field. |
static java.lang.String |
FIELD_NAME_PAYMENT_CREDITS
Constant for name of credit account entry credit amount method field. |
static java.lang.String |
FIELD_NAME_PAYMENT_METHOD
Constant for name of credit account entry paymemt method field. |
static java.lang.String |
FIELD_NAME_RECIPIENT_NAME
Constant for name of credit account entry recipient name field. |
static java.lang.String |
FIELD_NAME_SUMMARY
Constant for name of credit account entry summary field. |
| Fields inherited from class com.tenduke.types.AbstractBindableObject |
|---|
FIELD_LENGTH_SHORT_ID, FIELD_NAME_OBJECT_STATE_CHANGE, FIELD_NAME_REPLACES_OBJECT, FIELD_NAME_SHORT_ID, PERMISSION_ACTION_CREATE, PERMISSION_ACTION_DELETE, PERMISSION_ACTION_MODIFY, PERMISSION_ACTION_READ |
| Constructor Summary | |
|---|---|
CreditAccountEntry()
Creates new instance of CreditAccountEntry with null id. |
|
CreditAccountEntry(java.util.UUID creditAccountEntryId)
Creates new instance of CreditAccountEntry with caller defined id. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones instance of CreditAccountEntry. |
protected void |
copyThis(CreditAccountEntry result)
Copy this instance's field values to argument instance of CreditAccountEntry. |
CreditAccount |
getCreditAccount()
Gets the credit account this entry belongs to. |
java.util.UUID |
getCreditAccountEntryId()
Gets the id of this object. |
java.util.UUID |
getCreditAccountId()
Gets id of credit account this entry belongs to. |
java.lang.Double |
getCredits()
Gets the amount of credits this entry represents. |
java.lang.String |
getDescription()
Gets textual description for this entry. |
java.util.UUID |
getId()
Gets CreditAccountEntry object's id. |
Profile |
getOwnerProfile()
Gets the owner of this credit account entry. |
java.util.UUID |
getOwnerProfileId()
Gets entry owner profile's id. |
java.lang.String |
getPayerName()
Gets payer's name. |
java.lang.String |
getPaymentMethod()
Gets the method of payment that produced this entry. |
java.lang.String |
getRecipientName()
Gets recipient's name. |
java.lang.String |
getSummary()
Gets the textual summary for this entry. |
void |
setCreditAccount(CreditAccount creditAccount)
Sets the credit account this entry belongs to. |
void |
setCreditAccountEntryId(java.util.UUID creditAccountEntryId)
Sets the id of this object. |
void |
setCreditAccountId(java.util.UUID creditAccountId)
Sets id of credit account this entry belongs to. |
void |
setCredits(java.lang.Double credits)
Sets amount of credits this entry represents. |
void |
setDescription(java.lang.String description)
Sets textual description for this entry. |
void |
setId(java.util.UUID id)
Sets CreditAccountEntry object's id. |
void |
setOwnerProfile(Profile ownerProfile)
Sets the owner profile of this credit account entry. |
void |
setOwnerProfileId(java.util.UUID ownerProfileId)
Sets entry owner profile's id. |
void |
setPayerName(java.lang.String payerName)
Sets payer's name. |
void |
setPaymentMethod(java.lang.String paymentMethod)
Sets method of payment that produced this entry. |
void |
setRecipientName(java.lang.String recipientName)
Sets recipient's name. |
void |
setSummary(java.lang.String summary)
Sets textual summary for this entry. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int FIELD_LENGTH_DESCRIPTION
public static final int FIELD_LENGTH_PAYER_NAME
public static final int FIELD_LENGTH_PAYMENT_METHOD
public static final int FIELD_LENGTH_RECIPIENT_NAME
public static final int FIELD_LENGTH_SUMMARY
public static final java.lang.String FIELD_NAME_CREDIT_ACCOUNT
public static final java.lang.String FIELD_NAME_CREDIT_ACCOUNT_ENTRY_OWNER
public static final java.lang.String FIELD_NAME_CREDIT_ACCOUNT_ID
public static final java.lang.String FIELD_NAME_DESCRIPTION
public static final java.lang.String FIELD_NAME_OWNER_PROFILE_ID
public static final java.lang.String FIELD_NAME_PAYER_NAME
public static final java.lang.String FIELD_NAME_PAYMENT_CREDITS
public static final java.lang.String FIELD_NAME_PAYMENT_METHOD
public static final java.lang.String FIELD_NAME_RECIPIENT_NAME
public static final java.lang.String FIELD_NAME_SUMMARY
| Constructor Detail |
|---|
public CreditAccountEntry()
public CreditAccountEntry(java.util.UUID creditAccountEntryId)
| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class TendukeObjectjava.lang.CloneNotSupportedException - clone is implemented, exception is not thrown explicitly.protected void copyThis(CreditAccountEntry result)
result - The result data to overwrite with this instances members values,
null accepted but noting is copied in that case.public CreditAccount getCreditAccount()
public java.util.UUID getCreditAccountEntryId()
public java.util.UUID getCreditAccountId()
public java.lang.Double getCredits()
public java.lang.String getDescription()
getDescription in interface DescriptionObjectpublic java.util.UUID getId()
getId in interface SerializableObjectgetId in class AbstractBindableObjectpublic Profile getOwnerProfile()
public java.util.UUID getOwnerProfileId()
public java.lang.String getPayerName()
public java.lang.String getPaymentMethod()
public java.lang.String getRecipientName()
public java.lang.String getSummary()
public void setCreditAccount(CreditAccount creditAccount)
creditAccount - credit account this entry belongs to.public void setCreditAccountEntryId(java.util.UUID creditAccountEntryId)
creditAccountEntryId - id to set for this object.public void setCreditAccountId(java.util.UUID creditAccountId)
creditAccountId - id of credit account this entry belongs to.public void setCredits(java.lang.Double credits)
credits - amount of credits this entry represents.public void setDescription(java.lang.String description)
setDescription in interface DescriptionObjectdescription - textual description for this entry.public void setId(java.util.UUID id)
setId in interface SerializableObjectsetId in class AbstractBindableObjectid - CreditAccountEntry object's id to set.public void setOwnerProfile(Profile ownerProfile)
ownerProfile - Owner profilepublic void setOwnerProfileId(java.util.UUID ownerProfileId)
ownerProfileId - entry owner profile's id.public void setPayerName(java.lang.String payerName)
payerName - payer's name.public void setPaymentMethod(java.lang.String paymentMethod)
paymentMethod - method of payment that produced this entry.public void setRecipientName(java.lang.String recipientName)
recipientName - recipient's name.public void setSummary(java.lang.String summary)
summary - textual summary for this entry.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||