@Entity public class SimpleFeatureType extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_FEATURES_DEFAULT |
static int |
MAX_FEATURES_UNBOUNDED |
| Constructor and Description |
|---|
SimpleFeatureType() |
public static final int MAX_FEATURES_DEFAULT
public static final int MAX_FEATURES_UNBOUNDED
public List<AttributeDescriptor> getAttributes()
public void setAttributes(List<AttributeDescriptor> attributes)
public FeatureSource getFeatureSource()
public void setFeatureSource(FeatureSource featureSource)
public String getGeometryAttribute()
public void setGeometryAttribute(String geometryAttribute)
public boolean isWriteable()
public void setWriteable(boolean writeable)
public Long getId()
public void setId(Long id)
public String getTypeName()
public void setTypeName(String typeName)
public String getDescription()
public void setDescription(String description)
public List<FeatureTypeRelation> getRelations()
public void setRelations(List<FeatureTypeRelation> relations)
public Object getMaxValue(String attributeName, int maxFeatures) throws Exception
Exceptionpublic Object getMinValue(String attributeName, int maxFeatures) throws Exception
Exceptionpublic List<String> calculateUniqueValues(String attributeName) throws Exception
Exceptionpublic List<String> calculateUniqueValues(String attributeName, int maxFeatures) throws Exception
Exceptionpublic Map<String,String> getKeysValues(String key, String label, int maxFeatures) throws Exception
Exceptionpublic Map<String,String> getKeysValues(String key, String label) throws Exception
Exceptionpublic org.geotools.data.FeatureSource openGeoToolsFeatureSource()
throws Exception
Exceptionpublic org.geotools.data.FeatureSource openGeoToolsFeatureSource(int timeout)
throws Exception
Exceptionpublic boolean update(SimpleFeatureType update)
public static void clearReferences(Collection<SimpleFeatureType> typesToRemove)
public AttributeDescriptor getAttribute(String attributeName)
public org.json.JSONObject toJSONObject()
throws org.json.JSONException
org.json.JSONExceptionpublic boolean hasRelations()
Copyright © 2018. All rights reserved.