Class ReadResultDTO
- java.lang.Object
-
- org.linuxforhealth.fhir.bulkdata.dto.ReadResultDTO
-
- All Implemented Interfaces:
java.io.Serializable
public class ReadResultDTO extends java.lang.Object implements java.io.Serializable
ReadResultDTO enables a cleaner interface between data transferring between Read/Write- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReadResultDTO()
ReadResultDTO(java.util.List<? extends Resource> resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResource(Resource resource)
boolean
empty()
java.util.List<? extends Resource>
getResources()
void
setResources(java.util.List<? extends Resource> resources)
Replace the contents of the internal resources list with the contents of the given resources listint
size()
-
-
-
Constructor Detail
-
ReadResultDTO
public ReadResultDTO()
-
ReadResultDTO
public ReadResultDTO(java.util.List<? extends Resource> resources)
-
-
Method Detail
-
getResources
public java.util.List<? extends Resource> getResources()
- Returns:
- the resources
-
setResources
public void setResources(java.util.List<? extends Resource> resources)
Replace the contents of the internal resources list with the contents of the given resources list- Parameters:
resources
- the resources to set
-
addResource
public void addResource(Resource resource)
-
size
public int size()
-
empty
public boolean empty()
-
-