|
||||||||||
| 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.reporting.ReportAuthorityInfo
public class ReportAuthorityInfo
This object contains information on authorities that provide ReportManifest objects and/or collect SIF_ReportObject objects, such as state departments of education, regional service agencies, or other report collecting agencies. SIF_Events are reported.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
ReportAuthorityInfo()
Constructor |
|
ReportAuthorityInfo(java.lang.String refId,
java.lang.String authorityName,
java.lang.String authorityId,
AuthorityLevel authorityLevel)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
Address |
getAddress()
Gets the value of the <Address> element. |
java.lang.String |
getAuthorityDepartment()
Gets the value of the <AuthorityDepartment> element. |
java.lang.String |
getAuthorityId()
Gets the value of the <AuthorityId> element. |
java.lang.String |
getAuthorityLevel()
Gets the value of the <AuthorityLevel> element. |
java.lang.String |
getAuthorityName()
Gets the value of the <AuthorityName> element. |
ContactInfo |
getContactInfo()
Gets the value of the <ContactInfo> 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 |
PhoneNumber |
getPhoneNumber()
Gets the value of the <PhoneNumber> element. |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
void |
removeAddress()
Removes the Address child element previously created by calling setAddress |
void |
removeContactInfo()
Removes the ContactInfo child element previously created by calling setContactInfo |
void |
removePhoneNumber()
Removes the PhoneNumber child element previously created by calling setPhoneNumber |
void |
setAddress(Address value)
Sets the value of the <Address> element. |
void |
setAddress(AddressType type,
Street street,
java.lang.String city,
StatePrCode stateProvince,
CountryCode country,
java.lang.String postalCode)
Sets the value of the <Address> child element. |
void |
setAuthorityDepartment(java.lang.String value)
Sets the value of the <AuthorityDepartment> element. |
void |
setAuthorityId(java.lang.String value)
Sets the value of the <AuthorityId> element. |
void |
setAuthorityLevel(AuthorityLevel value)
Sets the value of the <AuthorityLevel> element. |
void |
setAuthorityLevel(java.lang.String value)
Sets the value of the <AuthorityLevel> element as a String. |
void |
setAuthorityName(java.lang.String value)
Sets the value of the <AuthorityName> element. |
void |
setContactInfo(ContactInfo value)
Sets the value of the <ContactInfo> element. |
void |
setContactInfo(Name name)
Sets the value of the <ContactInfo> child element. |
void |
setPhoneNumber(PhoneNumber value)
Sets the value of the <PhoneNumber> element. |
void |
setPhoneNumber(PhoneNumberType type,
java.lang.String number)
Sets the value of the <PhoneNumber> child element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
| 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 ReportAuthorityInfo()
public ReportAuthorityInfo(java.lang.String refId,
java.lang.String authorityName,
java.lang.String authorityId,
AuthorityLevel authorityLevel)
refId - The unique identifier for this agency/report authority.authorityName - Name of the agency/report authority.authorityId - The zone unique case-sensitive identifier for the authority. This will be the contents of the SIF_SourceId element in the header of requests for reports.authorityLevel - Level of the authority.| 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 for this agency/report authority."
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 for this agency/report authority."
value - A String objectpublic java.lang.String getAuthorityName()
<AuthorityName> element.
The SIF specification defines the meaning of this element as: "Name of the agency/report authority."
AuthorityName element of this object.public void setAuthorityName(java.lang.String value)
<AuthorityName> element.
The SIF specification defines the meaning of this element as: "Name of the agency/report authority."
value - A String objectpublic java.lang.String getAuthorityId()
<AuthorityId> element.
The SIF specification defines the meaning of this element as: "The zone unique case-sensitive identifier for the authority. This will be the contents of the SIF_SourceId element in the header of requests for reports."
AuthorityId element of this object.public void setAuthorityId(java.lang.String value)
<AuthorityId> element.
The SIF specification defines the meaning of this element as: "The zone unique case-sensitive identifier for the authority. This will be the contents of the SIF_SourceId element in the header of requests for reports."
value - A String objectpublic java.lang.String getAuthorityDepartment()
<AuthorityDepartment> element.
The SIF specification defines the meaning of this element as: "Department, office, or subdivision of the agency/report authority."
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.
| Version | Tag |
| 1.5r1 | "AuthorityDept" |
| SIF2.0 | "AuthorityDepartment" |
AuthorityDepartment element of this object.public void setAuthorityDepartment(java.lang.String value)
<AuthorityDepartment> element.
The SIF specification defines the meaning of this element as: "Department, office, or subdivision of the agency/report authority."
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.
| Version | Tag |
| 1.5r1 | "AuthorityDept" |
| SIF2.0 | "AuthorityDepartment" |
value - A String objectpublic java.lang.String getAuthorityLevel()
<AuthorityLevel> element.
The SIF specification defines the meaning of this element as: "Level of the authority."
AuthorityLevel element of this object.public void setAuthorityLevel(AuthorityLevel value)
<AuthorityLevel> element.
The SIF specification defines the meaning of this element as: "Level of the authority."
value - A constant defined by the AuthorityLevel classpublic void setAuthorityLevel(java.lang.String value)
<AuthorityLevel> element as a String.
The SIF specification defines the meaning of this element as: "Level of the authority."
value - The value as a Stringpublic void setContactInfo(ContactInfo value)
<ContactInfo> element.
The SIF specification defines the meaning of this element as: "Information on the contact person in this agency."
value - A ContactInfo objectpublic void setContactInfo(Name name)
<ContactInfo> child element.
This form of setContactInfo is provided as a convenience method
that is functionally equivalent to the version of setContactInfo
that accepts a single ContactInfo object.
name - The name of the contact person.public ContactInfo getContactInfo()
<ContactInfo> element.
The SIF specification defines the meaning of this element as: "Information on the contact person in this agency."
ContactInfo objectpublic void removeContactInfo()
ContactInfo child element previously created by calling setContactInfo
public void setAddress(Address value)
<Address> element.
The SIF specification defines the meaning of this element as: "For a description of this element, see 5.1.1 Address."
value - A Address object
public void setAddress(AddressType type,
Street street,
java.lang.String city,
StatePrCode stateProvince,
CountryCode country,
java.lang.String postalCode)
<Address> child element.
This form of setAddress is provided as a convenience method
that is functionally equivalent to the version of setAddress
that accepts a single Address object.
type - Code that defines the location of the address. Note: A subset of specific valid values for each instance in a data object may be listed in that object.street - The street part of the addresscity - The city part of the address.stateProvince - The state or province code.country - The country code.postalCode - The ZIP/postal code.public Address getAddress()
<Address> element.
The SIF specification defines the meaning of this element as: "For a description of this element, see 5.1.1 Address."
Address objectpublic void removeAddress()
Address child element previously created by calling setAddress
public void setPhoneNumber(PhoneNumber value)
<PhoneNumber> element.
The SIF specification defines the meaning of this element as: "For a description of this element, see 5.1.22 PhoneNumber."
value - A PhoneNumber object
public void setPhoneNumber(PhoneNumberType type,
java.lang.String number)
<PhoneNumber> child element.
This form of setPhoneNumber is provided as a convenience method
that is functionally equivalent to the version of setPhoneNumber
that accepts a single PhoneNumber object.
type - Code that specifies what type of phone number this is. Note: A subset of valid values may be specified in data objects.number - Phone number. Acceptable formats:public PhoneNumber getPhoneNumber()
<PhoneNumber> element.
The SIF specification defines the meaning of this element as: "For a description of this element, see 5.1.22 PhoneNumber."
PhoneNumber objectpublic void removePhoneNumber()
PhoneNumber child element previously created by calling setPhoneNumber
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||