com.mapquest
Class FeatureSpecifier

java.lang.Object
  extended bycom.mapquest.MQObject
      extended bycom.mapquest.FeatureSpecifier
All Implemented Interfaces:
java.lang.Cloneable

public class FeatureSpecifier
extends MQObject

Describes FeatureSpecifier annotations to be placed on the map. The FeatureSpecifier is converted into latitude/longitude points so it can be placed in the same geographical location after the map is manipulated.

See Also:
FeatureSpeciferAttributeType

Field Summary
static int CLASS_ID
           
static java.lang.String CLASS_NAME
           
 
Fields inherited from class com.mapquest.MQObject
DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION
 
Constructor Summary
FeatureSpecifier()
          Default constructor.
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
 FeatureSpeciferAttributeType getAttributeType()
          Get attribute type member of the FeatureSpecifier.
 java.lang.String getAttributeValue()
          Get attribute value member of the FeatureSpecifier.
 int getClassId()
          Returns the numeric id of this class.
 java.lang.String getClassName()
          Returns the text name of this class.
 int hashCode()
          Returns a hash code for this FeatureSpecifier.
 void init()
          Initializes object.
 void setAttributeType(FeatureSpeciferAttributeType lType)
          Set attribute type member of the FeatureSpecifier.
 void setAttributeValue(java.lang.String szValue)
          Set attribute value member of the FeatureSpecifier.
 
Methods inherited from class com.mapquest.MQObject
clone, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_ID

public static final int CLASS_ID
See Also:
Constant Field Values

CLASS_NAME

public static final java.lang.String CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

FeatureSpecifier

public FeatureSpecifier()
Default constructor.

Method Detail

init

public void init()
Initializes object.

Overrides:
init in class MQObject

getClassId

public int getClassId()
Returns the numeric id of this class.

Overrides:
getClassId in class MQObject
Returns:
the numeric id of this class.

getClassName

public java.lang.String getClassName()
Returns the text name of this class.

Overrides:
getClassName in class MQObject
Returns:
the text name of this class.

getAttributeType

public FeatureSpeciferAttributeType getAttributeType()
Get attribute type member of the FeatureSpecifier.

Returns:
The Attribute Type of this feature specifier

setAttributeType

public void setAttributeType(FeatureSpeciferAttributeType lType)
Set attribute type member of the FeatureSpecifier.

Parameters:
lType - the new Attribute Type of this feature specifier

getAttributeValue

public java.lang.String getAttributeValue()
Get attribute value member of the FeatureSpecifier.

Returns:
The Attribute Value

setAttributeValue

public void setAttributeValue(java.lang.String szValue)
Set attribute value member of the FeatureSpecifier.

Parameters:
szValue - The new Attribute Value

equals

public boolean equals(java.lang.Object otherObject)
Compares this object to the specified object. The result is true if and only if the argument is not null and is a FeatureSpecifier object that has same attributes as this object.

Overrides:
equals in class MQObject
Parameters:
otherObject - the object to compare this FeatureSpecifier against.
Returns:
true if the FeatureSpecifier objects are equal; false otherwise.

hashCode

public int hashCode()
Returns a hash code for this FeatureSpecifier.

Overrides:
hashCode in class MQObject
Returns:
a hash code value for this FeatureSpecifier.