View Javadoc

1   package se.citerus.dddsample.domain.model.cargo;
2   
3   import se.citerus.dddsample.domain.shared.ValueObject;
4   
5   /**
6    * Routing status. 
7    */
8   public enum RoutingStatus implements ValueObject<RoutingStatus> {
9     NOT_ROUTED, ROUTED, MISROUTED;
10  
11    @Override
12    public boolean sameValueAs(final RoutingStatus other) {
13      return this.equals(other);
14    }
15    
16  }