| Package | Description |
|---|---|
| org.geomajas.layer | |
| org.geomajas.layer.entity | |
| org.geomajas.layer.feature | |
| org.geomajas.service |
| Modifier and Type | Method and Description |
|---|---|
Object |
VectorLayer.create(Object feature)
Creates a new feature.
|
void |
VectorLayer.delete(String featureId)
Deletes a feature of the model.
|
List<Attribute<?>> |
VectorLayerAssociationSupport.getAttributes(String attributePath,
Filter filter)
Return the list of possible object values for the specified attribute path.
|
com.vividsolutions.jts.geom.Envelope |
VectorLayer.getBounds()
Return the bounds of this model.
|
com.vividsolutions.jts.geom.Envelope |
VectorLayer.getBounds(Filter filter)
Retrieve the bounds of the specified features.
|
Crs |
LayerService.getCrs(Layer layer)
The the
Crs for a layer. |
Iterator<?> |
VectorLayer.getElements(Filter filter,
int offset,
int maxResultSize)
Retrieve all the features from the model that this filter accepts.
|
Object |
VectorLayer.read(String featureId)
Reads an existing feature of the model.
|
Object |
VectorLayer.saveOrUpdate(Object feature)
Update an existing feature of the model or creates a new feature.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityCollection.addEntity(Entity entity)
Adds an entity to this collection.
|
Entity |
EntityMapper.asEntity(Object object)
Converts the specified object to an entity.
|
Entity |
EntityMapper.findOrCreateEntity(String dataSourceName,
Object id)
Find the existing entity with the specified id or create a new one.
|
Attribute<?> |
EntityAttributeService.getAttribute(Object feature,
FeatureInfo featureInfo,
EntityMapper mapper,
String name)
Recursively gets the attribute from the specified feature.
|
Object |
Entity.getAttribute(String name)
Gets the specified primitive (or geometry) value.
|
Entity |
Entity.getChild(String name)
Returns the child entity of this entity with the specified name (attribute name).
|
EntityCollection |
Entity.getChildCollection(String name)
Gets the collection of entities with the specified name.
|
Object |
Entity.getId(String name)
Returns the unique identifier value of this entity.
|
void |
EntityCollection.removeEntity(Entity entity)
Removes an entity from this colection.
|
void |
Entity.setAttribute(String name,
Object value)
Sets the specified primitive (or geometry) attribute value.
|
void |
EntityAttributeService.setAttributes(Object object,
FeatureInfo featureInfo,
EntityMapper mapper,
Map<String,Attribute<?>> attributes)
Merges the specified attribute map with this layer object.
|
void |
Entity.setChild(String name,
Entity entity)
Sets the child entity with the specified name (attribute name).
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
FeatureModel.getAttribute(Object feature,
String name)
Return the attribute value with the given name.
|
Map<String,Attribute> |
FeatureModel.getAttributes(Object feature)
Deprecated.
the back-end implements this itself since 1.9.0 to provide lazy attribute loading if needed
|
com.vividsolutions.jts.geom.Geometry |
FeatureModel.getGeometry(Object feature)
Return the geometry of a feature.
|
String |
FeatureModel.getGeometryAttributeName()
Return the name which can be used to get the geometric attribute.
|
String |
FeatureModel.getId(Object feature)
Return the id of a feature.
|
int |
FeatureModel.getSrid()
Return the spatial reference id of the coordinate reference system.
|
Object |
FeatureModel.newInstance()
Create a default feature.
|
Object |
FeatureModel.newInstance(String id)
Create a default feature.
|
void |
FeatureModel.setAttributes(Object feature,
Map<String,Attribute> attributes)
Set the attributes of a feature.
|
void |
FeatureModel.setGeometry(Object feature,
com.vividsolutions.jts.geom.Geometry geometry)
Set the geometry of a feature.
|
void |
FeatureModel.setLayerInfo(VectorLayerInfo vectorLayerInfo)
Set the layer info for this layer model.
|
| Modifier and Type | Method and Description |
|---|---|
org.geomajas.sld.UserStyleInfo |
StyleConverterService.convert(NamedStyleInfo namedStyleInfo,
String geometryName)
Converts named style info to GT style used by legend/raster rendering.
|
Rule |
StyleConverterService.convert(org.geomajas.sld.RuleInfo ruleInfo)
Converts SLD rule info to GT rule used by legend/raster rendering.
|
Style |
StyleConverterService.convert(org.geomajas.sld.UserStyleInfo userStyleInfo)
Converts SLD (user) style info to GT style used by legend/raster rendering.
|
NamedStyleInfo |
StyleConverterService.convert(org.geomajas.sld.UserStyleInfo userStyleInfo,
FeatureInfo featureInfo)
Converts SLD (user) style info to named style info used by vector rendering.
|
Object |
FeatureExpressionService.evaluate(String expression,
InternalFeature feature)
Evaluates the specified expression for the specified feature.
|
CoordinateReferenceSystem |
GeoService.getCrs(String crs)
Deprecated.
use getCrs2()
|
CoordinateReferenceSystem |
ConfigurationService.getCrs(String crs)
Deprecated.
|
Crs |
GeoService.getCrs2(String crs)
Get the
Crs with given code. |
Copyright © 2015 Geosparc. All Rights Reserved.