com.esri.core.tasks
Enum SpatialRelationship

java.lang.Object
  extended by java.lang.Enum<SpatialRelationship>
      extended by com.esri.core.tasks.SpatialRelationship
All Implemented Interfaces:
Serializable, Comparable<SpatialRelationship>

public enum SpatialRelationship
extends Enum<SpatialRelationship>

Enumeration of spatial relationship


Enum Constant Summary
CONTAINS
           
CROSSES
           
ENVELOPE_INTERSECTS
           
INDEX_INTERSECTS
           
INTERSECTS
           
OVERLAPS
           
TOUCHES
           
WITHIN
           
 
Method Summary
 String getValue()
           
 String toString()
           
static SpatialRelationship valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SpatialRelationship[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INTERSECTS

public static final SpatialRelationship INTERSECTS

CONTAINS

public static final SpatialRelationship CONTAINS

CROSSES

public static final SpatialRelationship CROSSES

ENVELOPE_INTERSECTS

public static final SpatialRelationship ENVELOPE_INTERSECTS

INDEX_INTERSECTS

public static final SpatialRelationship INDEX_INTERSECTS

OVERLAPS

public static final SpatialRelationship OVERLAPS

TOUCHES

public static final SpatialRelationship TOUCHES

WITHIN

public static final SpatialRelationship WITHIN
Method Detail

values

public static SpatialRelationship[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SpatialRelationship c : SpatialRelationship.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SpatialRelationship valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getValue

public String getValue()

toString

public String toString()
Overrides:
toString in class Enum<SpatialRelationship>


Copyright © 2012. All Rights Reserved.