|
||||||||||
| 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.ContactInfo
public class ContactInfo
Common element used to supply information for a contact person at a school, LEA, or other institution.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
ContactInfo()
Constructor |
|
ContactInfo(Name name)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
Address |
getAddress()
Gets the value of the <Address> element. |
EmailList |
getEmailList()
Gets the value of the <EmailList> 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 |
Name |
getName()
Gets the value of the <Name> element. |
PhoneNumberList |
getPhoneNumberList()
Gets the value of the <PhoneNumberList> element. |
java.lang.String |
getPositionTitle()
Gets the value of the <PositionTitle> element. |
java.lang.String |
getRole()
Gets the value of the <Role> element. |
void |
removeAddress()
Removes the Address child element previously created by calling setAddress |
void |
removeEmailList()
Removes the EmailList child element previously created by calling setEmailList |
void |
removeName()
Removes the Name child element previously created by calling setName |
void |
removePhoneNumberList()
Removes the PhoneNumberList child element previously created by calling setPhoneNumberList |
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 |
setEmailList(EmailList value)
Sets the value of the <EmailList> element. |
void |
setName(Name value)
Sets the value of the <Name> element. |
void |
setName(NameType type,
java.lang.String lastName,
java.lang.String firstName)
Sets the value of the <Name> child element. |
void |
setPhoneNumberList(PhoneNumberList value)
Sets the value of the <PhoneNumberList> element. |
void |
setPositionTitle(java.lang.String value)
Sets the value of the <PositionTitle> element. |
void |
setRole(java.lang.String value)
Sets the value of the <Role> 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 ContactInfo()
public ContactInfo(Name name)
name - The name of the contact person.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public void setName(Name value)
<Name> element.
The SIF specification defines the meaning of this element as: "The name of the contact person."
value - A Name object
public void setName(NameType type,
java.lang.String lastName,
java.lang.String firstName)
<Name> child element.
This form of setName is provided as a convenience method
that is functionally equivalent to the version of setName
that accepts a single Name object.
type - Code that specifies what type of name this is. If unsure, use 04.lastName - The last name.firstName - The first name.public Name getName()
<Name> element.
The SIF specification defines the meaning of this element as: "The name of the contact person."
Name objectpublic void removeName()
Name child element previously created by calling setName
public java.lang.String getPositionTitle()
<PositionTitle> element.
The SIF specification defines the meaning of this element as: "The contact person's position title."
PositionTitle element of this object.public void setPositionTitle(java.lang.String value)
<PositionTitle> element.
The SIF specification defines the meaning of this element as: "The contact person's position title."
value - A String objectpublic java.lang.String getRole()
<Role> element.
The SIF specification defines the meaning of this element as: "Role played by this contact in this instance."
Role element of this object.public void setRole(java.lang.String value)
<Role> element.
The SIF specification defines the meaning of this element as: "Role played by this contact in this instance."
value - A String objectpublic void setEmailList(EmailList value)
<EmailList> element.
The SIF specification defines the meaning of this element as: "List of Email elements."
value - A EmailList objectpublic EmailList getEmailList()
<EmailList> element.
The SIF specification defines the meaning of this element as: "List of Email elements."
EmailList objectpublic void removeEmailList()
EmailList child element previously created by calling setEmailList
public void setPhoneNumberList(PhoneNumberList value)
<PhoneNumberList> element.
The SIF specification defines the meaning of this element as: "List of PhoneNumber elements."
value - A PhoneNumberList objectpublic PhoneNumberList getPhoneNumberList()
<PhoneNumberList> element.
The SIF specification defines the meaning of this element as: "List of PhoneNumber elements."
PhoneNumberList objectpublic void removePhoneNumberList()
PhoneNumberList child element previously created by calling setPhoneNumberList
public void setAddress(Address value)
<Address> element.
The SIF specification defines the meaning of this element as: "Address of the contact."
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: "Address of the contact."
Address objectpublic void removeAddress()
Address child element previously created by calling setAddress
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||