org.zeroexchange.model.resource.participant
Class Need

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

@Entity
public class Need
extends ResourceTender

Author:
black
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.zeroexchange.model.resource.participant.ResourceTender
FIELD_ACCEPTED, FIELD_AMOUNT, FIELD_RESOURCE, FIELD_USER
 
Fields inherited from interface org.zeroexchange.model.SharedViewable
FIELD_VIEWERS
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
Need()
           
 
Method Summary
 Date getCompletionDate()
           
 Set<User> getViewers()
          Returns viewers collection.
 void setCompletionDate(Date completionDate)
           
 void setViewers(Set<User> viewers)
           
 
Methods inherited from class org.zeroexchange.model.resource.participant.ResourceTender
getAcceptDate, getAdditionalInfo, getAmount, getLocation, getResource, getUser, setAcceptDate, setAdditionalInfo, setAmount, setLocation, setResource, setUser
 
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
 

Constructor Detail

Need

public Need()
Method Detail

getCompletionDate

public Date getCompletionDate()
Returns:
the completionDate

setCompletionDate

public void setCompletionDate(Date completionDate)
Parameters:
completionDate - the completionDate to set

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.