|
||||||||||
| 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.instr.ResourceContact
public class ResourceContact
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
ResourceContact()
Constructor |
|
| Method Summary | |
|---|---|
Address |
getAddress()
Gets the value of the <Address> element. |
Email |
getEmail()
Gets the value of the <Email> element. |
Name |
getName()
Gets the value of the <Name> element. |
PhoneNumber |
getPhoneNumber()
Gets the value of the <PhoneNumber> element. |
void |
removeAddress()
Removes the Address child element previously created by calling setAddress |
void |
removeEmail()
Removes the Email child element previously created by calling setEmail |
void |
removeName()
Removes the Name child element previously created by calling setName |
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 |
setEmail(Email value)
Sets the value of the <Email> element. |
void |
setEmail(EmailType type,
java.lang.String value)
Sets the value of the <Email> child 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 |
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. |
| 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, getKey, 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 ResourceContact()
| Method Detail |
|---|
public void setName(Name value)
<Name> element.
The SIF specification defines the meaning of this element as: "Name of contact person. Use the generic element Name."
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: "Name of contact person. Use the generic element Name."
Name objectpublic void removeName()
Name child element previously created by calling setName
public void setAddress(Address value)
<Address> element.
The SIF specification defines the meaning of this element as: "Address of organization or company."
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 organization or company."
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: "Phone number of organization or company."
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: "Phone number of organization or company."
PhoneNumber objectpublic void removePhoneNumber()
PhoneNumber child element previously created by calling setPhoneNumber
public void setEmail(Email value)
<Email> element.
The SIF specification defines the meaning of this element as: "The email of the organization or company."
value - A Email object
public void setEmail(EmailType type,
java.lang.String value)
<Email> child element.
This form of setEmail is provided as a convenience method
that is functionally equivalent to the version of setEmail
that accepts a single Email object.
type - This attribute specifies the type of e-mail address.value - Gets or sets the content value of the <Email> elementpublic Email getEmail()
<Email> element.
The SIF specification defines the meaning of this element as: "The email of the organization or company."
Email objectpublic void removeEmail()
Email child element previously created by calling setEmail
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||