|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeatureRule
Represents a Feature validation rule. These rules are used to check Feature state integrity in editing mode.
Method Summary | |
---|---|
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 . |
Method Detail |
---|
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 belongs
DataException
- if an error occurs during validationboolean checkAtUpdate()
boolean checkAtFinishEditing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |