Class 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 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()