org.zeroexchange.model.user.assessment
Class Assessment

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.IntegerPKPersistent
          extended by org.zeroexchange.model.user.assessment.Assessment
All Implemented Interfaces:
Serializable, Identifiable<Integer>
Direct Known Subclasses:
BusinessQuality, Expensiveness

@Entity
public abstract class Assessment
extends IntegerPKPersistent

The Resource assessment. NOTE:this entity should NOT refer any 'mortal' contract-related entities (such as Resource).

Author:
black
See Also:
Serialized Form

Field Summary
static String FIELD_EVALUABLE
           
static String FIELD_SUPPLY
           
static String FIELD_VALUER
           
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
Assessment()
           
 
Method Summary
 Long getAssessDate()
           
 String getCommentary()
           
 User getEvaluable()
           
 User getValuer()
           
 void setAssessDate(Long assessDate)
           
 void setCommentary(String commentary)
           
 void setEvaluable(User evaluable)
           
 void setValuer(User valuer)
           
 
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
 

Field Detail

FIELD_SUPPLY

public static final String FIELD_SUPPLY
See Also:
Constant Field Values

FIELD_EVALUABLE

public static final String FIELD_EVALUABLE
See Also:
Constant Field Values

FIELD_VALUER

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

Assessment

public Assessment()
Method Detail

getAssessDate

public Long getAssessDate()
Returns:
the assessDate

setAssessDate

public void setAssessDate(Long assessDate)
Parameters:
assessDate - the assessDate to set

getCommentary

public String getCommentary()
Returns:
the commentary

setCommentary

public void setCommentary(String commentary)
Parameters:
commentary - the commentary to set

getValuer

public User getValuer()

setValuer

public void setValuer(User valuer)

getEvaluable

public User getEvaluable()

setEvaluable

public void setEvaluable(User evaluable)


Copyright © 2013. All Rights Reserved.