|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.BaseOpenmrsObject org.openmrs.BaseOpenmrsMetadata org.openmrs.PatientIdentifierType
public class PatientIdentifierType
PatientIdentifierType
Field Summary | |
---|---|
static long |
serialVersionUID
|
Constructor Summary | |
---|---|
PatientIdentifierType()
default constructor |
|
PatientIdentifierType(java.lang.Integer patientIdentifierTypeId)
constructor with id |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares two objects for similarity |
java.lang.Boolean |
getCheckDigit()
Deprecated. No need to know if it has a check digit now that any validator algorithm can be chosen. |
java.lang.String |
getFormat()
|
java.lang.String |
getFormatDescription()
|
java.lang.Integer |
getId()
|
java.lang.Integer |
getPatientIdentifierTypeId()
|
java.lang.Boolean |
getRequired()
|
java.lang.String |
getValidator()
|
java.lang.Boolean |
hasCheckDigit()
Deprecated. No need to know if it has a check digit now that any validator algorithm can be chosen. |
int |
hashCode()
|
boolean |
hasValidator()
|
void |
setCheckDigit(java.lang.Boolean checkDigit)
Deprecated. No need for this field now that any validator algorithm can be chosen. |
void |
setFormat(java.lang.String format)
|
void |
setFormatDescription(java.lang.String formatDescription)
|
void |
setId(java.lang.Integer id)
|
void |
setPatientIdentifierTypeId(java.lang.Integer patientIdentifierTypeId)
|
void |
setRequired(java.lang.Boolean required)
|
void |
setValidator(java.lang.String validator)
|
java.lang.String |
toString()
TODO: make this return a more debug-worth string instead of just the name. |
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, wait, wait, wait |
Methods inherited from interface org.openmrs.OpenmrsObject |
---|
getUuid, setUuid |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public PatientIdentifierType()
public PatientIdentifierType(java.lang.Integer patientIdentifierTypeId)
Method Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
public java.lang.String getFormatDescription()
public void setFormatDescription(java.lang.String formatDescription)
formatDescription
- The formatDescription to set.public java.lang.Boolean getRequired()
public void setRequired(java.lang.Boolean required)
required
- The required to set.public java.lang.String getFormat()
public void setFormat(java.lang.String format)
format
- The format to set.public java.lang.Integer getPatientIdentifierTypeId()
public void setPatientIdentifierTypeId(java.lang.Integer patientIdentifierTypeId)
patientIdentifierTypeId
- The patientIdentifierTypeId to set.public java.lang.Boolean getCheckDigit()
public java.lang.Boolean hasCheckDigit()
public void setCheckDigit(java.lang.Boolean checkDigit)
checkDigit
- The checkdigit to set.public java.lang.String getValidator()
public void setValidator(java.lang.String validator)
public boolean hasValidator()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |