@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        WorklogEntry other = (WorklogEntry) obj;
        if (beginTimestamp != other.beginTimestamp)
            return false;
        if (endTimeStamp != other.endTimeStamp)
            return false;
        if (id != other.id)
            return false;
        if (message == null) {
            if (other.message != null)
                return false;
        } else if (!message.equals(other.message))
            return false;
        return true;
    }