public class DefaultFeatureRules extends ArrayList implements FeatureRules
modCount| Constructor and Description |
|---|
DefaultFeatureRules() |
| Modifier and Type | Method and Description |
|---|---|
FeatureRule |
add(FeatureRule rule)
Adds a new rule to this FeatureRules.
|
FeatureRules |
getCopy()
Returns a new copy of this FeatureRules.
|
FeatureRule |
getRule(int index)
Returns a
FeatureRule given its index. |
boolean |
remove(FeatureRule rule)
Removes the given rule from this FeatureRules.
|
void |
validate(Feature feature)
Deprecated.
use validate(Feature feature, int mode)
|
void |
validate(Feature feature,
int mode) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, get, iterator, remove, sizecontainsAll, equals, hashCodepublic FeatureRule add(FeatureRule rule)
FeatureRulesadd in interface FeatureRulesrule - the new rule to add.public FeatureRule getRule(int index)
FeatureRulesFeatureRule given its index.getRule in interface FeatureRulesindex - a position in this FeatureRulesFeatureRule found in the given indexpublic boolean remove(FeatureRule rule)
FeatureRulesremove in interface FeatureRulesrule - FeatureRule to removepublic FeatureRules getCopy()
FeatureRulesgetCopy in interface FeatureRulespublic void validate(Feature feature) throws DataException
feature - DataExceptionpublic void validate(Feature feature, int mode) throws DataException
DataException