|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.Feature
An abstract parent class for objects which refer to map features.
DistanceUnits| Field Summary |
| Fields inherited from class com.mapquest.MQObject |
CLASS_ID, CLASS_NAME, DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION |
| Constructor Summary | |
Feature()
Default Constructor. |
|
Feature(Feature copy)
Copy Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
double |
getDistance()
Returns the distance from the center of a radius search |
double |
getDistance(DistanceUnits du)
Returns the distance from the center of a radius search |
int |
getDT()
Returns the display type of this Feature. |
long |
getGEFID()
Returns the GEFID of this Feature. |
java.lang.String |
getKey()
Returns this object's Key. |
java.lang.String |
getName()
Returns the name of this Feature. |
java.lang.String |
getSourceLayerName()
Returns the name of the Source Layer from which this Feature was extracted. |
int |
hashCode()
Returns a hash code for this Feature. |
void |
init()
Initializes object. |
void |
setDistance(double dDistance)
Sets the distance from the center of a radius search |
void |
setDistance(double dDistance,
DistanceUnits du)
Sets the distance from the center of a radius search |
void |
setDT(int n)
Sets this Feature's display type. |
void |
setGEFID(long lKey)
Sets the unique numeric identifier for this Feature. |
void |
setKey(java.lang.String strK)
Sets the key value of this object. |
void |
setName(java.lang.String sName)
Sets the name of this Feature. |
void |
setSourceLayerName(java.lang.String sSourceLayerName)
Sets the source layer name. |
| Methods inherited from class com.mapquest.MQObject |
clone, getClassId, getClassName, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Feature()
public Feature(Feature copy)
| Method Detail |
public void init()
init in class MQObjectpublic void setKey(java.lang.String strK)
strK - The value that the key is to be set to.public java.lang.String getKey()
public void setName(java.lang.String sName)
sName - The name that this Feature is to be assigned.public java.lang.String getName()
public void setDT(int n)
n - The display type that this Feature is to be set to.public int getDT()
public void setGEFID(long lKey)
lKey - A unique numeric identifier that this Feature's
GEFID is to be set to.public long getGEFID()
public void setSourceLayerName(java.lang.String sSourceLayerName)
public java.lang.String getSourceLayerName()
public double getDistance()
public double getDistance(DistanceUnits du)
du - DistanceUnits Miles or KiloMeters
public void setDistance(double dDistance)
dDistance - The distance from the center of a radius search
public void setDistance(double dDistance,
DistanceUnits du)
dDistance - The distance from the center of a radius searchdu - DistanceUnits Miles or KiloMeterspublic boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this Feature against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||