|
||||||||||
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 SubType 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 object of FeatureType. |
|
FeatureType(String id,
String name,
HashMap<String,Domain> domains)
Instantiates a FeatureType with given values. |
|
FeatureType(String id,
String name,
List<FeatureTemplate> templates)
Instantiates a FeatureType with given values. |
Method Summary | |
---|---|
static FeatureType |
fromJson(org.codehaus.jackson.JsonParser parser)
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()
public FeatureType(String id, String name, HashMap<String,Domain> domains)
id
- SubType idname
- SubType namedomains
- HashMap of FieldName(s) -> Domain(s)public FeatureType(String id, String name, List<FeatureTemplate> templates)
id
- SubType idname
- SubType nametemplates
- a list of templatesMethod 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) throws Exception
parser
- the Jackson parser holding the JSON data.
Exception
- the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |