@Override
        public int hashCode() {
            int hash = 7;
            hash = 37 * hash + (this.location != null ? this.location.hashCode() : 0);
            hash = 37 * hash + (this.direction != null ? this.direction.hashCode() : 0);
            return hash;
        }