org.openmrs
Class FieldAnswer

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.FieldAnswer
All Implemented Interfaces:
java.io.Serializable, OpenmrsObject

public class FieldAnswer
extends BaseOpenmrsObject
implements java.io.Serializable

FieldAnswer

Version:
1.0
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
FieldAnswer()
          default constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares two objects for similarity
 Concept getConcept()
           
 User getCreator()
           
 java.util.Date getDateCreated()
           
 Field getField()
           
 java.lang.Integer getId()
           
 int hashCode()
           
 boolean isDirty()
           
 void setClean()
           
 void setConcept(Concept concept)
           
 void setCreator(User creator)
           
 void setDateCreated(java.util.Date dateCreated)
           
 void setField(Field field)
           
 void setId(java.lang.Integer id)
           
 
Methods inherited from class org.openmrs.BaseOpenmrsObject
getUuid, setUuid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

FieldAnswer

public FieldAnswer()
default constructor

Method Detail

equals

public boolean equals(java.lang.Object obj)
Compares two objects for similarity

Overrides:
equals in class java.lang.Object
Parameters:
obj -
Returns:
boolean true/false whether or not they are the same objects

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

isDirty

public boolean isDirty()
Returns:
boolean whether or not this fieldAnswer has been modified

setClean

public void setClean()

getConcept

public Concept getConcept()
Returns:
Returns the concept.

setConcept

public void setConcept(Concept concept)
Parameters:
concept - The concept to set.

getCreator

public User getCreator()
Returns:
Returns the creator.

setCreator

public void setCreator(User creator)
Parameters:
creator - The creator to set.

getDateCreated

public java.util.Date getDateCreated()
Returns:
Returns the dateCreated.

setDateCreated

public void setDateCreated(java.util.Date dateCreated)
Parameters:
dateCreated - The dateCreated to set.

getField

public Field getField()
Returns:
Returns the field.

setField

public void setField(Field field)
Parameters:
field - The field to set.

getId

public java.lang.Integer getId()
Specified by:
getId in interface OpenmrsObject
Returns:
id - The unique Identifier for the object
Since:
1.5
See Also:
OpenmrsObject.getId()

setId

public void setId(java.lang.Integer id)
Specified by:
setId in interface OpenmrsObject
Parameters:
id - - The unique Identifier for the object
Since:
1.5
See Also:
OpenmrsObject.setId(java.lang.Integer)

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change