public class GeneralizationInfo extends Object
The base feature is the original feature for which generalizations were build
The feature type of the base feature is the feature type of a PregeneralizedFeature, except geometry properties holding generalized geometries
if a generalized geometry is stored in a different feature source, this feature source must include all non geometry properties from the baseFeatureSource
Constructor and Description |
---|
GeneralizationInfo(String baseFeatureName,
String featureName,
String geomPropertyName,
GeneralizationInfos parent) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseFeatureName() |
String |
getDataSourceName() |
String |
getDataSourceNameSpace() |
String |
getFeatureName() |
Generalization |
getGeneralizationForDistance(Double requestedDistance) |
SortedSet<Generalization> |
getGeneralizations() |
String |
getGeomPropertyName() |
void |
setDataSourceName(String dataSourceName) |
void |
setDataSourceNameSpace(String namespace) |
void |
validate()
Validates not null instance variables
|
public GeneralizationInfo(String baseFeatureName, String featureName, String geomPropertyName, GeneralizationInfos parent)
public String getFeatureName()
public String getBaseFeatureName()
public String getGeomPropertyName()
public SortedSet<Generalization> getGeneralizations()
public Generalization getGeneralizationForDistance(Double requestedDistance)
requestedDistance
- public String getDataSourceName()
public void setDataSourceName(String dataSourceName)
public String getDataSourceNameSpace()
public void setDataSourceNameSpace(String namespace)
public void validate() throws IOException
IOException
- 1)if data source, feature name, base feature name or geometry property
name is null 2) if the validation of generalizations failsCopyright © 1996–2019 Geotools. All rights reserved.