Class EraseDTO
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.erase.EraseDTO
-
public class EraseDTO extends java.lang.ObjectThe 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 java.lang.StringgenerateReference()Generates a reference from the input.java.lang.StringgetLogicalId()java.lang.StringgetPatient()java.lang.StringgetReason()java.lang.StringgetResourceType()java.lang.IntegergetVersion()voidsetLogicalId(java.lang.String logicalId)voidsetPatient(java.lang.String patient)sets the identifier.voidsetReason(java.lang.String reason)voidsetResourceType(java.lang.String resourceType)voidsetVersion(java.lang.Integer version)java.lang.StringtoString()
-
-
-
Method Detail
-
getPatient
public java.lang.String getPatient()
- Returns:
- the patient identifier
-
setPatient
public void setPatient(java.lang.String patient)
sets the identifier.- Parameters:
patient- the patient identifier
-
getReason
public java.lang.String getReason()
- Returns:
- the reason
-
setReason
public void setReason(java.lang.String reason)
- Parameters:
reason- the reason to set
-
getResourceType
public java.lang.String getResourceType()
- Returns:
- the resourceType
-
setResourceType
public void setResourceType(java.lang.String resourceType)
- Parameters:
resourceType- the resourceType to set
-
getLogicalId
public java.lang.String getLogicalId()
- Returns:
- the logicalId
-
setLogicalId
public void setLogicalId(java.lang.String logicalId)
- Parameters:
logicalId- the logicalId to set
-
getVersion
public java.lang.Integer getVersion()
- Returns:
- the version
-
setVersion
public void setVersion(java.lang.Integer version)
- Parameters:
version- the version to set
-
generateReference
public java.lang.String generateReference()
Generates a reference from the input.- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-