public abstract class

Domain

extends Object
implements Serializable
java.lang.Object
   ↳ com.esri.core.map.Domain
Known Direct Subclasses

Class Overview

The abstract class Domain is the superclass of classes CodedValueDomain and RangeDomain. Subclasses of Domain must provide method to create a deep copy of itself.

Summary

Fields
protected String domainName The name of the domain.
Public Constructors
Domain()
Public Methods
static Domain fromJson(JsonParser parser)
Decodes objects from JSON representation.
String getDomainName()
Gets the domainName of the Domain.
void setDomainName(String domainName)
Sets the domainName of the Domain.
static String toJson(Domain domain)
Serializes the given Domain object into a JSON string.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String domainName

The name of the domain.

Public Constructors

public Domain ()

Public Methods

public static Domain fromJson (JsonParser parser)

Decodes objects from JSON representation.

Parameters
parser the Jackson parser holding the JSON data.
Returns
  • the decoded object from JSON representation.
Throws
Exception the exception

public String getDomainName ()

Gets the domainName of the Domain.

Returns
  • Returns the domainName.

public void setDomainName (String domainName)

Sets the domainName of the Domain.

Parameters
domainName The domainName to set.

public static String toJson (Domain domain)

Serializes the given Domain object into a JSON string.

Parameters
domain a Domain object
Returns
  • a String in json format
Throws
Exception An exception thrown the object cannot be serialized into json string.