|
||||||||||
| 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.student.DisciplineIncident
public class DisciplineIncident
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
DisciplineIncident()
Constructor |
|
DisciplineIncident(java.lang.String refId,
java.lang.Integer schoolYear,
AgencyReporting agencyReporting,
java.lang.String incidentNumber,
java.util.Calendar incidentDate,
IncidentTime incidentTime,
IncidentLocation incidentLocation,
IncidentCategory incidentCategory,
OffenderList offenderList,
VictimList victimList)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
AgencyReporting |
getAgencyReporting()
Gets the value of the <AgencyReporting> element. |
IncidentCategory |
getIncidentCategory()
Gets the value of the <IncidentCategory> element. |
java.lang.String |
getIncidentCost()
Gets the value of the <IncidentCost> element. |
java.util.Calendar |
getIncidentDate()
Gets the value of the <IncidentDate> element. |
IncidentLocation |
getIncidentLocation()
Gets the value of the <IncidentLocation> element. |
IncidentLocationRefId |
getIncidentLocationRefId()
Gets the value of the <IncidentLocationRefId> element. |
java.lang.String |
getIncidentNumber()
Gets the value of the <IncidentNumber> element. |
IncidentReporter |
getIncidentReporter()
Gets the value of the <IncidentReporter> element. |
IncidentTime |
getIncidentTime()
Gets the value of the <IncidentTime> 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 |
OffenderList |
getOffenderList()
Gets the value of the <OffenderList> element. |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
RelatedToList |
getRelatedToList()
Gets the value of the <RelatedToList> element. |
java.lang.Integer |
getSchoolYear()
Gets the value of the SchoolYear attribute. |
VictimList |
getVictimList()
Gets the value of the <VictimList> element. |
WeaponTypeList |
getWeaponTypeList()
Gets the value of the <WeaponTypeList> element. |
void |
removeAgencyReporting()
Removes the AgencyReporting child element previously created by calling setAgencyReporting |
void |
removeIncidentCategory()
Removes the IncidentCategory child element previously created by calling setIncidentCategory |
void |
removeIncidentLocation()
Removes the IncidentLocation child element previously created by calling setIncidentLocation |
void |
removeIncidentLocationRefId()
Removes the IncidentLocationRefId child element previously created by calling setIncidentLocationRefId |
void |
removeIncidentReporter()
Removes the IncidentReporter child element previously created by calling setIncidentReporter |
void |
removeIncidentTime()
Removes the IncidentTime child element previously created by calling setIncidentTime |
void |
removeOffenderList()
Removes the OffenderList child element previously created by calling setOffenderList |
void |
removeRelatedToList()
Removes the RelatedToList child element previously created by calling setRelatedToList |
void |
removeVictimList()
Removes the VictimList child element previously created by calling setVictimList |
void |
removeWeaponTypeList()
Removes the WeaponTypeList child element previously created by calling setWeaponTypeList |
void |
setAgencyReporting(AgencyReporting value)
Sets the value of the <AgencyReporting> element. |
void |
setAgencyReporting(AgencyReportingObject sifRefObject,
java.lang.String value)
Sets the value of the <AgencyReporting> child element. |
void |
setIncidentCategory(IncidentCategory value)
Sets the value of the <IncidentCategory> element. |
void |
setIncidentCost(java.lang.String value)
Sets the value of the <IncidentCost> element. |
void |
setIncidentDate(java.util.Calendar value)
Sets the value of the <IncidentDate> element. |
void |
setIncidentLocation(IncidentLocation value)
Sets the value of the <IncidentLocation> element. |
void |
setIncidentLocation(IncidentLocationType type,
java.lang.String value)
Sets the value of the <IncidentLocation> child element. |
void |
setIncidentLocationRefId(IncidentLocationObject sifRefObject,
java.lang.String value)
Sets the value of the <IncidentLocationRefId> child element. |
void |
setIncidentLocationRefId(IncidentLocationRefId value)
Sets the value of the <IncidentLocationRefId> element. |
void |
setIncidentNumber(java.lang.String value)
Sets the value of the <IncidentNumber> element. |
void |
setIncidentReporter(IncidentReporter value)
Sets the value of the <IncidentReporter> element. |
void |
setIncidentReporter(ReporterDescriptionType type)
Sets the value of the <IncidentReporter> child element. |
void |
setIncidentTime(IncidentTime value)
Sets the value of the <IncidentTime> element. |
void |
setIncidentTime(SafetyTimeType type,
java.lang.String value)
Sets the value of the <IncidentTime> child element. |
void |
setOffenderList(OffenderList value)
Sets the value of the <OffenderList> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setRelatedToList(RelatedToList value)
Sets the value of the <RelatedToList> element. |
void |
setSchoolYear(java.lang.Integer value)
Sets the value of the SchoolYear attribute. |
void |
setVictimList(VictimList value)
Sets the value of the <VictimList> element. |
void |
setWeaponTypeList(WeaponTypeList value)
Sets the value of the <WeaponTypeList> 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 DisciplineIncident()
public DisciplineIncident(java.lang.String refId,
java.lang.Integer schoolYear,
AgencyReporting agencyReporting,
java.lang.String incidentNumber,
java.util.Calendar incidentDate,
IncidentTime incidentTime,
IncidentLocation incidentLocation,
IncidentCategory incidentCategory,
OffenderList offenderList,
VictimList victimList)
refId - The unique identifier (GUID) of this discipline incident.schoolYear - School year in which the incident occurred, and for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g., "2007" for the 2006-07 school year).agencyReporting - incidentNumber - The locally-defined unique identifier (within the school or school district) to identify this specific incident or occurrence.incidentDate - The date when the incident occurred.incidentTime - The time when the incident occurred.incidentLocation - The locally-defined identifier or description of the location where the incident occurred.incidentCategory - offenderList - victimList - | 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: "The unique identifier (GUID) of this discipline incident."
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: "The unique identifier (GUID) of this discipline incident."
value - A String objectpublic java.lang.Integer getSchoolYear()
SchoolYear attribute.
The SIF specification defines the meaning of this attribute as: "School year in which the incident occurred, and for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g., "2007" for the 2006-07 school year)."
SchoolYear attribute of this object.public void setSchoolYear(java.lang.Integer value)
SchoolYear attribute.
The SIF specification defines the meaning of this attribute as: "School year in which the incident occurred, and for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g., "2007" for the 2006-07 school year)."
value - A Integer objectpublic void setAgencyReporting(AgencyReporting value)
<AgencyReporting> element.
value - A AgencyReporting object
public void setAgencyReporting(AgencyReportingObject sifRefObject,
java.lang.String value)
<AgencyReporting> child element.
This form of setAgencyReporting is provided as a convenience method
that is functionally equivalent to the version of setAgencyReporting
that accepts a single AgencyReporting object.
sifRefObject - The name of the SIF object to which the GUID relates.value - Gets or sets the content value of the <AgencyReporting> elementpublic AgencyReporting getAgencyReporting()
<AgencyReporting> element.
AgencyReporting objectpublic void removeAgencyReporting()
AgencyReporting child element previously created by calling setAgencyReporting
public java.lang.String getIncidentNumber()
<IncidentNumber> element.
The SIF specification defines the meaning of this element as: "The locally-defined unique identifier (within the school or school district) to identify this specific incident or occurrence."
IncidentNumber element of this object.public void setIncidentNumber(java.lang.String value)
<IncidentNumber> element.
The SIF specification defines the meaning of this element as: "The locally-defined unique identifier (within the school or school district) to identify this specific incident or occurrence."
value - A String objectpublic java.util.Calendar getIncidentDate()
<IncidentDate> element.
The SIF specification defines the meaning of this element as: "The date when the incident occurred."
IncidentDate element of this object.public void setIncidentDate(java.util.Calendar value)
<IncidentDate> element.
The SIF specification defines the meaning of this element as: "The date when the incident occurred."
value - A Calendar objectpublic void setIncidentTime(IncidentTime value)
<IncidentTime> element.
The SIF specification defines the meaning of this element as: "The time when the incident occurred."
value - A IncidentTime object
public void setIncidentTime(SafetyTimeType type,
java.lang.String value)
<IncidentTime> child element.
This form of setIncidentTime is provided as a convenience method
that is functionally equivalent to the version of setIncidentTime
that accepts a single IncidentTime object.
type - Identifies whether or not the incident occurred during school hours.value - Gets or sets the content value of the <IncidentTime> elementpublic IncidentTime getIncidentTime()
<IncidentTime> element.
The SIF specification defines the meaning of this element as: "The time when the incident occurred."
IncidentTime objectpublic void removeIncidentTime()
IncidentTime child element previously created by calling setIncidentTime
public void setIncidentLocation(IncidentLocation value)
<IncidentLocation> element.
The SIF specification defines the meaning of this element as: "The locally-defined identifier or description of the location where the incident occurred."
value - A IncidentLocation object
public void setIncidentLocation(IncidentLocationType type,
java.lang.String value)
<IncidentLocation> child element.
This form of setIncidentLocation is provided as a convenience method
that is functionally equivalent to the version of setIncidentLocation
that accepts a single IncidentLocation object.
type - Identifies where the incident occurred.value - Gets or sets the content value of the <IncidentLocation> elementpublic IncidentLocation getIncidentLocation()
<IncidentLocation> element.
The SIF specification defines the meaning of this element as: "The locally-defined identifier or description of the location where the incident occurred."
IncidentLocation objectpublic void removeIncidentLocation()
IncidentLocation child element previously created by calling setIncidentLocation
public void setIncidentLocationRefId(IncidentLocationRefId value)
<IncidentLocationRefId> element.
value - A IncidentLocationRefId object
public void setIncidentLocationRefId(IncidentLocationObject sifRefObject,
java.lang.String value)
<IncidentLocationRefId> child element.
This form of setIncidentLocationRefId is provided as a convenience method
that is functionally equivalent to the version of setIncidentLocationRefId
that accepts a single IncidentLocationRefId object.
sifRefObject - The name of the SIF object to which the GUID relates.value - Gets or sets the content value of the <IncidentLocationRefId> elementpublic IncidentLocationRefId getIncidentLocationRefId()
<IncidentLocationRefId> element.
IncidentLocationRefId objectpublic void removeIncidentLocationRefId()
IncidentLocationRefId child element previously created by calling setIncidentLocationRefId
public java.lang.String getIncidentCost()
<IncidentCost> element.
The SIF specification defines the meaning of this element as: "If the incident resulted in a quantifiable monetary loss for any entity involved, identify and record the value of that loss. Cost may be reported by specific dollar amount or range."
IncidentCost element of this object.public void setIncidentCost(java.lang.String value)
<IncidentCost> element.
The SIF specification defines the meaning of this element as: "If the incident resulted in a quantifiable monetary loss for any entity involved, identify and record the value of that loss. Cost may be reported by specific dollar amount or range."
value - A String objectpublic void setIncidentReporter(IncidentReporter value)
<IncidentReporter> element.
value - A IncidentReporter objectpublic void setIncidentReporter(ReporterDescriptionType type)
<IncidentReporter> child element.
This form of setIncidentReporter is provided as a convenience method
that is functionally equivalent to the version of setIncidentReporter
that accepts a single IncidentReporter object.
type - public IncidentReporter getIncidentReporter()
<IncidentReporter> element.
IncidentReporter objectpublic void removeIncidentReporter()
IncidentReporter child element previously created by calling setIncidentReporter
public void setRelatedToList(RelatedToList value)
<RelatedToList> element.
value - A RelatedToList objectpublic RelatedToList getRelatedToList()
<RelatedToList> element.
RelatedToList objectpublic void removeRelatedToList()
RelatedToList child element previously created by calling setRelatedToList
public void setWeaponTypeList(WeaponTypeList value)
<WeaponTypeList> element.
value - A WeaponTypeList objectpublic WeaponTypeList getWeaponTypeList()
<WeaponTypeList> element.
WeaponTypeList objectpublic void removeWeaponTypeList()
WeaponTypeList child element previously created by calling setWeaponTypeList
public void setIncidentCategory(IncidentCategory value)
<IncidentCategory> element.
value - A IncidentCategory objectpublic IncidentCategory getIncidentCategory()
<IncidentCategory> element.
IncidentCategory objectpublic void removeIncidentCategory()
IncidentCategory child element previously created by calling setIncidentCategory
public void setOffenderList(OffenderList value)
<OffenderList> element.
value - A OffenderList objectpublic OffenderList getOffenderList()
<OffenderList> element.
OffenderList objectpublic void removeOffenderList()
OffenderList child element previously created by calling setOffenderList
public void setVictimList(VictimList value)
<VictimList> element.
value - A VictimList objectpublic VictimList getVictimList()
<VictimList> element.
VictimList objectpublic void removeVictimList()
VictimList child element previously created by calling setVictimList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||