|
||||||||||
| 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.StudentTransportInfo
public class StudentTransportInfo
This object contains transportation information about a student. Students should have at least two StudentTransportInfo objects associated with them: one for inbound information (getting to school) and one for outbound information (leaving school). If their transportation changes based on the day of the week, then a student will have more than two StudentTransportInfo objects.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
StudentTransportInfo()
Constructor |
|
StudentTransportInfo(java.lang.String refId,
java.lang.String studentPersonalRefId,
StudentTransportInfoType type,
java.lang.String dayOfWeek,
java.lang.String schoolInfoRefId)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getDayOfWeek()
Gets the value of the DayOfWeek attribute. |
java.lang.String |
getEligibility()
Gets the value of the <Eligibility> element. |
HomeBusRouteDetail |
getHomeBusRouteDetail()
Gets the value of the <HomeBusRouteDetail> 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. |
SchoolBusRouteDetail |
getSchoolBusRouteDetail()
Gets the value of the <SchoolBusRouteDetail> element. |
java.lang.String |
getSchoolInfoRefId()
Gets the value of the SchoolInfoRefId attribute. |
java.lang.String |
getStudentPersonalRefId()
Gets the value of the StudentPersonalRefId attribute. |
TransferPoints |
getTransferPoints()
Gets the value of the <TransferPoints> element. |
java.lang.String |
getType()
Gets the value of the Type attribute. |
void |
removeHomeBusRouteDetail()
Removes the HomeBusRouteDetail child element previously created by calling setHomeBusRouteDetail |
void |
removeSchoolBusRouteDetail()
Removes the SchoolBusRouteDetail child element previously created by calling setSchoolBusRouteDetail |
void |
removeTransferPoints()
Removes the TransferPoints child element previously created by calling setTransferPoints |
void |
setDayOfWeek(java.lang.String value)
Sets the value of the DayOfWeek attribute. |
void |
setEligibility(Eligibility value)
Sets the value of the <Eligibility> element. |
void |
setEligibility(java.lang.String value)
Sets the value of the <Eligibility> element as a String. |
void |
setHomeBusRouteDetail(HomeBusRouteDetail value)
Sets the value of the <HomeBusRouteDetail> element. |
void |
setHomeBusRouteDetail(java.lang.String sifRefObject,
java.lang.String value)
Sets the value of the <HomeBusRouteDetail> child element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setSchoolBusRouteDetail(SchoolBusRouteDetail value)
Sets the value of the <SchoolBusRouteDetail> element. |
void |
setSchoolBusRouteDetail(java.lang.String sifRefObject,
java.lang.String value)
Sets the value of the <SchoolBusRouteDetail> child element. |
void |
setSchoolInfoRefId(java.lang.String value)
Sets the value of the SchoolInfoRefId attribute. |
void |
setStudentPersonalRefId(java.lang.String value)
Sets the value of the StudentPersonalRefId attribute. |
void |
setTransferPoints(TransferPoints value)
Sets the value of the <TransferPoints> element. |
void |
setType(java.lang.String value)
Sets the value of the Type attribute as a String. |
void |
setType(StudentTransportInfoType value)
Sets the value of the Type 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 StudentTransportInfo()
public StudentTransportInfo(java.lang.String refId,
java.lang.String studentPersonalRefId,
StudentTransportInfoType type,
java.lang.String dayOfWeek,
java.lang.String schoolInfoRefId)
refId - GUID that identifies this object.studentPersonalRefId - GUID that identifies the student that this object refers to.type - The direction of transportation that this object refers to.dayOfWeek - This attribute indicates the day(s) of the week to which this object refers.schoolInfoRefId - GUID referring to the school that the student attends on these day(s) of the week.| 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 getStudentPersonalRefId()
StudentPersonalRefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID that identifies the student that this object refers to."
StudentPersonalRefId attribute of this object.public void setStudentPersonalRefId(java.lang.String value)
StudentPersonalRefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID that identifies the student that this object refers to."
value - A String objectpublic java.lang.String getType()
Type attribute.
The SIF specification defines the meaning of this attribute as: "The direction of transportation that this object refers to."
Type attribute of this object.public void setType(StudentTransportInfoType value)
Type attribute.
The SIF specification defines the meaning of this attribute as: "The direction of transportation that this object refers to."
value - A constant defined by the StudentTransportInfoType classpublic void setType(java.lang.String value)
Type attribute as a String.
The SIF specification defines the meaning of this attribute as: "The direction of transportation that this object refers to."
value - The value as a Stringpublic java.lang.String getDayOfWeek()
DayOfWeek attribute.
The SIF specification defines the meaning of this attribute as: "This attribute indicates the day(s) of the week to which this object refers."
DayOfWeek attribute of this object.public void setDayOfWeek(java.lang.String value)
DayOfWeek attribute.
The SIF specification defines the meaning of this attribute as: "This attribute indicates the day(s) of the week to which this object refers."
value - A String objectpublic java.lang.String getSchoolInfoRefId()
SchoolInfoRefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID referring to the school that the student attends on these day(s) of the week."
SchoolInfoRefId attribute of this object.public void setSchoolInfoRefId(java.lang.String value)
SchoolInfoRefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID referring to the school that the student attends on these day(s) of the week."
value - A String objectpublic java.lang.String getEligibility()
<Eligibility> element.
The SIF specification defines the meaning of this element as: "Eligibility status of student for district transportation for this trip."
Eligibility element of this object.public void setEligibility(Eligibility value)
<Eligibility> element.
The SIF specification defines the meaning of this element as: "Eligibility status of student for district transportation for this trip."
value - A constant defined by the Eligibility classpublic void setEligibility(java.lang.String value)
<Eligibility> element as a String.
The SIF specification defines the meaning of this element as: "Eligibility status of student for district transportation for this trip."
value - The value as a Stringpublic void setHomeBusRouteDetail(HomeBusRouteDetail value)
<HomeBusRouteDetail> element.
The SIF specification defines the meaning of this element as: "If the HomeBusRouteDetail element does not exist then the student does not ride a bus to/from school."
value - A HomeBusRouteDetail object
public void setHomeBusRouteDetail(java.lang.String sifRefObject,
java.lang.String value)
<HomeBusRouteDetail> child element.
This form of setHomeBusRouteDetail is provided as a convenience method
that is functionally equivalent to the version of setHomeBusRouteDetail
that accepts a single HomeBusRouteDetail object.
sifRefObject - Must be set to BusRouteDetailvalue - Gets or sets the content value of the <HomeBusRouteDetail> elementpublic HomeBusRouteDetail getHomeBusRouteDetail()
<HomeBusRouteDetail> element.
The SIF specification defines the meaning of this element as: "If the HomeBusRouteDetail element does not exist then the student does not ride a bus to/from school."
HomeBusRouteDetail objectpublic void removeHomeBusRouteDetail()
HomeBusRouteDetail child element previously created by calling setHomeBusRouteDetail
public void setTransferPoints(TransferPoints value)
<TransferPoints> element.
The SIF specification defines the meaning of this element as: "There should be one TransferPoint for each intermediate point on a trip. The "embark" and "disembark" bus stops for a single transfer point must be at the same location. To order multiple TransferPoint elements, use the Time element of the BusStopInfo objects referenced by the attributes."
value - A TransferPoints objectpublic TransferPoints getTransferPoints()
<TransferPoints> element.
The SIF specification defines the meaning of this element as: "There should be one TransferPoint for each intermediate point on a trip. The "embark" and "disembark" bus stops for a single transfer point must be at the same location. To order multiple TransferPoint elements, use the Time element of the BusStopInfo objects referenced by the attributes."
TransferPoints objectpublic void removeTransferPoints()
TransferPoints child element previously created by calling setTransferPoints
public void setSchoolBusRouteDetail(SchoolBusRouteDetail value)
<SchoolBusRouteDetail> element.
The SIF specification defines the meaning of this element as: "If the SchoolBusRouteDetail element does not exist then the student does not ride a bus to/from school."
value - A SchoolBusRouteDetail object
public void setSchoolBusRouteDetail(java.lang.String sifRefObject,
java.lang.String value)
<SchoolBusRouteDetail> child element.
This form of setSchoolBusRouteDetail is provided as a convenience method
that is functionally equivalent to the version of setSchoolBusRouteDetail
that accepts a single SchoolBusRouteDetail object.
sifRefObject - GUID referring to a BusRouteDetail object that identifies the origin bus stop for an inbound route or the destination bus stop for an outbound route.value - Gets or sets the content value of the <SchoolBusRouteDetail> elementpublic SchoolBusRouteDetail getSchoolBusRouteDetail()
<SchoolBusRouteDetail> element.
The SIF specification defines the meaning of this element as: "If the SchoolBusRouteDetail element does not exist then the student does not ride a bus to/from school."
SchoolBusRouteDetail objectpublic void removeSchoolBusRouteDetail()
SchoolBusRouteDetail child element previously created by calling setSchoolBusRouteDetail
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||