Package org.geotools.data.gen.info
Class Generalization
Object
Generalization
- All Implemented Interfaces:
Comparable<Generalization>
- Author:
- Christian Mueller
This class holds info for one generalization
distance the distance used in generalization featureName the name of the feature geomPropertyName the name of the geometry property in the feature dataSourceName the name of the datasource dataSourceNameSpace the namespace of the datasource, may be null
-
Constructor Summary
ConstructorsConstructorDescriptionGeneralization(Double distance, String featureName, String geomPropertyName, GeneralizationInfo parent) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(Generalization other) voidsetDataSourceName(String dataSourceName) voidsetDataSourceNameSpace(String namespace) voidvalidate()Validates not null instance variables
-
Constructor Details
-
Generalization
public Generalization(Double distance, String featureName, String geomPropertyName, GeneralizationInfo parent)
-
-
Method Details
-
getDistance
-
getFeatureName
-
getGeomPropertyName
-
compareTo
- Specified by:
compareToin interfaceComparable<Generalization>
-
getDataSourceName
-
setDataSourceName
-
getDataSourceNameSpace
-
setDataSourceNameSpace
-
validate
Validates not null instance variables- Throws:
IOException- if data source, feature name or geometry property name is null
-