public interface FeatureRule
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAtFinishEditing()
Returns true if this rule should be applied just when editing is being finished.
|
boolean |
checkAtUpdate()
Indicates whether this rule should be checked at update.
|
String |
getDescription()
Returns the rule description
|
String |
getName()
Returns the rule name
|
void |
validate(Feature feature,
FeatureStore featureStore)
This is the method that applies this rule to the
Feature, given also its associated FeatureStore. |
String getName()
String getDescription()
void validate(Feature feature, FeatureStore featureStore) throws DataException
Feature, given also its associated FeatureStore.feature - Feature to which apply the rulefeatureStore - FeatureStore to which the Feature belongsDataException - if an error occurs during validationboolean checkAtUpdate()
boolean checkAtFinishEditing()