public class TelephoneFax extends Object
Element of Contact
, Organisation
, Role
Example:
<TelephoneFax> <Type cls="U">TEL-Civil</Type> <Number cls="U">(202)281-3824x1234</Number> </TelephoneFax>
Constructor and Description |
---|
TelephoneFax() |
Modifier and Type | Method and Description |
---|---|
TString |
getFax()
Get "Yes" if the number is for a telefax.
|
TString |
getMaxCls()
Get the highest classification that can be used on the network.
|
S50 |
getNumber()
Get the area code, telephone/telefax number (including the extension if
necessary) of individual or contact organisation..
|
TString |
getPreferred()
Get a code "Yes" for the preferred number(s) and a code "No" for the
others..
|
S20 |
getType()
Get the name of the network on which this number can be dialed (e.g., DSN,
IVSN, CORMORANT).
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetFax()
Determine if the Fax is configured.
|
boolean |
isSetMaxCls()
Determine if the MaxCls is configured.
|
boolean |
isSetNumber()
Determine if the Number is configured.
|
boolean |
isSetPreferred()
Determine if the Preferred is configured.
|
boolean |
isSetType()
Determine if the Type is configured.
|
void |
setFax(TString value)
Set "Yes" if the number is for a telefax.
|
void |
setMaxCls(TString value)
Set the highest classification that can be used on the network.
|
void |
setNumber(S50 value)
Set the area code, telephone/telefax number (including the extension if
necessary) of individual or contact organisation..
|
void |
setPreferred(TString value)
Set a code "Yes" for the preferred number(s) and a code "No" for the
others..
|
void |
setType(S20 value)
Set the name of the network on which this number can be dialed (e.g., DSN,
IVSN, CORMORANT).
|
String |
toString()
Get a string representation of this TelephoneFax instance configuration.
|
TelephoneFax |
withFax(ListCBO value)
Set "Yes" if the number is for a telefax.
|
TelephoneFax |
withMaxCls(ListCCL value)
Set the highest classification that can be used on the network.
|
TelephoneFax |
withNumber(String value)
Set the area code, telephone/telefax number (including the extension if
necessary) of individual or contact organisation.
|
TelephoneFax |
withPreferred(ListCBO value)
Set a code "Yes" for the preferred number(s) and a code "No" for the
others.
|
TelephoneFax |
withType(String value)
Set the name of the network on which this number can be dialed (e.g., DSN,
IVSN, CORMORANT).
|
public TString getPreferred()
TString
data typepublic void setPreferred(TString value)
value
- the Preferred value in a TString
data typepublic boolean isSetPreferred()
If configured this method also inspects the TString
wrapped value.
public S20 getType()
S20
instancepublic void setType(S20 value)
value
- a S20
instancepublic boolean isSetType()
public TString getFax()
TString
data typepublic void setFax(TString value)
value
- the Fax value in a TString
data typepublic boolean isSetFax()
If configured this method also inspects the TString
wrapped value.
public TString getMaxCls()
TString
data typepublic void setMaxCls(TString value)
value
- the MaxCls value in a TString
data typepublic boolean isSetMaxCls()
If configured this method also inspects the TString
wrapped value.
public S50 getNumber()
S50
instancepublic void setNumber(S50 value)
value
- a S50
instancepublic boolean isSetNumber()
public TelephoneFax withPreferred(ListCBO value)
value
- An instances of type ListCBO
.public TelephoneFax withType(String value)
value
- An instances of type String
.public TelephoneFax withFax(ListCBO value)
value
- An instances of type ListCBO
.public TelephoneFax withMaxCls(ListCCL value)
value
- An instances of type ListCCL
.public TelephoneFax withNumber(String value)
value
- An instances of type String
.public String toString()
public boolean isSet()
TelephoneFax
requires Number
.
Note that this method only checks for the presence of required information; this method does not validate the information format.
Copyright © 2016 OpenSSRF.org. All rights reserved.