public class PatientIdentifierType extends BaseChangeableOpenmrsMetadata
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
PatientIdentifierType.LocationBehavior
Enumerates the possible ways that location may be applicable for a particular Patient
 Identifer Type 
 | 
static class  | 
PatientIdentifierType.UniquenessBehavior
Enumeration for the way to handle uniqueness among identifiers for a given identifier type 
 | 
| 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 | 
|---|---|
String | 
getFormat()  | 
String | 
getFormatDescription()  | 
Integer | 
getId()  | 
PatientIdentifierType.LocationBehavior | 
getLocationBehavior()  | 
Integer | 
getPatientIdentifierTypeId()  | 
Boolean | 
getRequired()  | 
PatientIdentifierType.UniquenessBehavior | 
getUniquenessBehavior()  | 
String | 
getValidator()  | 
boolean | 
hasValidator()  | 
void | 
setFormat(String format)  | 
void | 
setFormatDescription(String formatDescription)  | 
void | 
setId(Integer id)  | 
void | 
setLocationBehavior(PatientIdentifierType.LocationBehavior locationBehavior)  | 
void | 
setPatientIdentifierTypeId(Integer patientIdentifierTypeId)  | 
void | 
setRequired(Boolean required)  | 
void | 
setUniquenessBehavior(PatientIdentifierType.UniquenessBehavior uniquenessBehavior)  | 
void | 
setValidator(String validator)  | 
String | 
toString()
Returns a string equal to the value of: ClassName{hashCode=...,
 uuid=...} 
 | 
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReasonequals, getUuid, hashCode, setUuidclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUuid, setUuidpublic static final long serialVersionUID
public PatientIdentifierType()
public PatientIdentifierType(Integer patientIdentifierTypeId)
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 PatientIdentifierType.LocationBehavior getLocationBehavior()
public void setLocationBehavior(PatientIdentifierType.LocationBehavior locationBehavior)
locationBehavior - The locationBehavior to setpublic PatientIdentifierType.UniquenessBehavior getUniquenessBehavior()
public void setUniquenessBehavior(PatientIdentifierType.UniquenessBehavior uniquenessBehavior)
uniquenessBehavior - the uniquenessBehavior to setpublic 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 String getValidator()
public void setValidator(String validator)
public boolean hasValidator()
public String toString()
BaseOpenmrsObjectClassName{hashCode=..., uuid=...}
 If the uuid field is null, it returns: 
ClassName{hashCode=...}Should include hashCode if uuid is null Should include uuid if not null
toString in class BaseOpenmrsObjectObject.toString()public Integer getId()
OpenmrsObject.getId()public void setId(Integer id)
id - - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)Copyright © 2024 OpenMRS Inc.. All rights reserved.