001package co.codewizards.cloudstore.core.dto; 002 003import javax.xml.bind.annotation.XmlRootElement; 004 005@XmlRootElement 006public class CopyModificationDto extends ModificationDto { 007 008 private String fromPath; 009 010 private String toPath; 011 012 public String getFromPath() { 013 return fromPath; 014 } 015 public void setFromPath(String fromPath) { 016 this.fromPath = fromPath; 017 } 018 019 public String getToPath() { 020 return toPath; 021 } 022 public void setToPath(String toPath) { 023 this.toPath = toPath; 024 } 025 026 @Override 027 public String toString() { 028 return getClass().getSimpleName() + '[' + toString_getProperties() + ']'; 029 } 030 031 protected String toString_getProperties() { 032 return "id=" + getId() 033 + ", localRevision=" + getLocalRevision() 034 + ", fromPath=" + fromPath 035 + ", toPath=" + toPath; 036 } 037}