Package org.gvsig.topology.lib.impl
Class DefaultTopologyPlan
java.lang.Object
org.gvsig.topology.lib.impl.DefaultTopologyPlan
- All Implemented Interfaces:
org.gvsig.json.SupportFromJson,org.gvsig.json.SupportJson,org.gvsig.json.SupportToJson,TopologyDataSetResolver,TopologyPlan
- Author:
- jjdelcerro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataSet(String name, org.gvsig.fmap.dal.DataStore store) addDataSet(TopologyDataSet dataSet) addRule(TopologyRule rule) booleancanUseUI()voidclear()booleancontainsDataSet(String name) voidexecute()voidfromJson(javax.json.JsonObject jsonPlan) booleangetDataSet(String name) intgetName()getRules()getSecondaryDataSets(TopologyRuleFactory ruleFactory) org.gvsig.tools.task.SimpleTaskStatusdoublebooleanhasRules()voidremoveDataSet(TopologyDataSet dataSet) voidremoveRule(TopologyRule rule) voidsetAcceptExceptions(boolean acceptExceptions) voidvoidsetTolerance(double tolerance) voidsetTopologyServices(TopologyServices services) voidsetUseUI(boolean useUI) javax.json.JsonObjecttoJson()org.gvsig.json.JsonObjectBuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.json.SupportToJson
toJson, toJsonBuilder
-
Constructor Details
-
DefaultTopologyPlan
-
-
Method Details
-
setName
- Specified by:
setNamein interfaceTopologyPlan
-
getName
- Specified by:
getNamein interfaceTopologyPlan
-
clear
public void clear()- Specified by:
clearin interfaceTopologyPlan
-
getTolerance
public double getTolerance()- Specified by:
getTolerancein interfaceTopologyPlan
-
setTolerance
public void setTolerance(double tolerance) - Specified by:
setTolerancein interfaceTopologyPlan
-
setTopologyServices
- Specified by:
setTopologyServicesin interfaceTopologyPlan
-
getTopologyServices
- Specified by:
getTopologyServicesin interfaceTopologyPlan
-
getTaskStatus
public org.gvsig.tools.task.SimpleTaskStatus getTaskStatus()- Specified by:
getTaskStatusin interfaceTopologyPlan
-
execute
public void execute()- Specified by:
executein interfaceTopologyPlan
-
addDataSet
- Specified by:
addDataSetin interfaceTopologyPlan
-
addDataSet
- Specified by:
addDataSetin interfaceTopologyPlan
-
getDataSet
- Specified by:
getDataSetin interfaceTopologyDataSetResolver- Specified by:
getDataSetin interfaceTopologyPlan
-
containsDataSet
- Specified by:
containsDataSetin interfaceTopologyPlan
-
getDataSets
- Specified by:
getDataSetsin interfaceTopologyPlan
-
getSecondaryDataSets
- Specified by:
getSecondaryDataSetsin interfaceTopologyPlan
-
addRule
- Specified by:
addRulein interfaceTopologyPlan
-
addRule
- Specified by:
addRulein interfaceTopologyPlan
-
getRules
- Specified by:
getRulesin interfaceTopologyPlan
-
hasRules
public boolean hasRules()- Specified by:
hasRulesin interfaceTopologyPlan
-
getReport
- Specified by:
getReportin interfaceTopologyPlan
-
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
-
fromJson
public void fromJson(javax.json.JsonObject jsonPlan) - Specified by:
fromJsonin interfaceorg.gvsig.json.SupportFromJson
-
removeDataSet
- Specified by:
removeDataSetin interfaceTopologyPlan
-
removeRule
- Specified by:
removeRulein interfaceTopologyPlan
-
canUseUI
public boolean canUseUI()- Specified by:
canUseUIin interfaceTopologyPlan
-
setUseUI
public void setUseUI(boolean useUI) - Specified by:
setUseUIin interfaceTopologyPlan
-
getLastStatus
public int getLastStatus()- Specified by:
getLastStatusin interfaceTopologyPlan
-
getAcceptExceptions
public boolean getAcceptExceptions()- Specified by:
getAcceptExceptionsin interfaceTopologyPlan
-
setAcceptExceptions
public void setAcceptExceptions(boolean acceptExceptions) - Specified by:
setAcceptExceptionsin interfaceTopologyPlan
-