Class SimpleFeatureType
- java.lang.Object
-
- nl.tailormap.viewer.config.services.SimpleFeatureType
-
@Entity public class SimpleFeatureType extends Object
- Author:
- Matthijs Laan
-
-
Constructor Summary
Constructors Constructor Description SimpleFeatureType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeDescriptorgetAttribute(String attributeName)List<AttributeDescriptor>getAttributes()StringgetDescription()FeatureSourcegetFeatureSource()StringgetGeometryAttribute()LonggetId()StringgetPrimaryKeyAttribute()List<FeatureTypeRelation>getRelations()StringgetTypeName()booleanhasRelations()booleanisWriteable()voidsetAttributes(List<AttributeDescriptor> attributes)voidsetDescription(String description)voidsetFeatureSource(FeatureSource featureSource)voidsetGeometryAttribute(String geometryAttribute)voidsetId(Long id)voidsetPrimaryKeyAttribute(String primaryKeyAttribute)voidsetRelations(List<FeatureTypeRelation> relations)voidsetTypeName(String typeName)voidsetWriteable(boolean writeable)org.json.JSONObjecttoJSONObject()booleanupdate(SimpleFeatureType update)
-
-
-
Method Detail
-
getAttributes
public List<AttributeDescriptor> getAttributes()
-
setAttributes
public void setAttributes(List<AttributeDescriptor> attributes)
-
getFeatureSource
public FeatureSource getFeatureSource()
-
setFeatureSource
public void setFeatureSource(FeatureSource featureSource)
-
getGeometryAttribute
public String getGeometryAttribute()
-
setGeometryAttribute
public void setGeometryAttribute(String geometryAttribute)
-
isWriteable
public boolean isWriteable()
-
setWriteable
public void setWriteable(boolean writeable)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getTypeName
public String getTypeName()
-
setTypeName
public void setTypeName(String typeName)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getRelations
public List<FeatureTypeRelation> getRelations()
-
setRelations
public void setRelations(List<FeatureTypeRelation> relations)
-
getPrimaryKeyAttribute
public String getPrimaryKeyAttribute()
-
setPrimaryKeyAttribute
public void setPrimaryKeyAttribute(String primaryKeyAttribute)
-
update
public boolean update(SimpleFeatureType update)
-
getAttribute
public AttributeDescriptor getAttribute(String attributeName)
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONException- Throws:
org.json.JSONException
-
hasRelations
public boolean hasRelations()
-
-