public class PersonMergeLog extends BaseOpenmrsData
Person
is represented by getWinner()
, the non-preferred Person
by
getLoser()
and the the User
who performed the merged by
BaseOpenmrsData.getCreator()
. The details of the merge is represented in XML and stored in
getPersonMergeLogData()
.PersonMergeLogData
,
PersonService.savePersonMergeLog(PersonMergeLog)
,
Serialized Formcreator
Constructor and Description |
---|
PersonMergeLog() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getId() |
Person |
getLoser() |
PersonMergeLogData |
getPersonMergeLogData() |
java.lang.Integer |
getPersonMergeLogId() |
java.lang.String |
getSerializedMergedData() |
Person |
getWinner() |
void |
setId(java.lang.Integer id) |
void |
setLoser(Person loser) |
void |
setPersonMergeLogData(PersonMergeLogData personMergeLogData) |
void |
setPersonMergeLogId(java.lang.Integer personMergeLogId) |
void |
setSerializedMergedData(java.lang.String serializedMergedData) |
void |
setWinner(Person winner) |
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateVoided, getVoided, getVoidedBy, getVoidReason, isVoided, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateVoided, setVoided, setVoidedBy, setVoidReason
equals, getUuid, hashCode, setUuid, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public java.lang.Integer getPersonMergeLogId()
public void setPersonMergeLogId(java.lang.Integer personMergeLogId)
public Person getWinner()
public void setWinner(Person winner)
public Person getLoser()
public void setLoser(Person loser)
public java.lang.String getSerializedMergedData()
public void setSerializedMergedData(java.lang.String serializedMergedData)
public PersonMergeLogData getPersonMergeLogData()
public void setPersonMergeLogData(PersonMergeLogData personMergeLogData)
public void setId(java.lang.Integer id)
id
- - The unique Identifier for the objectpublic java.lang.Integer getId()
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.