public class Generalization extends Object implements Comparable<Generalization>
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 and Description |
---|
Generalization(Double distance,
String featureName,
String geomPropertyName,
GeneralizationInfo parent) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Generalization other) |
String |
getDataSourceName() |
String |
getDataSourceNameSpace() |
Double |
getDistance() |
String |
getFeatureName() |
String |
getGeomPropertyName() |
void |
setDataSourceName(String dataSourceName) |
void |
setDataSourceNameSpace(String namespace) |
void |
validate()
Validates not null instance variables
|
public Generalization(Double distance, String featureName, String geomPropertyName, GeneralizationInfo parent)
public Double getDistance()
public String getFeatureName()
public String getGeomPropertyName()
public int compareTo(Generalization other)
compareTo
in interface Comparable<Generalization>
public String getDataSourceName()
public void setDataSourceName(String dataSourceName)
public String getDataSourceNameSpace()
public void setDataSourceNameSpace(String namespace)
public void validate() throws IOException
IOException
- if data source, feature name or geometry property name is nullCopyright © 1996–2019 Geotools. All rights reserved.