public class ContactType extends Object
Java class for ContactType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ContactType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}Extensions" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}Company" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}GivenName" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}SurName" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}EmailAddress" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:metadata}TelephoneNumber" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="contactType" use="required" type="{urn:oasis:names:tc:SAML:2.0:metadata}ContactTypeType" />
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
company |
protected ContactTypeType |
contactType |
protected List<String> |
emailAddress |
protected ExtensionsType |
extensions |
protected String |
givenName |
protected String |
surName |
protected List<String> |
telephoneNumber |
| Constructor and Description |
|---|
ContactType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCompany()
Gets the value of the company property.
|
ContactTypeType |
getContactType()
Gets the value of the contactType property.
|
List<String> |
getEmailAddress()
Gets the value of the emailAddress property.
|
ExtensionsType |
getExtensions()
Gets the value of the extensions property.
|
String |
getGivenName()
Gets the value of the givenName property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
String |
getSurName()
Gets the value of the surName property.
|
List<String> |
getTelephoneNumber()
Gets the value of the telephoneNumber property.
|
void |
setCompany(String value)
Sets the value of the company property.
|
void |
setContactType(ContactTypeType value)
Sets the value of the contactType property.
|
void |
setExtensions(ExtensionsType value)
Sets the value of the extensions property.
|
void |
setGivenName(String value)
Sets the value of the givenName property.
|
void |
setSurName(String value)
Sets the value of the surName property.
|
protected ExtensionsType extensions
protected String company
protected String givenName
protected String surName
protected ContactTypeType contactType
public ExtensionsType getExtensions()
ExtensionsTypepublic void setExtensions(ExtensionsType value)
value - allowed object is
ExtensionsTypepublic String getCompany()
Stringpublic void setCompany(String value)
value - allowed object is
Stringpublic String getGivenName()
Stringpublic void setGivenName(String value)
value - allowed object is
Stringpublic String getSurName()
Stringpublic void setSurName(String value)
value - allowed object is
Stringpublic List<String> getEmailAddress()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the emailAddress property.
For example, to add a new item, do as follows:
getEmailAddress().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getTelephoneNumber()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the telephoneNumber property.
For example, to add a new item, do as follows:
getTelephoneNumber().add(newItem);
Objects of the following type(s) are allowed in the list
String
public ContactTypeType getContactType()
ContactTypeTypepublic void setContactType(ContactTypeType value)
value - allowed object is
ContactTypeTypepublic Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
Copyright © 2013 Seam Framework. All Rights Reserved.