public class PatientIdentifierType extends BaseOpenmrsMetadata implements java.io.Serializable
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
|
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
PatientIdentifierType()
default constructor
|
PatientIdentifierType(java.lang.Integer patientIdentifierTypeId)
constructor with id
|
Modifier and Type | Method and Description |
---|---|
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() |
PatientIdentifierType.LocationBehavior |
getLocationBehavior() |
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.
|
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 |
setLocationBehavior(PatientIdentifierType.LocationBehavior locationBehavior) |
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.
|
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public PatientIdentifierType()
public PatientIdentifierType(java.lang.Integer patientIdentifierTypeId)
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 PatientIdentifierType.LocationBehavior getLocationBehavior()
public void setLocationBehavior(PatientIdentifierType.LocationBehavior locationBehavior)
locationBehavior
- The locationBehavior to setpublic 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 BaseOpenmrsObject
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)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.