Package org.gvsig.fmap.dal.feature.impl
Class DefaultFeatureRules
java.lang.Object
java.util.AbstractCollection<org.gvsig.fmap.dal.feature.FeatureRule>
java.util.AbstractList<org.gvsig.fmap.dal.feature.FeatureRule>
java.util.ArrayList<org.gvsig.fmap.dal.feature.FeatureRule>
org.gvsig.fmap.dal.feature.impl.DefaultFeatureRules
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<org.gvsig.fmap.dal.feature.FeatureRule>,Collection<org.gvsig.fmap.dal.feature.FeatureRule>,List<org.gvsig.fmap.dal.feature.FeatureRule>,RandomAccess,SequencedCollection<org.gvsig.fmap.dal.feature.FeatureRule>,org.gvsig.fmap.dal.feature.FeatureRules,org.gvsig.json.SupportFromJson,org.gvsig.json.SupportJson,org.gvsig.json.SupportToJson,org.gvsig.tools.persistence.Persistent
public class DefaultFeatureRules
extends ArrayList<org.gvsig.fmap.dal.feature.FeatureRule>
implements org.gvsig.fmap.dal.feature.FeatureRules, org.gvsig.json.SupportJson
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(String name, String description, boolean checkAtUpdate, boolean checkAtFinishEdition, org.gvsig.expressionevaluator.Expression expression) booleanadd(org.gvsig.fmap.dal.feature.FeatureRule rule) voidfromJson(javax.json.JsonObject json) org.gvsig.fmap.dal.feature.FeatureRulesgetCopy()org.gvsig.fmap.dal.feature.FeatureRulegetRule(int index) voidloadFromState(org.gvsig.tools.persistence.PersistentState state) booleanremove(org.gvsig.fmap.dal.feature.FeatureRule rule) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) static voidjavax.json.JsonObjecttoJson()org.gvsig.json.JsonObjectBuildervoidvalidate(org.gvsig.fmap.dal.feature.EditableFeature feature, int check) voidvalidate(org.gvsig.fmap.dal.feature.Feature feature, int mode) Methods inherited from class java.util.ArrayList
add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface org.gvsig.fmap.dal.feature.FeatureRules
clear, get, isEmpty, iterator, remove, sizeMethods inherited from interface java.util.List
containsAll, reversedMethods inherited from interface org.gvsig.json.SupportToJson
toJson, toJsonBuilder
-
Constructor Details
-
DefaultFeatureRules
public DefaultFeatureRules()
-
-
Method Details
-
add
public boolean add(org.gvsig.fmap.dal.feature.FeatureRule rule) - Specified by:
addin interfaceCollection<org.gvsig.fmap.dal.feature.FeatureRule>- Specified by:
addin interfaceorg.gvsig.fmap.dal.feature.FeatureRules- Specified by:
addin interfaceList<org.gvsig.fmap.dal.feature.FeatureRule>- Overrides:
addin classArrayList<org.gvsig.fmap.dal.feature.FeatureRule>
-
add
public boolean add(String name, String description, boolean checkAtUpdate, boolean checkAtFinishEdition, org.gvsig.expressionevaluator.Expression expression) - Specified by:
addin interfaceorg.gvsig.fmap.dal.feature.FeatureRules
-
getRule
public org.gvsig.fmap.dal.feature.FeatureRule getRule(int index) - Specified by:
getRulein interfaceorg.gvsig.fmap.dal.feature.FeatureRules
-
remove
public boolean remove(org.gvsig.fmap.dal.feature.FeatureRule rule) - Specified by:
removein interfaceorg.gvsig.fmap.dal.feature.FeatureRules
-
getCopy
public org.gvsig.fmap.dal.feature.FeatureRules getCopy()- Specified by:
getCopyin interfaceorg.gvsig.fmap.dal.feature.FeatureRules
-
validate
public void validate(org.gvsig.fmap.dal.feature.Feature feature, int mode) throws org.gvsig.fmap.dal.exception.DataException - Throws:
org.gvsig.fmap.dal.exception.DataException
-
validate
public void validate(org.gvsig.fmap.dal.feature.EditableFeature feature, int check) throws org.gvsig.fmap.dal.exception.DataException - Throws:
org.gvsig.fmap.dal.exception.DataException
-
saveToState
public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
saveToStatein interfaceorg.gvsig.tools.persistence.Persistent- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
loadFromState
public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
loadFromStatein interfaceorg.gvsig.tools.persistence.Persistent- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
fromJson
public void fromJson(javax.json.JsonObject json) - Specified by:
fromJsonin interfaceorg.gvsig.json.SupportFromJson
-
toJson
public javax.json.JsonObject toJson()- Specified by:
toJsonin interfaceorg.gvsig.json.SupportToJson
-
toJsonBuilder
public org.gvsig.json.JsonObjectBuilder toJsonBuilder()- Specified by:
toJsonBuilderin interfaceorg.gvsig.json.SupportToJson
-
selfRegister
public static void selfRegister()
-