org.geotools.data.gen.info
Class GeneralizationInfos

java.lang.Object
  extended by org.geotools.data.gen.info.GeneralizationInfos

public class GeneralizationInfos
extends java.lang.Object

Author:
Christian Mueller Container for for GeneralizationInfo objects

Constructor Summary
GeneralizationInfos()
           
 
Method Summary
 void addGeneralizationInfo(GeneralizationInfo info)
          add a GeneralizationInfo object
 java.util.Collection<java.lang.String> getBaseFeatureNames()
           
 java.lang.String getDataSourceName()
          This data source is the default data source for all GeneraliziationInfo objects in this container
 java.lang.String getDataSourceNameSpace()
          This workspace is the default workspace for all GeneraliziationInfo objects in this container
 java.util.Collection<java.lang.String> getFeatureNames()
           
 java.util.Collection<GeneralizationInfo> getGeneralizationInfoCollection()
           
 GeneralizationInfo getGeneralizationInfoForBaseFeatureName(java.lang.String baseFeatureName)
          get GeneralizationInfo for baseFeatureName
 GeneralizationInfo getGeneralizationInfoForFeatureName(java.lang.String featureName)
          get GeneralizationInfo for featureName
 void removeGeneralizationInfo(GeneralizationInfo info)
          remove a GeneralizationInfo object
 void setDataSourceName(java.lang.String dataSourceName)
           
 void setDataSourceNameSpace(java.lang.String namespace)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralizationInfos

public GeneralizationInfos()
Method Detail

addGeneralizationInfo

public void addGeneralizationInfo(GeneralizationInfo info)
add a GeneralizationInfo object

Parameters:
info -

removeGeneralizationInfo

public void removeGeneralizationInfo(GeneralizationInfo info)
remove a GeneralizationInfo object

Parameters:
info -

getGeneralizationInfoForBaseFeatureName

public GeneralizationInfo getGeneralizationInfoForBaseFeatureName(java.lang.String baseFeatureName)
get GeneralizationInfo for baseFeatureName

Parameters:
baseFeatureName -
Returns:
GeneralizationInfo or null
See Also:
for info about baseFeatureName

getGeneralizationInfoForFeatureName

public GeneralizationInfo getGeneralizationInfoForFeatureName(java.lang.String featureName)
get GeneralizationInfo for featureName

Parameters:
featureName -
Returns:
GeneralizationInfo or null
See Also:
for info about featureName

getBaseFeatureNames

public java.util.Collection<java.lang.String> getBaseFeatureNames()
Returns:
list of base feature names
See Also:
for info about basefeatureName

getFeatureNames

public java.util.Collection<java.lang.String> getFeatureNames()
Returns:
list of feature names
See Also:
for info about featureName

getDataSourceName

public java.lang.String getDataSourceName()
This data source is the default data source for all GeneraliziationInfo objects in this container

Returns:
the data source name or null

setDataSourceName

public void setDataSourceName(java.lang.String dataSourceName)

getDataSourceNameSpace

public java.lang.String getDataSourceNameSpace()
This workspace is the default workspace for all GeneraliziationInfo objects in this container

Returns:
the namespace name or null

setDataSourceNameSpace

public void setDataSourceNameSpace(java.lang.String namespace)

getGeneralizationInfoCollection

public java.util.Collection<GeneralizationInfo> getGeneralizationInfoCollection()

validate

public void validate()
              throws java.io.IOException
Throws:
java.io.IOException - if the validation of the generalization info objects fails


Copyright © 1996-2010 Geotools. All Rights Reserved.