public class

CodedValueDomain

extends Domain
java.lang.Object
   ↳ com.esri.core.map.Domain
     ↳ com.esri.core.map.CodedValueDomain

Class Overview

The CodedValueDomain class represents the 'Coded Value Domain' details in the Feature Layer of the Feature Service.

Summary

[Expand]
Inherited Fields
From class com.esri.core.map.Domain
Public Constructors
CodedValueDomain(String domainName, Map<String, String> codedValues)
Instantiates a CodedValueDomain with the given values.
CodedValueDomain()
Instantiates an empty object of CodedValueDomain.
Public Methods
boolean equals(Object obj)
static CodedValueDomain fromJson(JsonParser parser)
Decodes objects from JSON representation.
Map<String, String> getCodedValues()
Gets the Code->Name pairs
int hashCode()
String toString()
[Expand]
Inherited Methods
From class com.esri.core.map.Domain
From class java.lang.Object

Public Constructors

public CodedValueDomain (String domainName, Map<String, String> codedValues)

Instantiates a CodedValueDomain with the given values.

Parameters
domainName String: domain name
codedValues Map: Map of Code->Name (String->String) mappings. Eg: Al->Aluminum

public CodedValueDomain ()

Instantiates an empty object of CodedValueDomain.

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public static CodedValueDomain fromJson (JsonParser parser)

Decodes objects from JSON representation.

Parameters
parser JsonParser: the Jackson parser holding the JSON data.
Returns
CodedValueDomain the decoded object from JSON representation.
Throws
Exception

public Map<String, String> getCodedValues ()

Gets the Code->Name pairs

Returns
Map<String, String> Map of Code->Name

public int hashCode ()

Returns
int

public String toString ()

Returns
String