|
||||||||||
| 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.hrfin.TimeWorked
public class TimeWorked
This object contains information about the time worked by an employee on a specific job. SIF_Events are reported.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
TimeWorked()
Constructor |
|
TimeWorked(java.lang.String refId,
java.lang.String employeePersonalRefId,
java.lang.String locationInfoRefId,
java.lang.String payPeriod)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getEmployeePersonalRefId()
Gets the value of the <EmployeePersonalRefId> element. |
JobFunction |
getJobFunction()
Gets the value of the <JobFunction> 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 |
getLocationInfoRefId()
Gets the value of the <LocationInfoRefId> element. |
java.math.BigDecimal |
getOvertimeHours()
Gets the value of the <OvertimeHours> element. |
java.lang.String |
getPayPeriod()
Gets the value of the <PayPeriod> element. |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
java.math.BigDecimal |
getRegularHours()
Gets the value of the <RegularHours> element. |
void |
removeJobFunction()
Removes the JobFunction child element previously created by calling setJobFunction |
void |
setEmployeePersonalRefId(java.lang.String value)
Sets the value of the <EmployeePersonalRefId> element. |
void |
setJobFunction(JobFunction value)
Sets the value of the <JobFunction> element. |
void |
setJobFunction(JobFunctionCode code)
Sets the value of the <JobFunction> child element. |
void |
setLocationInfoRefId(java.lang.String value)
Sets the value of the <LocationInfoRefId> element. |
void |
setOvertimeHours(java.math.BigDecimal value)
Sets the value of the <OvertimeHours> element. |
void |
setPayPeriod(java.lang.String value)
Sets the value of the <PayPeriod> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setRegularHours(java.math.BigDecimal value)
Sets the value of the <RegularHours> 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 TimeWorked()
public TimeWorked(java.lang.String refId,
java.lang.String employeePersonalRefId,
java.lang.String locationInfoRefId,
java.lang.String payPeriod)
refId - GUID for this object. The application that owns this object is responsible for generating this unique ID.employeePersonalRefId - References associated EmployeePersonal object.locationInfoRefId - Site where employee actually worked. References LocationInfo object.payPeriod - Pay period hours were worked in.| 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 for this object. The application that owns this object is responsible for generating this unique ID."
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 for this object. The application that owns this object is responsible for generating this unique ID."
value - A String objectpublic java.lang.String getEmployeePersonalRefId()
<EmployeePersonalRefId> element.
The SIF specification defines the meaning of this element as: "References associated EmployeePersonal object."
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 | "EmployeeId" |
| 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: "References associated EmployeePersonal object."
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 | "EmployeeId" |
| SIF2.0 | "EmployeePersonalRefId" |
value - A String objectpublic java.lang.String getLocationInfoRefId()
<LocationInfoRefId> element.
The SIF specification defines the meaning of this element as: "Site where employee actually worked. References LocationInfo object."
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 | "EmployeeSiteId" |
| SIF2.0 | "LocationInfoRefId" |
LocationInfoRefId element of this object.public void setLocationInfoRefId(java.lang.String value)
<LocationInfoRefId> element.
The SIF specification defines the meaning of this element as: "Site where employee actually worked. References LocationInfo object."
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 | "EmployeeSiteId" |
| SIF2.0 | "LocationInfoRefId" |
value - A String objectpublic void setJobFunction(JobFunction value)
<JobFunction> element.
The SIF specification defines the meaning of this element as: "The purpose of the activities as related to students."
value - A JobFunction objectpublic void setJobFunction(JobFunctionCode code)
<JobFunction> child element.
This form of setJobFunction is provided as a convenience method
that is functionally equivalent to the version of setJobFunction
that accepts a single JobFunction object.
code - Code representing the type of job function.public JobFunction getJobFunction()
<JobFunction> element.
The SIF specification defines the meaning of this element as: "The purpose of the activities as related to students."
JobFunction objectpublic void removeJobFunction()
JobFunction child element previously created by calling setJobFunction
public java.math.BigDecimal getRegularHours()
<RegularHours> element.
The SIF specification defines the meaning of this element as: "Regular hours worked. Enter 0 if no hours worked."
RegularHours element of this object.public void setRegularHours(java.math.BigDecimal value)
<RegularHours> element.
The SIF specification defines the meaning of this element as: "Regular hours worked. Enter 0 if no hours worked."
value - A BigDecimal objectpublic java.math.BigDecimal getOvertimeHours()
<OvertimeHours> element.
The SIF specification defines the meaning of this element as: "Overtime hours worked. Enter 0 if no overtime hours worked."
OvertimeHours element of this object.public void setOvertimeHours(java.math.BigDecimal value)
<OvertimeHours> element.
The SIF specification defines the meaning of this element as: "Overtime hours worked. Enter 0 if no overtime hours worked."
value - A BigDecimal objectpublic java.lang.String getPayPeriod()
<PayPeriod> element.
The SIF specification defines the meaning of this element as: "Pay period hours were worked in."
PayPeriod element of this object.public void setPayPeriod(java.lang.String value)
<PayPeriod> element.
The SIF specification defines the meaning of this element as: "Pay period hours were worked in."
value - A String object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||