com.esri.core.map
Class Domain

java.lang.Object
  extended by com.esri.core.map.Domain
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CodedValueDomain, RangeDomain

public abstract class Domain
extends Object
implements Serializable

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.

See Also:
Serialized Form

Field Summary
protected  String domainName
          The name of the domain.
 
Constructor Summary
Domain()
           
 
Method Summary
static Domain fromJson(org.codehaus.jackson.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

domainName

protected String domainName
The name of the domain.

Constructor Detail

Domain

public Domain()
Method Detail

getDomainName

public String getDomainName()
Gets the domainName of the Domain.

Returns:
Returns the domainName.

setDomainName

public void setDomainName(String domainName)
Sets the domainName of the Domain.

Parameters:
domainName - The domainName to set.

fromJson

public static Domain fromJson(org.codehaus.jackson.JsonParser parser)
                       throws Exception
Decodes objects from JSON representation.

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


Copyright © 2010. All Rights Reserved.