public void removeAttribute(final @Nonnull String attributeCode) throws AttributeNotFound { AttributeFeature attributeFeature = getAttributeFeature(); if (attributeFeature != null) { attributeFeature.removeAttribute(attributeCode); } else { throw new AttributeNotFound(getFeatureEntityId(), attributeCode); } }