org.zeroexchange.model.resource.participant
Class Supply
java.lang.Object
org.zeroexchange.model.Persistent
org.zeroexchange.model.IntegerPKPersistent
org.zeroexchange.model.resource.participant.ResourceTender
org.zeroexchange.model.resource.participant.Supply
- All Implemented Interfaces:
- Serializable, Identifiable<Integer>, SharedViewable
@Entity
public class Supply
- extends ResourceTender
- Author:
- black
- See Also:
- Serialized Form
Methods inherited from class org.zeroexchange.model.resource.participant.ResourceTender |
getAcceptDate, getAdditionalInfo, getAmount, getLocation, getResource, getUser, setAcceptDate, setAdditionalInfo, setAmount, setLocation, setResource, setUser |
FIELD_TOTAL_PRICE
public static final String FIELD_TOTAL_PRICE
- See Also:
- Constant Field Values
Supply
public Supply()
getHours
public BigDecimal getHours()
- Returns:
- the hours
setHours
public void setHours(BigDecimal hours)
- Parameters:
hours
- the hours to set
getTotalPrice
public BigDecimal getTotalPrice()
setTotalPrice
public void setTotalPrice(BigDecimal totalPrice)
getCurrency
public ZECurrency getCurrency()
setCurrency
public void setCurrency(ZECurrency currency)
getPriceType
public PriceType getPriceType()
setPriceType
public void setPriceType(PriceType priceType)
getSupplyTime
public Date getSupplyTime()
setSupplyTime
public void setSupplyTime(Date supplyTime)
getViewers
public Set<User> getViewers()
- Description copied from interface:
SharedViewable
- Returns viewers collection.
NOTE: this method should NOT return null!
setViewers
public void setViewers(Set<User> viewers)
Copyright © 2013. All Rights Reserved.