|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ResultField> com.askgeo.dbl.base.ResultField
public enum ResultField
The ResultField class enumerates some of the return values that are included in the subclasses of the ResultBase class as return values to a query on a subclass of the GeneralMap class. In particular, it enumerates those pertaining to the query, such as whether the query point was inside the shape, and if not the distance to the shape from the query point.
Enum Constant Summary | |
---|---|
AskGeoId
The internally-used AskGeo unique ID for the returned polygon |
|
IsInside
Whether or not the query point is inside the returned polygon |
|
MinDistanceKm
The distance from the query point to the nearest interior point of the returned polygon |
Method Summary | |
---|---|
java.lang.String |
description()
Returns a human-readable description of the data field. |
FieldType |
fieldType()
Returns the FieldType corresponding to this FieldUnit. |
FieldUnit |
fieldUnit()
Specifies the FieldUnit of the field. |
static ResultField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ResultField[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.askgeo.dbl.base.DataFieldInterface |
---|
name, ordinal |
Enum Constant Detail |
---|
public static final ResultField AskGeoId
public static final ResultField IsInside
public static final ResultField MinDistanceKm
Method Detail |
---|
public static ResultField[] values()
for (ResultField c : ResultField.values()) System.out.println(c);
public static ResultField valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic FieldType fieldType()
public FieldUnit fieldUnit()
DataFieldInterface
fieldUnit
in interface DataFieldInterface
public java.lang.String description()
DataFieldInterface
description
in interface DataFieldInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |