View Javadoc

1   package se.citerus.dddsample.interfaces.tracking;
2   
3   import org.apache.commons.lang.builder.ToStringBuilder;
4   import static org.apache.commons.lang.builder.ToStringStyle.MULTI_LINE_STYLE;
5   
6   public final class TrackCommand {
7   
8     /**
9      * The tracking id.
10     */
11    private String trackingId;
12  
13    public String getTrackingId() {
14      return trackingId;
15    }
16  
17    public void setTrackingId(final String trackingId) {
18      this.trackingId = trackingId;
19    }
20  
21    @Override
22    public String toString() {
23      return ToStringBuilder.reflectionToString(this, MULTI_LINE_STYLE);
24    }
25  }