/** * Checks if the {@link History} is initialized * * @return {@code true} if the {@link History} is initialized */ public boolean isSetHistory() { return history != null && !history.isEmpty(); }
/** * * @return */ public boolean isEmpty() { return (!isSetHistory() || history.isEmpty()) && (getNumCVTerms() == 0) && (!isSetNonRDFannotation() || (nonRDFannotation.getChildCount() == 0)); }