Class EraseDTO
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.erase.EraseDTO
-
public class EraseDTO extends java.lang.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 java.lang.String
generateReference()
Generates a reference from the input.java.lang.String
getLogicalId()
java.lang.String
getPatient()
java.lang.String
getReason()
java.lang.String
getResourceType()
java.lang.Integer
getVersion()
void
setLogicalId(java.lang.String logicalId)
void
setPatient(java.lang.String patient)
sets the identifier.void
setReason(java.lang.String reason)
void
setResourceType(java.lang.String resourceType)
void
setVersion(java.lang.Integer version)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-