org.zeroexchange.model.resource.participant
Class ResourceTender

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.IntegerPKPersistent
          extended by org.zeroexchange.model.resource.participant.ResourceTender
All Implemented Interfaces:
Serializable, Identifiable<Integer>, SharedViewable
Direct Known Subclasses:
Need, Supply

@MappedSuperclass
public abstract class ResourceTender
extends IntegerPKPersistent
implements SharedViewable

Author:
black
See Also:
Serialized Form

Field Summary
static String FIELD_ACCEPTED
           
static String FIELD_AMOUNT
           
static String FIELD_RESOURCE
           
static String FIELD_USER
           
 
Fields inherited from interface org.zeroexchange.model.SharedViewable
FIELD_VIEWERS
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
ResourceTender()
           
 
Method Summary
 Date getAcceptDate()
           
 String getAdditionalInfo()
           
 BigDecimal getAmount()
           
 Location getLocation()
           
 Resource getResource()
           
 User getUser()
           
 void setAcceptDate(Date acceptDate)
           
 void setAdditionalInfo(String additionalInfo)
           
 void setAmount(BigDecimal amount)
           
 void setLocation(Location location)
           
 void setResource(Resource resource)
           
 void setUser(User user)
           
 
Methods inherited from class org.zeroexchange.model.IntegerPKPersistent
equals, getId, hashCode, setId
 
Methods inherited from class org.zeroexchange.model.Persistent
getTransientValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.zeroexchange.model.SharedViewable
getViewers
 

Field Detail

FIELD_RESOURCE

public static final String FIELD_RESOURCE
See Also:
Constant Field Values

FIELD_ACCEPTED

public static final String FIELD_ACCEPTED
See Also:
Constant Field Values

FIELD_USER

public static final String FIELD_USER
See Also:
Constant Field Values

FIELD_AMOUNT

public static final String FIELD_AMOUNT
See Also:
Constant Field Values
Constructor Detail

ResourceTender

public ResourceTender()
Method Detail

getUser

public User getUser()
Returns:
the user

setUser

public void setUser(User user)
Parameters:
user - the user to set

getResource

public Resource getResource()
Returns:
the resource

setResource

public void setResource(Resource resource)
Parameters:
resource - the resource to set

getAcceptDate

public Date getAcceptDate()
Returns:
the acceptDate

setAcceptDate

public void setAcceptDate(Date acceptDate)
Parameters:
acceptDate - the acceptDate to set

getAdditionalInfo

public String getAdditionalInfo()

setAdditionalInfo

public void setAdditionalInfo(String additionalInfo)

getAmount

public BigDecimal getAmount()
Returns:
the amount

setAmount

public void setAmount(BigDecimal amount)
Parameters:
amount - the amount to set

getLocation

public Location getLocation()

setLocation

public void setLocation(Location location)


Copyright © 2013. All Rights Reserved.