|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataFieldInterface
The various AskGeo maps return results when queried. The results represent a shape in the map. Those shapes have metadata associated with them. Those metadata are enumerated by one or more Java enums, all of which implement this interface.
This interface requires that the enums provide a description and the units for each of the fields. It also echos the already implemented methods ordinal() and name() which are part of the Enum class.
Method Summary | |
---|---|
java.lang.String |
description()
Returns a human-readable description of the data field. |
FieldUnit |
fieldUnit()
Specifies the FieldUnit of the field. |
java.lang.String |
name()
Returns the enum's name, exactly as written in the code. |
int |
ordinal()
Returns the ordinal value (i.e., index) of the enumerated value. |
Method Detail |
---|
FieldUnit fieldUnit()
java.lang.String description()
int ordinal()
java.lang.String name()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |