|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.Element
com.edustructures.sifworks.SIFElement
com.edustructures.sifworks.common.GridLocation
public class GridLocation
This element contains information about a map location. The GridLocation element is utilized within another object or element, such as Address or BusStopInfo
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
GridLocation()
Constructor |
|
GridLocation(java.math.BigDecimal latitude,
java.math.BigDecimal longitude)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getKey()
Gets the key of this object |
ElementDef[] |
getKeyFields()
Gets the metadata fields that make up the key of this object |
java.math.BigDecimal |
getLatitude()
Gets the value of the <Latitude> element. |
java.math.BigDecimal |
getLongitude()
Gets the value of the <Longitude> element. |
void |
setLatitude(java.math.BigDecimal value)
Sets the value of the <Latitude> element. |
void |
setLongitude(java.math.BigDecimal value)
Sets the value of the <Longitude> element. |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, clone, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getSIFVersion, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, setSIFVersion, setTextValue, setXmlId, tag |
| Methods inherited from class com.edustructures.sifworks.Element |
|---|
compareTo, getElementDef, getParent, getRoot, isChanged, isDoNotEncode, isEmpty, setChanged, setDoNotEncode, setElementDef, setEmpty, setParent, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GridLocation()
public GridLocation(java.math.BigDecimal latitude,
java.math.BigDecimal longitude)
latitude - The latitude coordinate of this location expressed in decimal format (e.g. "41.7699657")longitude - The longitude coordinate of this location expressed in decimal format (e.g. "79.548445")| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.math.BigDecimal getLatitude()
<Latitude> element.
The SIF specification defines the meaning of this element as: "The latitude coordinate of this location expressed in decimal format (e.g. "41.7699657")"
Latitude element of this object.public void setLatitude(java.math.BigDecimal value)
<Latitude> element.
The SIF specification defines the meaning of this element as: "The latitude coordinate of this location expressed in decimal format (e.g. "41.7699657")"
value - A BigDecimal objectpublic java.math.BigDecimal getLongitude()
<Longitude> element.
The SIF specification defines the meaning of this element as: "The longitude coordinate of this location expressed in decimal format (e.g. "79.548445")"
Longitude element of this object.public void setLongitude(java.math.BigDecimal value)
<Longitude> element.
The SIF specification defines the meaning of this element as: "The longitude coordinate of this location expressed in decimal format (e.g. "79.548445")"
value - A BigDecimal object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||