public class PatientIdentifierType extends BaseOpenmrsMetadata implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
PatientIdentifierType()
default constructor
|
PatientIdentifierType(Integer patientIdentifierTypeId)
constructor with id
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares two objects for similarity
|
Boolean |
getCheckDigit()
Deprecated.
No need to know if it has a check digit now that any validator algorithm can be
chosen.
|
String |
getFormat() |
String |
getFormatDescription() |
Integer |
getId() |
Integer |
getPatientIdentifierTypeId() |
Boolean |
getRequired() |
String |
getValidator() |
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(Boolean checkDigit)
Deprecated.
No need for this field now that any validator algorithm can be chosen.
|
void |
setFormat(String format) |
void |
setFormatDescription(String formatDescription) |
void |
setId(Integer id) |
void |
setPatientIdentifierTypeId(Integer patientIdentifierTypeId) |
void |
setRequired(Boolean required) |
void |
setValidator(String validator) |
String |
toString()
TODO: make this return a more debug-worth string instead of just the name.
|
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
getUuid, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public PatientIdentifierType()
public PatientIdentifierType(Integer patientIdentifierTypeId)
public boolean equals(Object obj)
public String getFormatDescription()
public void setFormatDescription(String formatDescription)
formatDescription
- The formatDescription to set.public Boolean getRequired()
public void setRequired(Boolean required)
required
- The required to set.public String getFormat()
public void setFormat(String format)
format
- The format to set.public Integer getPatientIdentifierTypeId()
public void setPatientIdentifierTypeId(Integer patientIdentifierTypeId)
patientIdentifierTypeId
- The patientIdentifierTypeId to set.public Boolean getCheckDigit()
public Boolean hasCheckDigit()
public void setCheckDigit(Boolean checkDigit)
checkDigit
- The checkdigit to set.public String getValidator()
public void setValidator(String validator)
public boolean hasValidator()
public String toString()
toString
in class Object
Object.toString()
public Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.