|
||||||||||
| 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.common.SchoolContact
public class SchoolContact
Information on contact persons for this school.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SchoolContact()
Constructor |
|
SchoolContact(ContactInfo contactInfo)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
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 |
java.lang.String |
getPublishInDirectory()
Gets the value of the <PublishInDirectory> element. |
void |
removeContactInfo()
Removes the ContactInfo child element previously created by calling setContactInfo |
void |
setContactInfo(ContactInfo value)
Sets the value of the <ContactInfo> element. |
void |
setContactInfo(Name name)
Sets the value of the <ContactInfo> child element. |
void |
setPublishInDirectory(java.lang.String value)
Sets the value of the <PublishInDirectory> element as a String. |
void |
setPublishInDirectory(YesNo value)
Sets the value of the <PublishInDirectory> 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 SchoolContact()
public SchoolContact(ContactInfo contactInfo)
contactInfo - For a description of this element, see 5.1.3 ContactInfo.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getPublishInDirectory()
<PublishInDirectory> element.
The SIF specification defines the meaning of this element as: "Indicates whether or not this school contact's information should be published in a directory of school information."
PublishInDirectory element of this object.public void setPublishInDirectory(YesNo value)
<PublishInDirectory> element.
The SIF specification defines the meaning of this element as: "Indicates whether or not this school contact's information should be published in a directory of school information."
value - A constant defined by the YesNo classpublic void setPublishInDirectory(java.lang.String value)
<PublishInDirectory> element as a String.
The SIF specification defines the meaning of this element as: "Indicates whether or not this school contact's information should be published in a directory of school information."
value - The value as a Stringpublic void setContactInfo(ContactInfo value)
<ContactInfo> element.
The SIF specification defines the meaning of this element as: "For a description of this element, see 5.1.3 ContactInfo."
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: "For a description of this element, see 5.1.3 ContactInfo."
ContactInfo objectpublic void removeContactInfo()
ContactInfo child element previously created by calling setContactInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||