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
boolean equals(Object obj)
static Domain fromJson(JsonParser parser)
Decodes objects from JSON representation.
String getDomainName()
Gets the domainName of the Domain.
int hashCode()
void setDomainName(String domainName)
Sets the domainName of the Domain.
static String toJson(Domain domain)
Serializes the given Domain object into a JSON string.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String domainName

The name of the domain.

Public Constructors

public Domain ()

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public static Domain fromJson (JsonParser parser)

Decodes objects from JSON representation.

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

public String getDomainName ()

Gets the domainName of the Domain.

Returns
String Returns the domainName.

public int hashCode ()

Returns
int

public void setDomainName (String domainName)

Sets the domainName of the Domain.

Parameters
domainName String: The domainName to set.

public static String toJson (Domain domain)

Serializes the given Domain object into a JSON string.

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

public String toString ()

Returns
String