org.openmrs
Class FieldType

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.BaseOpenmrsMetadata
          extended by org.openmrs.FieldType
All Implemented Interfaces:
java.io.Serializable, Auditable, OpenmrsMetadata, OpenmrsObject, Retireable

public class FieldType
extends BaseOpenmrsMetadata
implements java.io.Serializable

FieldType

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
FieldType()
          default constructor
FieldType(java.lang.Integer fieldTypeId)
          constructor with id
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares two objects for similarity
 java.lang.Integer getFieldTypeId()
           
 java.lang.Integer getId()
           
 java.lang.Boolean getIsSet()
           
 int hashCode()
           
 void setFieldTypeId(java.lang.Integer fieldTypeId)
           
 void setId(java.lang.Integer id)
           
 void setIsSet(java.lang.Boolean isSet)
           
 
Methods inherited from class org.openmrs.BaseOpenmrsMetadata
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
 
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
 
Methods inherited from interface org.openmrs.OpenmrsObject
getUuid, setUuid
 

Field Detail

serialVersionUID

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

FieldType

public FieldType()
default constructor


FieldType

public FieldType(java.lang.Integer fieldTypeId)
constructor with id

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

getFieldTypeId

public java.lang.Integer getFieldTypeId()
Returns:
Returns the fieldTypeId.

setFieldTypeId

public void setFieldTypeId(java.lang.Integer fieldTypeId)
Parameters:
fieldTypeId - The fieldTypeId to set.

getIsSet

public java.lang.Boolean getIsSet()
Returns:
Returns the isSet.

setIsSet

public void setIsSet(java.lang.Boolean isSet)
Parameters:
isSet - The isSet 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