|
||||||||||
| 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.PhoneNumber
public class PhoneNumber
A telephone number
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
PhoneNumber()
Constructor |
|
PhoneNumber(PhoneNumberType type,
java.lang.String number)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getExtension()
Gets the value of the <Extension> element. |
java.lang.String |
getFormat()
Gets the value of the Format attribute. |
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 |
getListedStatus()
Gets the value of the <ListedStatus> element. |
java.lang.String |
getNumber()
Gets the value of the <Number> element. |
java.lang.String |
getType()
Gets the value of the Type attribute. |
void |
setExtension(java.lang.String value)
Sets the value of the <Extension> element. |
void |
setFormat(PhoneNumberFormat value)
Sets the value of the Format attribute. |
void |
setFormat(java.lang.String value)
Sets the value of the Format attribute as a String. |
void |
setListedStatus(ListedStatus value)
Sets the value of the <ListedStatus> element. |
void |
setListedStatus(java.lang.String value)
Sets the value of the <ListedStatus> element as a String. |
void |
setNumber(java.lang.String value)
Sets the value of the <Number> element. |
void |
setType(PhoneNumberType value)
Sets the value of the Type attribute. |
void |
setType(java.lang.String value)
Sets the value of the Type attribute as a String. |
| 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 PhoneNumber()
public PhoneNumber(PhoneNumberType type,
java.lang.String number)
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:| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getFormat()
Format attribute.
The SIF specification defines the meaning of this attribute as: "A code that specifies the format of this phone number"
Format attribute of this object.public void setFormat(PhoneNumberFormat value)
Format attribute.
The SIF specification defines the meaning of this attribute as: "A code that specifies the format of this phone number"
value - A constant defined by the PhoneNumberFormat classpublic void setFormat(java.lang.String value)
Format attribute as a String.
The SIF specification defines the meaning of this attribute as: "A code that specifies the format of this phone number"
value - The value as a Stringpublic java.lang.String getType()
Type attribute.
The SIF specification defines the meaning of this attribute as: "Code that specifies what type of phone number this is. Note: A subset of valid values may be specified in data objects."
Type attribute of this object.public void setType(PhoneNumberType value)
Type attribute.
The SIF specification defines the meaning of this attribute as: "Code that specifies what type of phone number this is. Note: A subset of valid values may be specified in data objects."
value - A constant defined by the PhoneNumberType classpublic void setType(java.lang.String value)
Type attribute as a String.
The SIF specification defines the meaning of this attribute as: "Code that specifies what type of phone number this is. Note: A subset of valid values may be specified in data objects."
value - The value as a Stringpublic java.lang.String getNumber()
<Number> element.
The SIF specification defines the meaning of this element as: "Phone number. Acceptable formats:"
Number element of this object.public void setNumber(java.lang.String value)
<Number> element.
The SIF specification defines the meaning of this element as: "Phone number. Acceptable formats:"
value - A String objectpublic java.lang.String getExtension()
<Extension> element.
The SIF specification defines the meaning of this element as: "Phone number extension."
Extension element of this object.public void setExtension(java.lang.String value)
<Extension> element.
The SIF specification defines the meaning of this element as: "Phone number extension."
value - A String objectpublic java.lang.String getListedStatus()
<ListedStatus> element.
The SIF specification defines the meaning of this element as: "Indicates whether or not the phone number is available to the public."
ListedStatus element of this object.public void setListedStatus(ListedStatus value)
<ListedStatus> element.
The SIF specification defines the meaning of this element as: "Indicates whether or not the phone number is available to the public."
value - A constant defined by the ListedStatus classpublic void setListedStatus(java.lang.String value)
<ListedStatus> element as a String.
The SIF specification defines the meaning of this element as: "Indicates whether or not the phone number is available to the public."
value - The value as a String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||