|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.map.FeatureType
public class FeatureType
The FeatureType class represents a sub-type of a feature layer which includes the over-ridden domains
for the various fields. For fields with inherited domain, the actual domains (either
CodedValueDomain or
RangeDomain) of the fields have to be referenced.
| Constructor Summary | |
|---|---|
FeatureType()
Instantiates an empty FeatureType. |
|
FeatureType(String id,
String name,
HashMap<String,Domain> domains)
Instantiates a FeatureType with given values. |
|
| Method Summary | |
|---|---|
static FeatureType |
fromJson(org.codehaus.jackson.JsonParser parser,
Field[] fields)
Decodes objects from JSON representation. |
HashMap<String,Domain> |
getDomains()
To get the HashMap of over-ridden FieldName(s) -> Domain(s) mapping for this FeatureType. |
String |
getId()
To get the id of the FeatureType |
String |
getName()
To get the name of the FeatureType |
FeatureTemplate[] |
getTemplates()
Returns the template array of the FeatureType |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureType(String id,
String name,
HashMap<String,Domain> domains)
id - sub-type idname - sub-type namedomains - HashMap of FieldName(s) -> Domain(s)public FeatureType()
| Method Detail |
|---|
public HashMap<String,Domain> getDomains()
public String getId()
public String getName()
public FeatureTemplate[] getTemplates()
public String toString()
toString in class Object
public static FeatureType fromJson(org.codehaus.jackson.JsonParser parser,
Field[] fields)
throws Exception
parser - the Jackson parser holding the JSON data.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||