@Api(allMethods=true) public class FeatureInfo extends Object implements IsInfo
| Constructor and Description |
|---|
FeatureInfo() |
| Modifier and Type | Method and Description |
|---|---|
List<AttributeInfo> |
getAttributes()
Get the attribute definitions.
|
Map<String,AbstractAttributeInfo> |
getAttributesMap()
Get map with attributes.
|
String |
getDataSourceName()
Get the data source name.
|
String |
getDisplayAttributeName()
Get name of the display attribute (attribute to be used for display to end users).
|
GeometryAttributeInfo |
getGeometryType()
Get geometry type, information about the geometry attribute.
|
PrimitiveAttributeInfo |
getIdentifier()
Get identifier description.
|
String |
getSortAttributeName()
Get name of the sort attribute.
|
SortType |
getSortType()
Get sort type (which indicates ascending or descending).
|
void |
setAttributes(List<AttributeInfo> attributes)
Set the list with attribute definitions.
|
void |
setAttributesMap(Map<String,AbstractAttributeInfo> attributesMap)
Set map with the attributes indexed by name.
|
void |
setDataSourceName(String dataSourceName)
Set the data source name.
|
void |
setDisplayAttributeName(String displayAttributeName)
Set the name of the display attribute.
|
void |
setGeometryType(GeometryAttributeInfo geometryType)
Set information about the geometry attribute.
|
void |
setIdentifier(PrimitiveAttributeInfo identifier)
Set the identifier description.
|
void |
setSortAttributeName(String sortAttributeName)
Set the name of the sort attribute.
|
void |
setSortType(SortType sortType)
Set sort type (ascending or descending).
|
public String getDataSourceName()
public void setDataSourceName(String dataSourceName)
dataSourceName - data source namepublic PrimitiveAttributeInfo getIdentifier()
public void setIdentifier(PrimitiveAttributeInfo identifier)
identifier - identifier descriptionpublic String getSortAttributeName()
public void setSortAttributeName(String sortAttributeName)
sortAttributeName - sort attribute namepublic String getDisplayAttributeName()
public void setDisplayAttributeName(String displayAttributeName)
displayAttributeName - display attribute namepublic SortType getSortType()
public void setSortType(SortType sortType)
sortType - sort typepublic GeometryAttributeInfo getGeometryType()
public void setGeometryType(GeometryAttributeInfo geometryType)
geometryType - geometry attribute infopublic List<AttributeInfo> getAttributes()
public void setAttributes(List<AttributeInfo> attributes)
attributes - attributes listpublic Map<String,AbstractAttributeInfo> getAttributesMap()
public void setAttributesMap(Map<String,AbstractAttributeInfo> attributesMap)
attributesMap - attributes indexed by attribute nameCopyright © 2015 Geosparc. All Rights Reserved.