|
||||||||||
| 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.hrfin.LocationInfo
public class LocationInfo
LocationInfo represents a location in a district. SIF_Events are reported.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
LocationInfo()
Constructor |
|
LocationInfo(java.lang.String refId,
LocationInfoType locationType,
java.lang.String siteCategory,
java.lang.String name,
java.lang.String localId)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
AddressList |
getAddressList()
Gets the value of the <AddressList> element. |
java.lang.String |
getDescription()
Gets the value of the <Description> element. |
IdentificationInfoList |
getIdentificationInfoList()
Gets the value of the <IdentificationInfoList> 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 |
getLEAInfoRefId()
Gets the value of the <LEAInfoRefId> element. |
java.lang.String |
getLocalId()
Gets the value of the <LocalId> element. |
java.lang.String |
getLocationType()
Gets the value of the LocationType attribute. |
java.lang.String |
getName()
Gets the value of the <Name> element. |
java.lang.String |
getNCESId()
Gets the value of the <NCESId> element. |
OtherLEAs |
getOtherLEAs()
Gets the value of the <OtherLEAs> element. |
ParentLocationInfo |
getParentLocationInfo()
Gets the value of the <ParentLocationInfo> element. |
PhoneNumberList |
getPhoneNumberList()
Gets the value of the <PhoneNumberList> element. |
java.lang.String |
getRefId()
Gets the value of the RefId attribute. |
java.lang.String |
getSchoolInfoRefId()
Gets the value of the <SchoolInfoRefId> element. |
java.lang.String |
getSiteCategory()
Gets the value of the <SiteCategory> element. |
java.lang.String |
getStateProvinceId()
Gets the value of the <StateProvinceId> element. |
void |
removeAddressList()
Removes the AddressList child element previously created by calling setAddressList |
void |
removeIdentificationInfoList()
Removes the IdentificationInfoList child element previously created by calling setIdentificationInfoList |
void |
removeOtherLEAs()
Removes the OtherLEAs child element previously created by calling setOtherLEAs |
void |
removeParentLocationInfo()
Removes the ParentLocationInfo child element previously created by calling setParentLocationInfo |
void |
removePhoneNumberList()
Removes the PhoneNumberList child element previously created by calling setPhoneNumberList |
void |
setAddressList(AddressList value)
Sets the value of the <AddressList> element. |
void |
setDescription(java.lang.String value)
Sets the value of the <Description> element. |
void |
setIdentificationInfoList(IdentificationInfoList value)
Sets the value of the <IdentificationInfoList> element. |
void |
setLEAInfoRefId(java.lang.String value)
Sets the value of the <LEAInfoRefId> element. |
void |
setLocalId(java.lang.String value)
Sets the value of the <LocalId> element. |
void |
setLocationType(LocationInfoType value)
Sets the value of the LocationType attribute. |
void |
setLocationType(java.lang.String value)
Sets the value of the LocationType attribute as a String. |
void |
setName(java.lang.String value)
Sets the value of the <Name> element. |
void |
setNCESId(java.lang.String value)
Sets the value of the <NCESId> element. |
void |
setOtherLEAs(OtherLEAs value)
Sets the value of the <OtherLEAs> element. |
void |
setParentLocationInfo(ParentLocationInfo value)
Sets the value of the <ParentLocationInfo> element. |
void |
setParentLocationInfo(java.lang.String sifRefObject,
java.lang.String value)
Sets the value of the <ParentLocationInfo> child element. |
void |
setPhoneNumberList(PhoneNumberList value)
Sets the value of the <PhoneNumberList> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setSchoolInfoRefId(java.lang.String value)
Sets the value of the <SchoolInfoRefId> element. |
void |
setSiteCategory(java.lang.String value)
Sets the value of the <SiteCategory> element. |
void |
setStateProvinceId(StatePrCode value)
Sets the value of the <StateProvinceId> element. |
void |
setStateProvinceId(java.lang.String value)
Sets the value of the <StateProvinceId> element as a String. |
| 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 LocationInfo()
public LocationInfo(java.lang.String refId,
LocationInfoType locationType,
java.lang.String siteCategory,
java.lang.String name,
java.lang.String localId)
refId - The SIF unique identifier for the location.locationType - Defines whether the location is a school or a non-school location.siteCategory - Specific site category.name - Text name of the locationlocalId - The locally-assigned identifier for this location.| 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 SIF unique identifier for the location."
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 SIF unique identifier for the location."
value - A String objectpublic java.lang.String getLocationType()
LocationType attribute.
The SIF specification defines the meaning of this attribute as: "Defines whether the location is a school or a non-school location."
LocationType attribute of this object.public void setLocationType(LocationInfoType value)
LocationType attribute.
The SIF specification defines the meaning of this attribute as: "Defines whether the location is a school or a non-school location."
value - A constant defined by the LocationInfoType classpublic void setLocationType(java.lang.String value)
LocationType attribute as a String.
The SIF specification defines the meaning of this attribute as: "Defines whether the location is a school or a non-school location."
value - The value as a Stringpublic java.lang.String getSiteCategory()
<SiteCategory> element.
The SIF specification defines the meaning of this element as: "Specific site category."
SiteCategory element of this object.public void setSiteCategory(java.lang.String value)
<SiteCategory> element.
The SIF specification defines the meaning of this element as: "Specific site category."
value - A String objectpublic java.lang.String getName()
<Name> element.
The SIF specification defines the meaning of this element as: "Text name of the location"
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 | "LocationName" |
| SIF2.0 | "Name" |
Name element of this object.public void setName(java.lang.String value)
<Name> element.
The SIF specification defines the meaning of this element as: "Text name of the location"
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 | "LocationName" |
| SIF2.0 | "Name" |
value - A String objectpublic java.lang.String getDescription()
<Description> element.
The SIF specification defines the meaning of this element as: "Description about the location."
Description element of this object.public void setDescription(java.lang.String value)
<Description> element.
The SIF specification defines the meaning of this element as: "Description about the location."
value - A String objectpublic java.lang.String getLocalId()
<LocalId> element.
The SIF specification defines the meaning of this element as: "The locally-assigned identifier for this location."
LocalId element of this object.public void setLocalId(java.lang.String value)
<LocalId> element.
The SIF specification defines the meaning of this element as: "The locally-assigned identifier for this location."
value - A String objectpublic void setIdentificationInfoList(IdentificationInfoList value)
<IdentificationInfoList> element.
The SIF specification defines the meaning of this element as: "Other identification information associated with a location, such as the locally-defined code/identifier, etc."
value - A IdentificationInfoList objectpublic IdentificationInfoList getIdentificationInfoList()
<IdentificationInfoList> element.
The SIF specification defines the meaning of this element as: "Other identification information associated with a location, such as the locally-defined code/identifier, etc."
IdentificationInfoList objectpublic void removeIdentificationInfoList()
IdentificationInfoList child element previously created by calling setIdentificationInfoList
public java.lang.String getStateProvinceId()
<StateProvinceId> element.
The SIF specification defines the meaning of this element as: "The state-assigned identifier for this location."
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 | "StatePrId" |
| SIF2.0 | "StateProvinceId" |
StateProvinceId element of this object.public void setStateProvinceId(StatePrCode value)
<StateProvinceId> element.
The SIF specification defines the meaning of this element as: "The state-assigned identifier for this location."
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 | "StatePrId" |
| SIF2.0 | "StateProvinceId" |
value - A constant defined by the StatePrCode classpublic void setStateProvinceId(java.lang.String value)
<StateProvinceId> element as a String.
The SIF specification defines the meaning of this element as: "The state-assigned identifier for this location."
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 | "StatePrId" |
| SIF2.0 | "StateProvinceId" |
value - The value as a Stringpublic java.lang.String getNCESId()
<NCESId> element.
The SIF specification defines the meaning of this element as: "The NCES-assigned identifier for this location.For a description of this element, see 5.1.19 NCESId."
NCESId element of this object.public void setNCESId(java.lang.String value)
<NCESId> element.
The SIF specification defines the meaning of this element as: "The NCES-assigned identifier for this location.For a description of this element, see 5.1.19 NCESId."
value - A String objectpublic java.lang.String getLEAInfoRefId()
<LEAInfoRefId> element.
The SIF specification defines the meaning of this element as: "The ID (GUID) that identifies the district."
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 | "SchoolDistrict" |
| SIF2.0 | "LEAInfoRefId" |
LEAInfoRefId element of this object.public void setLEAInfoRefId(java.lang.String value)
<LEAInfoRefId> element.
The SIF specification defines the meaning of this element as: "The ID (GUID) that identifies the district."
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 | "SchoolDistrict" |
| SIF2.0 | "LEAInfoRefId" |
value - A String objectpublic void setOtherLEAs(OtherLEAs value)
<OtherLEAs> element.
The SIF specification defines the meaning of this element as: "Other related education agency, such as a regional service agency."
value - A OtherLEAs objectpublic OtherLEAs getOtherLEAs()
<OtherLEAs> element.
The SIF specification defines the meaning of this element as: "Other related education agency, such as a regional service agency."
OtherLEAs objectpublic void removeOtherLEAs()
OtherLEAs child element previously created by calling setOtherLEAs
public void setParentLocationInfo(ParentLocationInfo value)
<ParentLocationInfo> element.
The SIF specification defines the meaning of this element as: "A LocationInfo instance could be related to another LocationInfo. This element will help create that relation."
value - A ParentLocationInfo object
public void setParentLocationInfo(java.lang.String sifRefObject,
java.lang.String value)
<ParentLocationInfo> child element.
This form of setParentLocationInfo is provided as a convenience method
that is functionally equivalent to the version of setParentLocationInfo
that accepts a single ParentLocationInfo object.
sifRefObject - The name of the object referenced.value - Gets or sets the content value of the <ParentLocationInfo> elementpublic ParentLocationInfo getParentLocationInfo()
<ParentLocationInfo> element.
The SIF specification defines the meaning of this element as: "A LocationInfo instance could be related to another LocationInfo. This element will help create that relation."
ParentLocationInfo objectpublic void removeParentLocationInfo()
ParentLocationInfo child element previously created by calling setParentLocationInfo
public java.lang.String getSchoolInfoRefId()
<SchoolInfoRefId> element.
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 | "School" |
| SIF2.0 | "SchoolInfoRefId" |
SchoolInfoRefId element of this object.public void setSchoolInfoRefId(java.lang.String value)
<SchoolInfoRefId> element.
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 | "School" |
| SIF2.0 | "SchoolInfoRefId" |
value - A String objectpublic void setAddressList(AddressList value)
<AddressList> element.
The SIF specification defines the meaning of this element as: "This element has the LocationInfo address information."
value - A AddressList objectpublic AddressList getAddressList()
<AddressList> element.
The SIF specification defines the meaning of this element as: "This element has the LocationInfo address information."
AddressList objectpublic void removeAddressList()
AddressList child element previously created by calling setAddressList
public void setPhoneNumberList(PhoneNumberList value)
<PhoneNumberList> element.
The SIF specification defines the meaning of this element as: "The location's phone numbers."
value - A PhoneNumberList objectpublic PhoneNumberList getPhoneNumberList()
<PhoneNumberList> element.
The SIF specification defines the meaning of this element as: "The location's phone numbers."
PhoneNumberList objectpublic void removePhoneNumberList()
PhoneNumberList child element previously created by calling setPhoneNumberList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||