@Entity public class ApplicationLayer extends Object
| Constructor and Description |
|---|
ApplicationLayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributesJSON(org.json.JSONObject json,
boolean includeRelations,
javax.persistence.EntityManager em) |
ConfiguredAttribute |
getAttribute(SimpleFeatureType sft,
String name) |
List<ConfiguredAttribute> |
getAttributes() |
List<ConfiguredAttribute> |
getAttributes(SimpleFeatureType sft)
Get all the attributes from this applicationLayer that are from the given
SimpleFeatureType (or the SimpleFeatureType == null, for configured
attributes that don't have a SimpleFeatureType set yet).
|
List<ConfiguredAttribute> |
getAttributes(SimpleFeatureType sft,
boolean includeJoined) |
Map<String,ClobElement> |
getDetails() |
String |
getDisplayName(javax.persistence.EntityManager em) |
Long |
getId() |
String |
getLayerName() |
Set<String> |
getReaders() |
org.json.JSONArray |
getRelationsJSON(javax.persistence.EntityManager em) |
GeoService |
getService() |
Map<Application,StartLayer> |
getStartLayers() |
Set<String> |
getWriters() |
void |
setAttributes(List<ConfiguredAttribute> attributes) |
void |
setDetails(Map<String,ClobElement> details) |
void |
setId(Long id) |
void |
setLayerName(String layerName) |
void |
setReaders(Set<String> readers) |
void |
setService(GeoService service) |
void |
setStartLayers(Map<Application,StartLayer> startLayers) |
void |
setWriters(Set<String> writers) |
org.json.JSONObject |
toJSONObject(boolean includeAttributes,
boolean includeRelations,
javax.persistence.EntityManager em,
Application app) |
org.json.JSONObject |
toJSONObject(javax.persistence.EntityManager em) |
String |
toString() |
public List<ConfiguredAttribute> getAttributes()
public void setAttributes(List<ConfiguredAttribute> attributes)
public Map<String,ClobElement> getDetails()
public void setDetails(Map<String,ClobElement> details)
public Long getId()
public void setId(Long id)
public GeoService getService()
public void setService(GeoService service)
public String getLayerName()
public void setLayerName(String layerName)
public Map<Application,StartLayer> getStartLayers()
public void setStartLayers(Map<Application,StartLayer> startLayers)
public List<ConfiguredAttribute> getAttributes(SimpleFeatureType sft)
sft - the type to get the attributespublic List<ConfiguredAttribute> getAttributes(SimpleFeatureType sft, boolean includeJoined)
public ConfiguredAttribute getAttribute(SimpleFeatureType sft, String name)
public String getDisplayName(javax.persistence.EntityManager em)
public org.json.JSONObject toJSONObject(javax.persistence.EntityManager em)
throws org.json.JSONException
org.json.JSONExceptionpublic org.json.JSONObject toJSONObject(boolean includeAttributes,
boolean includeRelations,
javax.persistence.EntityManager em,
Application app)
throws org.json.JSONException
org.json.JSONExceptionpublic void addAttributesJSON(org.json.JSONObject json,
boolean includeRelations,
javax.persistence.EntityManager em)
throws org.json.JSONException
org.json.JSONExceptionpublic org.json.JSONArray getRelationsJSON(javax.persistence.EntityManager em)
throws org.json.JSONException
org.json.JSONExceptionCopyright © 2019. All rights reserved.