org.springframework.batch.io.oxm.domain
Class Trade

java.lang.Object
  extended by org.springframework.batch.io.oxm.domain.Trade

public class Trade
extends Object

Author:
Rob Harrop

Constructor Summary
Trade()
           
Trade(String isin, long quantity, BigDecimal price, String customer)
           
 
Method Summary
 boolean equals(Object o)
           
 String getCustomer()
           
 String getIsin()
           
 BigDecimal getPrice()
           
 long getQuantity()
           
 int hashCode()
           
 void setCustomer(String customer)
           
 void setIsin(String isin)
           
 void setPrice(BigDecimal price)
           
 void setQuantity(long quantity)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Trade

public Trade()

Trade

public Trade(String isin,
             long quantity,
             BigDecimal price,
             String customer)
Method Detail

setCustomer

public void setCustomer(String customer)

setIsin

public void setIsin(String isin)

setPrice

public void setPrice(BigDecimal price)

setQuantity

public void setQuantity(long quantity)

getIsin

public String getIsin()

getPrice

public BigDecimal getPrice()

getQuantity

public long getQuantity()

getCustomer

public String getCustomer()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008 SpringSource. All Rights Reserved.