|
||||||||||
| 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.SIFKeyedElement
com.edustructures.sifworks.reporting.ReportInfo
public class ReportInfo
Identifies the manifest for the report and characteristics of the submission. This element is a conditional element. This element is included or the ReportData element is included but never both at the same time within an instance of this object. See examples of the usage of the object below.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
ReportInfo()
Constructor |
|
ReportInfo(java.lang.String reportManifestRefId,
java.util.Calendar calculationDate,
java.lang.Integer submissionNumber,
SubmissionReason submissionReason)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.util.Calendar |
getCalculationDate()
Gets the value of the <CalculationDate> element. |
java.lang.String |
getDescription()
Gets the value of the <Description> 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 |
getReportManifestRefId()
Gets the value of the ReportManifestRefId attribute. |
ReportSubmitterInfo |
getReportSubmitterInfo()
Gets the value of the <ReportSubmitterInfo> element. |
java.lang.Integer |
getSubmissionNumber()
Gets the value of the <SubmissionNumber> element. |
java.lang.String |
getSubmissionReason()
Gets the value of the <SubmissionReason> element. |
void |
removeReportSubmitterInfo()
Removes the ReportSubmitterInfo child element previously created by calling setReportSubmitterInfo |
void |
setCalculationDate(java.util.Calendar value)
Sets the value of the <CalculationDate> element. |
void |
setDescription(java.lang.String value)
Sets the value of the <Description> element. |
void |
setReportManifestRefId(java.lang.String value)
Sets the value of the ReportManifestRefId attribute. |
void |
setReportSubmitterInfo(ReportSubmitterInfo value)
Sets the value of the <ReportSubmitterInfo> element. |
void |
setReportSubmitterInfo(java.lang.String submitterName)
Sets the value of the <ReportSubmitterInfo> child element. |
void |
setSubmissionNumber(java.lang.Integer value)
Sets the value of the <SubmissionNumber> element. |
void |
setSubmissionReason(java.lang.String value)
Sets the value of the <SubmissionReason> element as a String. |
void |
setSubmissionReason(SubmissionReason value)
Sets the value of the <SubmissionReason> element. |
| 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 |
|---|
public ReportInfo()
public ReportInfo(java.lang.String reportManifestRefId,
java.util.Calendar calculationDate,
java.lang.Integer submissionNumber,
SubmissionReason submissionReason)
reportManifestRefId - The report manifest corresponding to this report.calculationDate - The date on which the report was calculated.submissionNumber - A number that identifies the submission; beginning at 1 and incremented each time a submission is done for a particular report; used to indicate resubmission(s).submissionReason - Reason for the report submission.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getReportManifestRefId()
ReportManifestRefId attribute.
The SIF specification defines the meaning of this attribute as: "The report manifest corresponding to this report."
ReportManifestRefId attribute of this object.public void setReportManifestRefId(java.lang.String value)
ReportManifestRefId attribute.
The SIF specification defines the meaning of this attribute as: "The report manifest corresponding to this report."
value - A String objectpublic java.util.Calendar getCalculationDate()
<CalculationDate> element.
The SIF specification defines the meaning of this element as: "The date on which the report was calculated."
CalculationDate element of this object.public void setCalculationDate(java.util.Calendar value)
<CalculationDate> element.
The SIF specification defines the meaning of this element as: "The date on which the report was calculated."
value - A Calendar objectpublic java.lang.Integer getSubmissionNumber()
<SubmissionNumber> element.
The SIF specification defines the meaning of this element as: "A number that identifies the submission; beginning at 1 and incremented each time a submission is done for a particular report; used to indicate resubmission(s)."
SubmissionNumber element of this object.public void setSubmissionNumber(java.lang.Integer value)
<SubmissionNumber> element.
The SIF specification defines the meaning of this element as: "A number that identifies the submission; beginning at 1 and incremented each time a submission is done for a particular report; used to indicate resubmission(s)."
value - A Integer objectpublic java.lang.String getSubmissionReason()
<SubmissionReason> element.
The SIF specification defines the meaning of this element as: "Reason for the report submission."
SubmissionReason element of this object.public void setSubmissionReason(SubmissionReason value)
<SubmissionReason> element.
The SIF specification defines the meaning of this element as: "Reason for the report submission."
value - A constant defined by the SubmissionReason classpublic void setSubmissionReason(java.lang.String value)
<SubmissionReason> element as a String.
The SIF specification defines the meaning of this element as: "Reason for the report submission."
value - The value as a Stringpublic void setReportSubmitterInfo(ReportSubmitterInfo value)
<ReportSubmitterInfo> element.
The SIF specification defines the meaning of this element as: "Identifies the submitter of the report.This element is conditional depending on the context in which the SIF_ReportObject is used. It must be present in the ReportInfo element when a SIF_ReportObject is sent to a report authority in a SIF_Event message. However, its presence is optional in SIF_ReportObject packets delivered to report authorities in SIF_Response messages."
value - A ReportSubmitterInfo objectpublic void setReportSubmitterInfo(java.lang.String submitterName)
<ReportSubmitterInfo> child element.
This form of setReportSubmitterInfo is provided as a convenience method
that is functionally equivalent to the version of setReportSubmitterInfo
that accepts a single ReportSubmitterInfo object.
submitterName - Name of the report submitter.This is a descriptive string that names the entity submitting the SIF_ReportObject to the report authority. It could be the name of an agency, a district, a school, the SIF_SourceId of the submitting agent, or any other string that a report authority could use to identify the submitter of a report. This element may be present regardless of the presence of the SifRefIdType and SifRefId elements. When those elements are used, it is recommended that collector agents reproduce the name of the LEA or school here.public ReportSubmitterInfo getReportSubmitterInfo()
<ReportSubmitterInfo> element.
The SIF specification defines the meaning of this element as: "Identifies the submitter of the report.This element is conditional depending on the context in which the SIF_ReportObject is used. It must be present in the ReportInfo element when a SIF_ReportObject is sent to a report authority in a SIF_Event message. However, its presence is optional in SIF_ReportObject packets delivered to report authorities in SIF_Response messages."
ReportSubmitterInfo objectpublic void removeReportSubmitterInfo()
ReportSubmitterInfo child element previously created by calling setReportSubmitterInfo
public java.lang.String getDescription()
<Description> element.
Description element of this object.public void setDescription(java.lang.String value)
<Description> element.
value - A String object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||