|
||||||||||
| 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.BusInfo
public class BusInfo
This object contains all of the information about a bus.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
BusInfo()
Constructor |
|
BusInfo(java.lang.String refId,
java.lang.String vehicleNumber)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getContractor()
Gets the value of the <Contractor> element. |
EquipmentList |
getEquipmentList()
Gets the value of the <EquipmentList> 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. |
java.lang.Integer |
getSeatingCapacity()
Gets the value of the <SeatingCapacity> element. |
java.lang.String |
getVehicleNumber()
Gets the value of the <VehicleNumber> element. |
void |
removeEquipmentList()
Removes the EquipmentList child element previously created by calling setEquipmentList |
void |
setContractor(java.lang.String value)
Sets the value of the <Contractor> element. |
void |
setEquipmentList(EquipmentList value)
Sets the value of the <EquipmentList> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setSeatingCapacity(java.lang.Integer value)
Sets the value of the <SeatingCapacity> element. |
void |
setVehicleNumber(java.lang.String value)
Sets the value of the <VehicleNumber> element. |
| 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 BusInfo()
public BusInfo(java.lang.String refId,
java.lang.String vehicleNumber)
refId - GUID that identifies this bus.vehicleNumber - Vehicle number of the bus.| 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 bus."
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 bus."
value - A String objectpublic java.lang.String getVehicleNumber()
<VehicleNumber> element.
The SIF specification defines the meaning of this element as: "Vehicle number of the bus."
VehicleNumber element of this object.public void setVehicleNumber(java.lang.String value)
<VehicleNumber> element.
The SIF specification defines the meaning of this element as: "Vehicle number of the bus."
value - A String objectpublic java.lang.Integer getSeatingCapacity()
<SeatingCapacity> element.
The SIF specification defines the meaning of this element as: "The number of people who can ride on the bus at the same time."
SeatingCapacity element of this object.public void setSeatingCapacity(java.lang.Integer value)
<SeatingCapacity> element.
The SIF specification defines the meaning of this element as: "The number of people who can ride on the bus at the same time."
value - A Integer objectpublic java.lang.String getContractor()
<Contractor> element.
The SIF specification defines the meaning of this element as: "The name of the contractor for this bus."
Contractor element of this object.public void setContractor(java.lang.String value)
<Contractor> element.
The SIF specification defines the meaning of this element as: "The name of the contractor for this bus."
value - A String objectpublic void setEquipmentList(EquipmentList value)
<EquipmentList> element.
The SIF specification defines the meaning of this element as: "Describes any special equipment that is on this bus"
value - A EquipmentList objectpublic EquipmentList getEquipmentList()
<EquipmentList> element.
The SIF specification defines the meaning of this element as: "Describes any special equipment that is on this bus"
EquipmentList objectpublic void removeEquipmentList()
EquipmentList child element previously created by calling setEquipmentList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||