com.edustructures.sifworks.hrfin
Class EmploymentRecord

java.lang.Object
  extended by com.edustructures.sifworks.Element
      extended by com.edustructures.sifworks.SIFElement
          extended by com.edustructures.sifworks.SIFDataObject
              extended by com.edustructures.sifworks.hrfin.EmploymentRecord
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class EmploymentRecord
extends SIFDataObject

This object contains basic HR information for related to employees. SIF_Events are reported.

Since:
1.5r1
Version:
2.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.edustructures.sifworks.Element
CURRENT_SERIALIZE_VERSION
 
Constructor Summary
EmploymentRecord()
          Constructor
EmploymentRecord(java.lang.String refId, java.lang.String sifRefObject, java.lang.String sifRefId, java.lang.String leaInfoRefId)
          Constructor that accepts values for all mandatory fields
 
Method Summary
 java.lang.Boolean getActive()
          Gets the value of the <Active> element.
 java.lang.String getFullTimeStatus()
          Gets the value of the <FullTimeStatus> element.
 java.util.Calendar getHireDate()
          Gets the value of the <HireDate> 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 getLEAInfoRefId()
          Gets the value of the <LEAInfoRefId> element.
 java.lang.String getPositionNumber()
          Gets the value of the <PositionNumber> element.
 java.lang.String getPositionTitle()
          Gets the value of the <PositionTitle> element.
 java.lang.String getRefId()
          Gets the value of the RefId attribute.
 java.util.Calendar getSeniorityDate()
          Gets the value of the <SeniorityDate> element.
 java.lang.String getSIF_RefId()
          Gets the value of the SIF_RefId attribute.
 java.lang.String getSIF_RefObject()
          Gets the value of the SIF_RefObject attribute.
 java.util.Calendar getTenureDate()
          Gets the value of the <TenureDate> element.
 java.util.Calendar getTerminationDate()
          Gets the value of the <TerminationDate> element.
 java.lang.Integer getTotalYearsExperience()
          Gets the value of the <TotalYearsExperience> element.
 void setActive(java.lang.Boolean value)
          Sets the value of the <Active> element.
 void setFullTimeStatus(FullTimeStatus value)
          Sets the value of the <FullTimeStatus> element.
 void setFullTimeStatus(java.lang.String value)
          Sets the value of the <FullTimeStatus> element as a String.
 void setHireDate(java.util.Calendar value)
          Sets the value of the <HireDate> element.
 void setLEAInfoRefId(java.lang.String value)
          Sets the value of the <LEAInfoRefId> element.
 void setPositionNumber(java.lang.String value)
          Sets the value of the <PositionNumber> element.
 void setPositionTitle(java.lang.String value)
          Sets the value of the <PositionTitle> element.
 void setRefId(java.lang.String value)
          Sets the value of the RefId attribute.
 void setSeniorityDate(java.util.Calendar value)
          Sets the value of the <SeniorityDate> element.
 void setSIF_RefId(java.lang.String value)
          Sets the value of the SIF_RefId attribute.
 void setSIF_RefObject(java.lang.String value)
          Sets the value of the SIF_RefObject attribute.
 void setTenureDate(java.util.Calendar value)
          Sets the value of the <TenureDate> element.
 void setTerminationDate(java.util.Calendar value)
          Sets the value of the <TerminationDate> element.
 void setTotalYearsExperience(java.lang.Integer value)
          Sets the value of the <TotalYearsExperience> 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

EmploymentRecord

public EmploymentRecord()
Constructor


EmploymentRecord

public EmploymentRecord(java.lang.String refId,
                        java.lang.String sifRefObject,
                        java.lang.String sifRefId,
                        java.lang.String leaInfoRefId)
Constructor that accepts values for all mandatory fields

Parameters:
refId - The GUID of the employee's HR related information.
sifRefObject -
sifRefId - The GUID can either refer to the EmployeePersonal or StaffPersonal object.
leaInfoRefId - The GUID reference to the LEAInfo object representing the LEA that employs the staff member.
Method Detail

getKey

public java.lang.String getKey()
Gets the key of this object

Overrides:
getKey in class SIFElement
Returns:
The value of the object's Mandatory or Required attribute. If an object has more than one such attribute, the key is a period- delimited concatenation of the attribute values in sequential order

getKeyFields

public ElementDef[] getKeyFields()
Gets the metadata fields that make up the key of this object

Returns:
an array of metadata fields that make up the object's key

getRefId

public java.lang.String getRefId()
Gets the value of the RefId attribute.

The SIF specification defines the meaning of this attribute as: "The GUID of the employee's HR related information."

Overrides:
getRefId in class SIFDataObject
Returns:
The RefId attribute of this object.
Since:
1.5r1

setRefId

public void setRefId(java.lang.String value)
Sets the value of the RefId attribute.

The SIF specification defines the meaning of this attribute as: "The GUID of the employee's HR related information."

Parameters:
value - A String object
Since:
1.5r1

getSIF_RefObject

public java.lang.String getSIF_RefObject()
Gets the value of the SIF_RefObject attribute.

Returns:
The SIF_RefObject attribute of this object.
Since:
2.0

setSIF_RefObject

public void setSIF_RefObject(java.lang.String value)
Sets the value of the SIF_RefObject attribute.

Parameters:
value - A String object
Since:
2.0

getSIF_RefId

public java.lang.String getSIF_RefId()
Gets the value of the SIF_RefId attribute.

The SIF specification defines the meaning of this attribute as: "The GUID can either refer to the EmployeePersonal or StaffPersonal object."

This attribute 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 attributes of this kind.

VersionTag
1.5r1"EmployeePersonalRefId"
SIF2.0"SIF_RefId"

Returns:
The SIF_RefId attribute of this object.
Since:
1.5r1

setSIF_RefId

public void setSIF_RefId(java.lang.String value)
Sets the value of the SIF_RefId attribute.

The SIF specification defines the meaning of this attribute as: "The GUID can either refer to the EmployeePersonal or StaffPersonal object."

This attribute 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 attributes of this kind.

VersionTag
1.5r1"EmployeePersonalRefId"
SIF2.0"SIF_RefId"

Parameters:
value - A String object
Since:
1.5r1

getLEAInfoRefId

public java.lang.String getLEAInfoRefId()
Gets the value of the <LEAInfoRefId> element.

The SIF specification defines the meaning of this element as: "The GUID reference to the LEAInfo object representing the LEA that employs the staff member."

Returns:
The LEAInfoRefId element of this object.
Since:
2.0

setLEAInfoRefId

public void setLEAInfoRefId(java.lang.String value)
Sets the value of the <LEAInfoRefId> element.

The SIF specification defines the meaning of this element as: "The GUID reference to the LEAInfo object representing the LEA that employs the staff member."

Parameters:
value - A String object
Since:
2.0

getActive

public java.lang.Boolean getActive()
Gets the value of the <Active> element.

The SIF specification defines the meaning of this element as: "Staff is currently active and/or employed."

Returns:
The Active element of this object.
Since:
1.5r1

setActive

public void setActive(java.lang.Boolean value)
Sets the value of the <Active> element.

The SIF specification defines the meaning of this element as: "Staff is currently active and/or employed."

Parameters:
value - A Boolean object
Since:
1.5r1

getFullTimeStatus

public java.lang.String getFullTimeStatus()
Gets the value of the <FullTimeStatus> element.

The SIF specification defines the meaning of this element as: "Full-time status of employee."

Returns:
The FullTimeStatus element of this object.
Since:
1.5r1

setFullTimeStatus

public void setFullTimeStatus(FullTimeStatus value)
Sets the value of the <FullTimeStatus> element.

The SIF specification defines the meaning of this element as: "Full-time status of employee."

Parameters:
value - A constant defined by the FullTimeStatus class
Since:
1.5r1

setFullTimeStatus

public void setFullTimeStatus(java.lang.String value)
Sets the value of the <FullTimeStatus> element as a String.

The SIF specification defines the meaning of this element as: "Full-time status of employee."

Parameters:
value - The value as a String
Since:
1.5r1

getHireDate

public java.util.Calendar getHireDate()
Gets the value of the <HireDate> element.

The SIF specification defines the meaning of this element as: "Date the employee was hired."

Returns:
The HireDate element of this object.
Since:
1.5r1

setHireDate

public void setHireDate(java.util.Calendar value)
Sets the value of the <HireDate> element.

The SIF specification defines the meaning of this element as: "Date the employee was hired."

Parameters:
value - A Calendar object
Since:
1.5r1

getTotalYearsExperience

public java.lang.Integer getTotalYearsExperience()
Gets the value of the <TotalYearsExperience> element.

The SIF specification defines the meaning of this element as: "Total number of years of prior experience."

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.

VersionTag
1.5r1"TotalYears"
SIF2.0"TotalYearsExperience"

Returns:
The TotalYearsExperience element of this object.
Since:
1.5r1

setTotalYearsExperience

public void setTotalYearsExperience(java.lang.Integer value)
Sets the value of the <TotalYearsExperience> element.

The SIF specification defines the meaning of this element as: "Total number of years of prior experience."

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.

VersionTag
1.5r1"TotalYears"
SIF2.0"TotalYearsExperience"

Parameters:
value - A Integer object
Since:
1.5r1

getPositionTitle

public java.lang.String getPositionTitle()
Gets the value of the <PositionTitle> element.

The SIF specification defines the meaning of this element as: "Employee's current position title."

Returns:
The PositionTitle element of this object.
Since:
1.5r1

setPositionTitle

public void setPositionTitle(java.lang.String value)
Sets the value of the <PositionTitle> element.

The SIF specification defines the meaning of this element as: "Employee's current position title."

Parameters:
value - A String object
Since:
1.5r1

getTerminationDate

public java.util.Calendar getTerminationDate()
Gets the value of the <TerminationDate> element.

The SIF specification defines the meaning of this element as: "Date the employee resigned. Present if a HireDate is entered and a TerminationDate is available."

Returns:
The TerminationDate element of this object.
Since:
2.0

setTerminationDate

public void setTerminationDate(java.util.Calendar value)
Sets the value of the <TerminationDate> element.

The SIF specification defines the meaning of this element as: "Date the employee resigned. Present if a HireDate is entered and a TerminationDate is available."

Parameters:
value - A Calendar object
Since:
2.0

getPositionNumber

public java.lang.String getPositionNumber()
Gets the value of the <PositionNumber> element.

The SIF specification defines the meaning of this element as: "Employee's level or category assigned by employer."

Returns:
The PositionNumber element of this object.
Since:
1.5r1

setPositionNumber

public void setPositionNumber(java.lang.String value)
Sets the value of the <PositionNumber> element.

The SIF specification defines the meaning of this element as: "Employee's level or category assigned by employer."

Parameters:
value - A String object
Since:
1.5r1

getSeniorityDate

public java.util.Calendar getSeniorityDate()
Gets the value of the <SeniorityDate> element.

The SIF specification defines the meaning of this element as: "Date employee has seniority."

Returns:
The SeniorityDate element of this object.
Since:
1.5r1

setSeniorityDate

public void setSeniorityDate(java.util.Calendar value)
Sets the value of the <SeniorityDate> element.

The SIF specification defines the meaning of this element as: "Date employee has seniority."

Parameters:
value - A Calendar object
Since:
1.5r1

getTenureDate

public java.util.Calendar getTenureDate()
Gets the value of the <TenureDate> element.

The SIF specification defines the meaning of this element as: "Date employee is tenured."

Returns:
The TenureDate element of this object.
Since:
1.5r1

setTenureDate

public void setTenureDate(java.util.Calendar value)
Sets the value of the <TenureDate> element.

The SIF specification defines the meaning of this element as: "Date employee is tenured."

Parameters:
value - A Calendar object
Since:
1.5r1


Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.