@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final PresentationItem other = (PresentationItem) obj;
        if (this.position != other.position) {
            return false;
        }
        if (!Objects.equals(this.name, other.name)) {
            return false;
        }
        if (this.active != other.active) {
            return false;
        }
        if (this.duration != other.duration) {
            return false;
        }
        return true;
    }