@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final TimelineEvent<?> other = (TimelineEvent<?>) obj;
        return Objects.equals(this.id, other.id);
    }
The type of the item. Can be 'box' (default), 'point', 'range', or 'background'.
<p>
Types 'box' and 'point' need a start date, the types 'range' and 'background' needs both a start and end date.
primefaces/src/main/java/org/primefaces/model/timeline/TimelineEvent.java