|
||||||||||
| 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.SIFKeyedElement
com.edustructures.sifworks.trans.BusDriver
public class BusDriver
Information identifying the driver.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
BusDriver()
Constructor |
|
BusDriver(StaffBoardingStatus status)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getEmployeePersonalRefId()
Gets the value of the <EmployeePersonalRefId> 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 |
Name |
getName()
Gets the value of the <Name> element. |
java.lang.String |
getStatus()
Gets the value of the Status attribute. |
void |
removeName()
Removes the Name child element previously created by calling setName |
void |
setEmployeePersonalRefId(java.lang.String value)
Sets the value of the <EmployeePersonalRefId> element. |
void |
setName(Name value)
Sets the value of the <Name> element. |
void |
setName(NameType type,
java.lang.String lastName,
java.lang.String firstName)
Sets the value of the <Name> child element. |
void |
setStatus(StaffBoardingStatus value)
Sets the value of the Status attribute. |
void |
setStatus(java.lang.String value)
Sets the value of the Status attribute as a String. |
| 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 BusDriver()
public BusDriver(StaffBoardingStatus status)
status - Boarding status of the driver.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getStatus()
Status attribute.
The SIF specification defines the meaning of this attribute as: "Boarding status of the driver."
Status attribute of this object.public void setStatus(StaffBoardingStatus value)
Status attribute.
The SIF specification defines the meaning of this attribute as: "Boarding status of the driver."
value - A constant defined by the StaffBoardingStatus classpublic void setStatus(java.lang.String value)
Status attribute as a String.
The SIF specification defines the meaning of this attribute as: "Boarding status of the driver."
value - The value as a Stringpublic void setName(Name value)
<Name> element.
The SIF specification defines the meaning of this element as: "The name of the driver. Condition is that at least one of this and BusDriver/EmpLink must be included."
value - A Name object
public void setName(NameType type,
java.lang.String lastName,
java.lang.String firstName)
<Name> child element.
This form of setName is provided as a convenience method
that is functionally equivalent to the version of setName
that accepts a single Name object.
type - Code that specifies what type of name this is. If unsure, use 04.lastName - The last name.firstName - The first name.public Name getName()
<Name> element.
The SIF specification defines the meaning of this element as: "The name of the driver. Condition is that at least one of this and BusDriver/EmpLink must be included."
Name objectpublic void removeName()
Name child element previously created by calling setName
public java.lang.String getEmployeePersonalRefId()
<EmployeePersonalRefId> element.
The SIF specification defines the meaning of this element as: "The GUID of the driver's EmployeePersonal object. Condition is that at least one of this and BusDriver/Name must be included."
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.5r1 | "EmpLink" |
| SIF2.0 | "EmployeePersonalRefId" |
EmployeePersonalRefId element of this object.public void setEmployeePersonalRefId(java.lang.String value)
<EmployeePersonalRefId> element.
The SIF specification defines the meaning of this element as: "The GUID of the driver's EmployeePersonal object. Condition is that at least one of this and BusDriver/Name must be included."
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.5r1 | "EmpLink" |
| SIF2.0 | "EmployeePersonalRefId" |
value - A String object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||