com.edustructures.sifworks.student
Class ActionList
java.lang.Object
com.edustructures.sifworks.Element
com.edustructures.sifworks.SIFElement
com.edustructures.sifworks.SIFList<Action>
com.edustructures.sifworks.student.ActionList
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Action>, java.util.Collection<Action>
public class ActionList
- extends SIFList<Action>
- Since:
- 2.0
- Version:
- 2.0
- See Also:
- Serialized Form
|
Method Summary |
void |
addAction(java.lang.String code,
java.util.Calendar startDate,
java.util.Calendar endDate,
java.math.BigDecimal duration,
YesNo zeroTolerance,
YesNo fullYearExpulsion,
YesNo shortenedExpulsion,
YesNo policeNotification,
ArrestStatus arrest,
YesNo alternativeEducation)
Adds a new <Action> repeatable element. |
Action[] |
getActions()
Gets all Action object instances. |
void |
setActions(Action[] actions)
Sets an array of Action objects. |
| Methods inherited from class com.edustructures.sifworks.SIFList |
add, addAll, clear, contains, containsAll, get, iterator, remove, remove, removeAll, retainAll, size, toArray, toArray |
| 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, getKey, 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 |
| Methods inherited from interface java.util.Collection |
equals, hashCode, isEmpty |
ActionList
public ActionList()
- Constructor
ActionList
public ActionList(Action action)
- Constructor that accepts values for all mandatory fields
- Parameters:
action -
addAction
public void addAction(java.lang.String code,
java.util.Calendar startDate,
java.util.Calendar endDate,
java.math.BigDecimal duration,
YesNo zeroTolerance,
YesNo fullYearExpulsion,
YesNo shortenedExpulsion,
YesNo policeNotification,
ArrestStatus arrest,
YesNo alternativeEducation)
- Adds a new
<Action> repeatable element.
This form of setAction is provided as a convenience method
that is functionally equivalent to the version of setAction
that accepts a single Action object.
- Parameters:
code - startDate - The date on which the disciplinary action begins.endDate - The date through which the disciplinary action is in effect, inclusive.duration - Identifies the length, in school days, of the disciplinary action. Note: decimal places may be used for fractions of school days.zeroTolerance - Identifies whether or not this action taken against a student was imposed as a consequence of state or local zero tolerance policies.fullYearExpulsion - Identifies whether or not the action involved an expulsion with or without services for a period of one full year (i.e., 365 days).shortenedExpulsion - Identifies whether or not the action involved an expulsion with or without services that is shortened to a term of less than one year by the superintendent or chief administrator of a school district.policeNotification - Identifies whether or not the offender's action included notification of local law enforcement, regardless of whether official action was taken.arrest - Identifies whether or not the offender was arrested.alternativeEducation - Identifies whether or not the offender was assigned to an Alternative Education facility.- Since:
- 2.0
getActions
public Action[] getActions()
- Gets all
Action object instances. More than one instance can be defined for this object because it is a repeatable field element.
- Returns:
- An array of
Action objects - Since:
- 2.0
setActions
public void setActions(Action[] actions)
- Sets an array of
Action objects. All existing
Action instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all Actions.
- Since:
- 2.0
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.