public abstract class AbstractFeatureRule extends java.lang.Object implements FeatureRule
FeatureRule interface to other rule implementations. It is recommended
to extend this class when implementing new FeatureRules.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
checkAtFinishEdition |
protected boolean |
checkAtUpdate |
protected java.lang.String |
description |
protected java.lang.String |
name |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFeatureRule(java.lang.String name,
java.lang.String description) |
protected |
AbstractFeatureRule(java.lang.String name,
java.lang.String description,
boolean checkAtUpdate,
boolean checkAtFinishEdition) |
| 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.
|
java.lang.String |
getDescription()
Returns the rule description
|
java.lang.String |
getName()
Returns the rule name
|
protected void |
init(java.lang.String name,
java.lang.String description,
boolean checkAtUpdate,
boolean checkAtFinishEdition) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateprotected java.lang.String name
protected java.lang.String description
protected boolean checkAtUpdate
protected boolean checkAtFinishEdition
protected AbstractFeatureRule(java.lang.String name,
java.lang.String description)
protected AbstractFeatureRule(java.lang.String name,
java.lang.String description,
boolean checkAtUpdate,
boolean checkAtFinishEdition)
protected void init(java.lang.String name,
java.lang.String description,
boolean checkAtUpdate,
boolean checkAtFinishEdition)
public java.lang.String getName()
FeatureRulegetName in interface FeatureRulepublic java.lang.String getDescription()
FeatureRulegetDescription in interface FeatureRulepublic boolean checkAtFinishEditing()
FeatureRulecheckAtFinishEditing in interface FeatureRulepublic boolean checkAtUpdate()
FeatureRulecheckAtUpdate in interface FeatureRule