|
||||||||||
| 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.BusRouteDetail
public class BusRouteDetail
The schedule for a bus route
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
BusRouteDetail()
Constructor |
|
BusRouteDetail(java.lang.String refId,
java.lang.String busRouteInfoRefId,
java.lang.String busStopInfoRefId,
java.util.Calendar arrivalTime)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.util.Calendar |
getArrivalTime()
Gets the value of the <ArrivalTime> element. |
java.lang.String |
getBusRouteInfoRefId()
Gets the value of the BusRouteInfoRefId attribute. |
java.lang.String |
getBusStopInfoRefId()
Gets the value of the <BusStopInfoRefId> 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 |
setArrivalTime(java.util.Calendar value)
Sets the value of the <ArrivalTime> element. |
void |
setBusRouteInfoRefId(java.lang.String value)
Sets the value of the BusRouteInfoRefId attribute. |
void |
setBusStopInfoRefId(java.lang.String value)
Sets the value of the <BusStopInfoRefId> 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 BusRouteDetail()
public BusRouteDetail(java.lang.String refId,
java.lang.String busRouteInfoRefId,
java.lang.String busStopInfoRefId,
java.util.Calendar arrivalTime)
refId - GUID that identifies this object.busRouteInfoRefId - GUID that identifies the bus route. See the BusRoute specification for more details.busStopInfoRefId - Describes a bus stoparrivalTime - The time that the bus associated with this route will stop at this bus stop.| 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 object."
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 object."
value - A String objectpublic java.lang.String getBusRouteInfoRefId()
BusRouteInfoRefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID that identifies the bus route. See the BusRoute specification for more details."
BusRouteInfoRefId attribute of this object.public void setBusRouteInfoRefId(java.lang.String value)
BusRouteInfoRefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID that identifies the bus route. See the BusRoute specification for more details."
value - A String objectpublic java.lang.String getBusStopInfoRefId()
<BusStopInfoRefId> element.
The SIF specification defines the meaning of this element as: "Describes a bus stop"
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.1 | "BusStop" |
| SIF2.0 | "BusStopInfoRefId" |
BusStopInfoRefId element of this object.public void setBusStopInfoRefId(java.lang.String value)
<BusStopInfoRefId> element.
The SIF specification defines the meaning of this element as: "Describes a bus stop"
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.1 | "BusStop" |
| SIF2.0 | "BusStopInfoRefId" |
value - A String objectpublic java.util.Calendar getArrivalTime()
<ArrivalTime> element.
The SIF specification defines the meaning of this element as: "The time that the bus associated with this route will stop at this bus stop."
ArrivalTime element of this object.public void setArrivalTime(java.util.Calendar value)
<ArrivalTime> element.
The SIF specification defines the meaning of this element as: "The time that the bus associated with this route will stop at this bus stop."
value - A Calendar object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||