com.esri.aims.mtier.model.metadata
Class Envelope

java.lang.Object
  extended by com.esri.aims.mtier.model.metadata.Envelope
All Implemented Interfaces:
Serializable

public class Envelope
extends Object
implements Serializable

A wrapper class for a map envelope (minimum/maximum x- or y-).

See Also:
Serialized Form

Field Summary
static int FUZZYEQUALS
           
static int FUZZYWITHIN
           
static int OVERLAPS
           
static int OVERLAPS2
           
static int WITHIN
           
 
Constructor Summary
Envelope()
           
 
Method Summary
 Element getEnvelopeElement()
          Returns this object as an Element for use within an XML document.
 double getMaxX()
          Gets the maximum X- value.
 double getMaxY()
          Gets the maximum Y- value.
 double getMinX()
          Returns the minimum X- value.
 double getMinY()
          Returns the minimum Y- value.
 String getOpAsString()
          Returns the spatial operator as a string.
 int getSpatialOperator()
          Returns the spatial operator as an integer.
 void setMaxX(double newMaxX)
          Sets the maximum X- value.
 void setMaxY(double newMaxY)
          Sets the maximum Y- value.
 void setMinX(double newMinX)
          Sets the minimum X- value.
 void setMinY(double newMinY)
          Sets the minimum Y- value.
 void setOpFromString(String operatorString)
          Sets the spatial operator using the given string.
 void setSpatialOperator(int newOp)
          Sets the spatial operator defined by the class constants.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WITHIN

public static final int WITHIN
See Also:
Constant Field Values

OVERLAPS

public static final int OVERLAPS
See Also:
Constant Field Values

OVERLAPS2

public static final int OVERLAPS2
See Also:
Constant Field Values

FUZZYWITHIN

public static final int FUZZYWITHIN
See Also:
Constant Field Values

FUZZYEQUALS

public static final int FUZZYEQUALS
See Also:
Constant Field Values
Constructor Detail

Envelope

public Envelope()
Method Detail

getMinX

public double getMinX()
Returns the minimum X- value.


setMinX

public void setMinX(double newMinX)
Sets the minimum X- value.


setMinY

public void setMinY(double newMinY)
Sets the minimum Y- value.


getMinY

public double getMinY()
Returns the minimum Y- value.


setMaxX

public void setMaxX(double newMaxX)
Sets the maximum X- value.


getMaxX

public double getMaxX()
Gets the maximum X- value.


setMaxY

public void setMaxY(double newMaxY)
Sets the maximum Y- value.


getMaxY

public double getMaxY()
Gets the maximum Y- value.


setSpatialOperator

public void setSpatialOperator(int newOp)
Sets the spatial operator defined by the class constants.


getSpatialOperator

public int getSpatialOperator()
Returns the spatial operator as an integer.


getOpAsString

public String getOpAsString()
Returns the spatial operator as a string.


getEnvelopeElement

public Element getEnvelopeElement()
                           throws com.esri.aims.mtier.model.axl.AXLAttributeException
Returns this object as an Element for use within an XML document.

Throws:
com.esri.aims.mtier.model.axl.AXLAttributeException

setOpFromString

public void setOpFromString(String operatorString)
Sets the spatial operator using the given string.