public class PersonMergeLog extends BaseChangeableOpenmrsData
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 |
---|---|
Integer |
getId() |
Person |
getLoser() |
PersonMergeLogData |
getPersonMergeLogData() |
Integer |
getPersonMergeLogId() |
String |
getSerializedMergedData() |
Person |
getWinner() |
void |
setId(Integer id) |
void |
setLoser(Person loser) |
void |
setPersonMergeLogData(PersonMergeLogData personMergeLogData) |
void |
setPersonMergeLogId(Integer personMergeLogId) |
void |
setSerializedMergedData(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 Integer getPersonMergeLogId()
public void setPersonMergeLogId(Integer personMergeLogId)
public Person getWinner()
public void setWinner(Person winner)
public Person getLoser()
public void setLoser(Person loser)
public String getSerializedMergedData()
public void setSerializedMergedData(String serializedMergedData)
public PersonMergeLogData getPersonMergeLogData()
public void setPersonMergeLogData(PersonMergeLogData personMergeLogData)
public void setId(Integer id)
id
- - The unique Identifier for the objectpublic Integer getId()
Copyright © 2024 OpenMRS Inc.. All rights reserved.