mam.agent.economy
Class Account


public class Account
implements Cloneable, Serializable


Field Summary
 final static StringDEFAULT_TAG_NAME
           
 final static StringFUNDS_TAG_NAME
           
 (package private) Doublem_attrFunds
           

Constructor Summary
Account()
           
Account(Account original)
           
Account(double startingFunds)
           
Account(Double startingFunds)
           

Method Summary
 voidfromXmlElement(Element source)
           
 DoublegetFunds()
           
 voidsetFunds(Double funds)
           
 StringtoString()
           
 ElementtoXmlElement()
           
 ElementtoXmlElement(String tagName)
           

Field Detail

DEFAULT_TAG_NAME

public final static String DEFAULT_TAG_NAME

FUNDS_TAG_NAME

public final static String FUNDS_TAG_NAME

m_attrFunds

Double m_attrFunds
Constructor Detail

Account

public Account()

Account

public Account(Account original)

Account

public Account(double startingFunds)

Account

public Account(Double startingFunds)
Method Detail

fromXmlElement

public void fromXmlElement(Element source)

getFunds

public Double getFunds()

setFunds

public void setFunds(Double funds)

toString

public String toString()

toXmlElement

public Element toXmlElement()

toXmlElement

public Element toXmlElement(String tagName)