org.geotools.data.gen.info
Class Generalization
java.lang.Object
org.geotools.data.gen.info.Generalization
- All Implemented Interfaces:
- java.lang.Comparable<Generalization>
public class Generalization
- extends java.lang.Object
- implements java.lang.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Generalization
public Generalization(java.lang.Double distance,
java.lang.String featureName,
java.lang.String geomPropertyName,
GeneralizationInfo parent)
getDistance
public java.lang.Double getDistance()
getFeatureName
public java.lang.String getFeatureName()
getGeomPropertyName
public java.lang.String getGeomPropertyName()
compareTo
public int compareTo(Generalization other)
- Specified by:
compareTo
in interface java.lang.Comparable<Generalization>
getDataSourceName
public java.lang.String getDataSourceName()
setDataSourceName
public void setDataSourceName(java.lang.String dataSourceName)
getDataSourceNameSpace
public java.lang.String getDataSourceNameSpace()
setDataSourceNameSpace
public void setDataSourceNameSpace(java.lang.String namespace)
validate
public void validate()
throws java.io.IOException
- Validates not null instance variables
- Throws:
java.io.IOException
- if data source, feature name or geometry property name is null
Copyright © 1996-2010 Geotools. All Rights Reserved.