|
||||||||||
| 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.SIFDataObject
com.edustructures.sifworks.trans.BusStopInfo
public class BusStopInfo
This object contains information about a bus stop.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
BusStopInfo()
Constructor |
|
BusStopInfo(java.lang.String refId,
java.lang.String description)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the value of the <Description> element. |
GridLocation |
getGridLocation()
Gets the value of the <GridLocation> element. |
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.lang.String |
getRefId()
Gets the value of the RefId attribute. |
void |
removeGridLocation()
Removes the GridLocation child element previously created by calling setGridLocation |
void |
setDescription(java.lang.String value)
Sets the value of the <Description> element. |
void |
setGridLocation(java.math.BigDecimal latitude,
java.math.BigDecimal longitude)
Sets the value of the <GridLocation> child element. |
void |
setGridLocation(GridLocation value)
Sets the value of the <GridLocation> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
| Methods inherited from class com.edustructures.sifworks.SIFDataObject |
|---|
addSIFExtendedElement, clone, getElementOrAttribute, getObjectTag, getObjectType, getSIFExtendedElement, getSIFExtendedElements, getSIFExtendedElementsContainer, getSIFMetadata, getSIFVersion, setElementOrAttribute, setElementOrAttribute, setElementOrAttribute, setSIFExtendedElements, setSIFExtendedElementsContainer, setSIFMetadata, setSIFVersion, toXML |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, 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 BusStopInfo()
public BusStopInfo(java.lang.String refId,
java.lang.String description)
refId - GUID that identifies this location.description - An explanation of this location.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getRefId()
RefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID that identifies this location."
getRefId in class SIFDataObjectRefId attribute of this object.public void setRefId(java.lang.String value)
RefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID that identifies this location."
value - A String objectpublic java.lang.String getDescription()
<Description> element.
The SIF specification defines the meaning of this element as: "An explanation of this location."
Description element of this object.public void setDescription(java.lang.String value)
<Description> element.
The SIF specification defines the meaning of this element as: "An explanation of this location."
value - A String objectpublic void setGridLocation(GridLocation value)
<GridLocation> element.
The SIF specification defines the meaning of this element as: "The location of the bus stop."
value - A GridLocation object
public void setGridLocation(java.math.BigDecimal latitude,
java.math.BigDecimal longitude)
<GridLocation> child element.
This form of setGridLocation is provided as a convenience method
that is functionally equivalent to the version of setGridLocation
that accepts a single GridLocation object.
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")public GridLocation getGridLocation()
<GridLocation> element.
The SIF specification defines the meaning of this element as: "The location of the bus stop."
GridLocation objectpublic void removeGridLocation()
GridLocation child element previously created by calling setGridLocation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||