001package co.codewizards.cloudstore.core.dto;
002
003import java.util.ArrayList;
004import java.util.List;
005
006import javax.xml.bind.annotation.XmlRootElement;
007
008@XmlRootElement
009public class ChangeSetDTO {
010        private RepositoryDTO repositoryDTO;
011        private List<ModificationDTO> modificationDTOs;
012        private List<RepoFileDTO> repoFileDTOs;
013
014        public RepositoryDTO getRepositoryDTO() {
015                return repositoryDTO;
016        }
017        public void setRepositoryDTO(RepositoryDTO repositoryDTO) {
018                this.repositoryDTO = repositoryDTO;
019        }
020
021        public List<ModificationDTO> getModificationDTOs() {
022                if (modificationDTOs == null)
023                        modificationDTOs = new ArrayList<ModificationDTO>();
024
025                return modificationDTOs;
026        }
027        public void setModificationDTOs(List<ModificationDTO> modificationDTOs) {
028                this.modificationDTOs = modificationDTOs;
029        }
030
031        public List<RepoFileDTO> getRepoFileDTOs() {
032                if (repoFileDTOs == null)
033                        repoFileDTOs = new ArrayList<RepoFileDTO>();
034
035                return repoFileDTOs;
036        }
037        public void setRepoFileDTOs(List<RepoFileDTO> repoFileDTOs) {
038                this.repoFileDTOs = repoFileDTOs;
039        }
040}