Package com.ibm.fhir.persistence.erase
Class EraseDTO
- java.lang.Object
 - 
- com.ibm.fhir.persistence.erase.EraseDTO
 
 
- 
public class EraseDTO extends Object
The data transfer object with the necessary elements used to process the Erase of a resource specified byTYPE/LOGICAL_ID[/version]. 
- 
- 
Constructor Summary
Constructors Constructor Description EraseDTO() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgenerateReference()Generates a reference from the input.StringgetLogicalId()StringgetPatient()StringgetReason()StringgetResourceType()IntegergetVersion()voidsetLogicalId(String logicalId)voidsetPatient(String patient)sets the identifier.voidsetReason(String reason)voidsetResourceType(String resourceType)voidsetVersion(Integer version)StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getPatient
public String getPatient()
- Returns:
 - the patient identifier
 
 
- 
setPatient
public void setPatient(String patient)
sets the identifier.- Parameters:
 patient- the patient identifier
 
- 
getReason
public String getReason()
- Returns:
 - the reason
 
 
- 
setReason
public void setReason(String reason)
- Parameters:
 reason- the reason to set
 
- 
getResourceType
public String getResourceType()
- Returns:
 - the resourceType
 
 
- 
setResourceType
public void setResourceType(String resourceType)
- Parameters:
 resourceType- the resourceType to set
 
- 
getLogicalId
public String getLogicalId()
- Returns:
 - the logicalId
 
 
- 
setLogicalId
public void setLogicalId(String logicalId)
- Parameters:
 logicalId- the logicalId to set
 
- 
getVersion
public Integer getVersion()
- Returns:
 - the version
 
 
- 
setVersion
public void setVersion(Integer version)
- Parameters:
 version- the version to set
 
- 
generateReference
public String generateReference()
Generates a reference from the input.- Returns:
 
 
 - 
 
 -