com.edustructures.sifworks.profdev
Class EmplAssignment

java.lang.Object
  extended by com.edustructures.sifworks.Element
      extended by com.edustructures.sifworks.SIFElement
          extended by com.edustructures.sifworks.SIFKeyedElement
              extended by com.edustructures.sifworks.profdev.EmplAssignment
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class EmplAssignment
extends SIFKeyedElement

Information about the school and assignment of employee

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
EmplAssignment()
          Constructor
EmplAssignment(java.lang.String schoolInfoRefId, GradeLevels gradeLevels, JobFunction jobFunction)
          Constructor that accepts values for all mandatory fields
 
Method Summary
 java.math.BigDecimal getFTE()
          Gets the value of the <FTE> element.
 GradeLevels getGradeLevels()
          Gets the value of the <GradeLevels> 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 getSchoolInfoRefId()
          Gets the value of the SchoolInfoRefId attribute.
 void removeGradeLevels()
          Removes the GradeLevels child element previously created by calling setGradeLevels
 void removeJobFunction()
          Removes the JobFunction child element previously created by calling setJobFunction
 void setFTE(java.math.BigDecimal value)
          Sets the value of the <FTE> element.
 void setGradeLevels(GradeLevels value)
          Sets the value of the <GradeLevels> 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 setSchoolInfoRefId(java.lang.String value)
          Sets the value of the SchoolInfoRefId attribute.
 
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

EmplAssignment

public EmplAssignment()
Constructor


EmplAssignment

public EmplAssignment(java.lang.String schoolInfoRefId,
                      GradeLevels gradeLevels,
                      JobFunction jobFunction)
Constructor that accepts values for all mandatory fields

Parameters:
schoolInfoRefId - References SchoolInfo object to determine school in which this assignment pertains.
gradeLevels -
jobFunction -
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

getSchoolInfoRefId

public java.lang.String getSchoolInfoRefId()
Gets the value of the SchoolInfoRefId attribute.

The SIF specification defines the meaning of this attribute as: "References SchoolInfo object to determine school in which this assignment pertains."

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

setSchoolInfoRefId

public void setSchoolInfoRefId(java.lang.String value)
Sets the value of the SchoolInfoRefId attribute.

The SIF specification defines the meaning of this attribute as: "References SchoolInfo object to determine school in which this assignment pertains."

Parameters:
value - A String object
Since:
1.5r1

setGradeLevels

public void setGradeLevels(GradeLevels value)
Sets the value of the <GradeLevels> element.

Parameters:
value - A GradeLevels object
Since:
1.5r1

getGradeLevels

public GradeLevels getGradeLevels()
Gets the value of the <GradeLevels> element.

Returns:
A GradeLevels object
Since:
1.5r1

removeGradeLevels

public void removeGradeLevels()
Removes the GradeLevels child element previously created by calling setGradeLevels

Since:
1.5r1

setJobFunction

public void setJobFunction(JobFunction value)
Sets the value of the <JobFunction> element.

Parameters:
value - A JobFunction object
Since:
1.5r1

setJobFunction

public void setJobFunction(JobFunctionCode code)
Sets the value of the <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.

Parameters:
code - Code representing the type of job function.
Since:
1.5r1

getJobFunction

public JobFunction getJobFunction()
Gets the value of the <JobFunction> element.

Returns:
A JobFunction object
Since:
1.5r1

removeJobFunction

public void removeJobFunction()
Removes the JobFunction child element previously created by calling setJobFunction

Since:
1.5r1

getFTE

public java.math.BigDecimal getFTE()
Gets the value of the <FTE> element.

The SIF specification defines the meaning of this element as: "Full-time equivalent for this school"

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

setFTE

public void setFTE(java.math.BigDecimal value)
Sets the value of the <FTE> element.

The SIF specification defines the meaning of this element as: "Full-time equivalent for this school"

Parameters:
value - A BigDecimal 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.