|
|||||||||
| Home >> All >> com >> pjsofts >> eurobudget >> [ beans overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.pjsofts.eurobudget.beans
Class TransactionExt

java.lang.Objectcom.pjsofts.eurobudget.beans.TransactionExt
- All Implemented Interfaces:
- java.io.Serializable, java.awt.datatransfer.Transferable
- public class TransactionExt
- extends java.lang.Object
- implements java.awt.datatransfer.Transferable, java.io.Serializable
- extends java.lang.Object
JavaBean Not really used yet . Idea is to used this one to extand capabilities of Transaction in its export(improve transferable methods or add new members data like sum or account) Extends our Transaction class without modifying the serialization
| Field Summary | |
private Account |
account
|
private static java.util.ResourceBundle |
i8n
|
private double |
solde
|
private Transaction |
txn
|
| Constructor Summary | |
TransactionExt()
Creates a new instance of TransactionExt |
|
TransactionExt(Transaction t,
Account account,
double solde)
|
|
| Method Summary | |
Account |
getAccount()
Getter for property account. |
double |
getSolde()
Getter for property solde. |
java.lang.Object |
getTransferData(java.awt.datatransfer.DataFlavor flavor)
Returns an object which represents the data to be transferred. |
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors()
Returns an array of DataFlavor objects indicating the flavors the data can be provided in. |
Transaction |
getTxn()
Getter for property txn. |
boolean |
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
Returns whether or not the specified data flavor is supported for this object. |
void |
setAccount(Account account)
Setter for property account. |
void |
setSolde(double solde)
Setter for property solde. |
void |
setTxn(Transaction txn)
Setter for property txn. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
txn
private Transaction txn
account
private Account account
solde
private double solde
i8n
private static final transient java.util.ResourceBundle i8n
| Constructor Detail |
TransactionExt
public TransactionExt()
- Creates a new instance of TransactionExt
TransactionExt
public TransactionExt(Transaction t, Account account, double solde)
| Method Detail |
getTxn
public Transaction getTxn()
- Getter for property txn.
setTxn
public void setTxn(Transaction txn)
- Setter for property txn.
getAccount
public Account getAccount()
- Getter for property account.
setAccount
public void setAccount(Account account)
- Setter for property account.
getSolde
public double getSolde()
- Getter for property solde.
setSolde
public void setSolde(double solde)
- Setter for property solde.
getTransferData
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor) throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
- Returns an object which represents the data to be transferred. The class
of the object returned is defined by the representation class of the flavor.
- Specified by:
getTransferDatain interfacejava.awt.datatransfer.Transferable
getTransferDataFlavors
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
- Returns an array of DataFlavor objects indicating the flavors the data
can be provided in. The array should be ordered according to preference
for providing the data (from most richly descriptive to least descriptive).
- Specified by:
getTransferDataFlavorsin interfacejava.awt.datatransfer.Transferable
isDataFlavorSupported
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
- Returns whether or not the specified data flavor is supported for
this object.
- Specified by:
isDataFlavorSupportedin interfacejava.awt.datatransfer.Transferable
toString
public java.lang.String toString()
- Returns a string representation of the object. In general, the
toStringmethod returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.The
toStringmethod for classObjectreturns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:getClass().getName() + '@' + Integer.toHexString(hashCode())
|
|||||||||
| Home >> All >> com >> pjsofts >> eurobudget >> [ beans overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.pjsofts.eurobudget.beans.TransactionExt