Class FeatureTypeRelation
- java.lang.Object
-
- nl.tailormap.viewer.config.services.FeatureTypeRelation
-
@Entity public class FeatureTypeRelation extends Object
- Author:
- Roy Braam
-
-
Constructor Summary
Constructors Constructor Description FeatureTypeRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleFeatureTypegetFeatureType()SimpleFeatureTypegetForeignFeatureType()LonggetId()List<FeatureTypeRelationKey>getRelationKeys()StringgetType()booleanisCanCreateNewRelation()booleanisSearchNextRelation()voidsetCanCreateNewRelation(boolean canCreateNewRelation)voidsetFeatureType(SimpleFeatureType featureType)voidsetForeignFeatureType(SimpleFeatureType foreignFeatureType)voidsetId(Long id)voidsetRelationKeys(List<FeatureTypeRelationKey> relationKeys)voidsetSearchNextRelation(boolean searchNextRelation)voidsetType(String type)org.json.JSONObjecttoJSONObject(SimpleFeatureType head)
-
-
-
Field Detail
-
JOIN
public static final String JOIN
- See Also:
- Constant Field Values
-
RELATE
public static final String RELATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getFeatureType
public SimpleFeatureType getFeatureType()
-
setFeatureType
public void setFeatureType(SimpleFeatureType featureType)
-
getRelationKeys
public List<FeatureTypeRelationKey> getRelationKeys()
-
setRelationKeys
public void setRelationKeys(List<FeatureTypeRelationKey> relationKeys)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getForeignFeatureType
public SimpleFeatureType getForeignFeatureType()
-
setForeignFeatureType
public void setForeignFeatureType(SimpleFeatureType foreignFeatureType)
-
isSearchNextRelation
public boolean isSearchNextRelation()
-
setSearchNextRelation
public void setSearchNextRelation(boolean searchNextRelation)
-
isCanCreateNewRelation
public boolean isCanCreateNewRelation()
-
setCanCreateNewRelation
public void setCanCreateNewRelation(boolean canCreateNewRelation)
-
toJSONObject
public org.json.JSONObject toJSONObject(SimpleFeatureType head) throws org.json.JSONException
- Throws:
org.json.JSONException
-
-