com.esri.core.map
Class RangeDomain

java.lang.Object
  extended by com.esri.core.map.Domain
      extended by com.esri.core.map.RangeDomain
All Implemented Interfaces:
Serializable

public class RangeDomain
extends Domain

The RangeDomain class represents the 'Range Domain' details in the Feature Layer of the Feature Service.

See Also:
Serialized Form

Constructor Summary
RangeDomain()
          Instantiates an empty RangeDomain.
RangeDomain(String domainName, double minValue, double maxValue)
          Instantiates a RangeDomain.
 
Method Summary
static RangeDomain fromJson(org.codehaus.jackson.JsonParser parser)
          Decodes objects from JSON representation.
 double getMaxValue()
          Gets the maxValue of the RangeDomain.
 double getMinValue()
          Gets the minValue of the RangeDomain.
 String toString()
           
 
Methods inherited from class com.esri.core.map.Domain
getDomainName, setDomainName, toJson
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RangeDomain

public RangeDomain(String domainName,
                   double minValue,
                   double maxValue)
Instantiates a RangeDomain.

Parameters:
domainName - the name of the domain.
minValue - the minimum value of the domain.
maxValue - the maximum value of the domain.

RangeDomain

public RangeDomain()
Instantiates an empty RangeDomain.

Method Detail

getMinValue

public double getMinValue()
Gets the minValue of the RangeDomain.

Returns:
Returns the minValue.

getMaxValue

public double getMaxValue()
Gets the maxValue of the RangeDomain.

Returns:
Returns the maxValue.

toString

public String toString()
Overrides:
toString in class Object

fromJson

public static RangeDomain 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 © 2012. All Rights Reserved.