com.mapquest
Class CoverageStyle

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

public class CoverageStyle
extends MQObjectCollection

A collection of DTStyle objects. DTStyle objects contain information necessary to display various features on a map.

See Also:
BaseDTStyle

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
CoverageStyle()
          Default constructor.
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
 BaseDTStyle getAt(int index)
          Returns the element at the specified position in this collection.
 int getClassId()
          Returns the numeric id of this class.
 java.lang.String getClassName()
          Returns the text name of this class.
 java.lang.String getName()
          Returns the name of the CoverageStyle.
 int hashCode()
          Returns a hash code for this CoverageStyle.
 void init()
          Initializes object.
 void setName(java.lang.String strName)
          Sets the name of the CoverageStyle.
 
Methods inherited from class com.mapquest.MQObjectCollection
add, append, get, getSize, remove, removeAll, removeAt
 
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

CoverageStyle

public CoverageStyle()
Default constructor.

Method Detail

init

public void init()
Initializes object.

Overrides:
init in class MQObjectCollection

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.

getAt

public BaseDTStyle getAt(int index)
Returns the element at the specified position in this collection.

Parameters:
index - index of element to return.
Returns:
BaseDTStyle at the specified index.
See Also:
MQObjectCollection.get(int)

setName

public void setName(java.lang.String strName)
Sets the name of the CoverageStyle.

Parameters:
strName - The name to which the CoverageStyle is to be set.

getName

public java.lang.String getName()
Returns the name of the CoverageStyle.

Returns:
the name of the coverage style.

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 CoverageStyle object that has same attributes as this object.

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

hashCode

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

Overrides:
hashCode in class MQObjectCollection
Returns:
a hash code value for this CoverageStyle.