public boolean isExcluded() {
- return status.isKindOf(TaxonNodeStatus.EXCLUDED);
+ return status.equals(TaxonNodeStatus.EXCLUDED);
}
public boolean isUnplaced() {
- return status.isKindOf(TaxonNodeStatus.UNPLACED);
+ return status.equals(TaxonNodeStatus.UNPLACED);
}
public boolean isPlacementDoubtful() {
- return status.isKindOf(TaxonNodeStatus.DOUBTFUL);
+ return status.equals(TaxonNodeStatus.DOUBTFUL);
}
public Reference getRef() {
multiLanguageTextStatusNotes = formFactory.createMultiLanguageTextElement(formElement, "Status Notes", entity.getStatusNote(), 50, style);
- multiLanguageTextStatusNotes.setEnabled(entity.isExcluded());
+ multiLanguageTextStatusNotes.setEnabled(entity.getStatus() != null);
if (!isCreateNew()){
selectionNodeAgentRelation = formFactory.createTaxonNodeAgentRelationCollectionSection(formElement, getConversationHolder(), StoreUtil.getSectionStyle(TaxonNodeAgentRelationCollectionSection.class, entity.getClass().getCanonicalName()));