|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.SearchCriteria
com.mapquest.CorridorSearchCriteria
Defines the criteria for a Corridor search. The corridor to be searched is defined by the latitude/longitude collection
LatLng,
LatLngCollection,
DistanceUnits| 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 | |
CorridorSearchCriteria()
Default Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
boolean |
getCorrExactLinks()
Returns the exactLinks-whether to use generalization in determining corridor |
double |
getCorridorBufferWidth()
Returns the width of the corridor buffer which defines the extent of the generalization. |
double |
getCorridorBufferWidth(DistanceUnits du)
Returns the width of the corridor buffer which defines the extent of the generalization. |
double |
getCorridorWidth()
Returns the width of the corridor which defines the extent of the search area. |
double |
getCorridorWidth(DistanceUnits du)
Returns the width of the corridor which defines the extent of the search area. |
LatLngCollection |
getShapePoints()
Returns the array of shape points in LatLngs used to form the corridor to search. |
int |
hashCode()
Returns a hash code for this CorridorSearchCriteria. |
void |
init()
Initializes object. |
void |
setCorrExactLinks(boolean bExactLinks)
sets exactLinks-whether to use generalization in determining corridor |
void |
setCorridorBufferWidth(double dBufferWidth)
Sets the buffer width which defines the amount to generalize. |
void |
setCorridorBufferWidth(double dBufferWidth,
DistanceUnits du)
Sets the buffer width which defines the amount to generalize. |
void |
setCorridorWidth(double dCorrWidth)
Sets the Corridor width (miles) which defines the extent of the search area. |
void |
setCorridorWidth(double dCorrWidth,
DistanceUnits du)
Sets the Corridor width (miles) which defines the extent of the search area. |
void |
setShapePoints(LatLngCollection lla)
Empties the array of shape points in LatLngs used to form the corridor to search and adds the members of the passed-in array. |
| Methods inherited from class com.mapquest.SearchCriteria |
getMaxMatches, setMaxMatches |
| 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 |
public static final int CLASS_ID
public static final java.lang.String CLASS_NAME
| Constructor Detail |
public CorridorSearchCriteria()
| Method Detail |
public void init()
init in class SearchCriteriapublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic LatLngCollection getShapePoints()
public void setShapePoints(LatLngCollection lla)
lla - array of LatLngs to use.public void setCorridorWidth(double dCorrWidth)
dCorrWidth - The corridor width that this object is to be set to.
public void setCorridorWidth(double dCorrWidth,
DistanceUnits du)
dCorrWidth - The corridor width that this object is to be set to.du - DistanceUnits Miles or KiloMeters.public void setCorridorBufferWidth(double dBufferWidth)
dBufferWidth - The corridor buffer that this object is to be set to.
public void setCorridorBufferWidth(double dBufferWidth,
DistanceUnits du)
dBufferWidth - The corridor buffer that this object is to be
set to.du - DistanceUnits Miles or KiloMeters.public void setCorrExactLinks(boolean bExactLinks)
bExactLinks - Enables/disables generalization in the server.public double getCorridorWidth()
public double getCorridorWidth(DistanceUnits du)
du - DistanceUnits Miles or KiloMeters
public double getCorridorBufferWidth()
public double getCorridorBufferWidth(DistanceUnits du)
du - DistanceUnits Miles or KiloMeters
public boolean getCorrExactLinks()
public boolean equals(java.lang.Object otherObject)
equals in class SearchCriteriaotherObject - the object to compare this CorridorSearchCriteria
against.
public int hashCode()
hashCode in class SearchCriteria
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||