org.jboss.identity.federation.saml.v2.metadata
Class ContactType

java.lang.Object
  extended by org.jboss.identity.federation.saml.v2.metadata.ContactType

public class ContactType
extends java.lang.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" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String company
           
protected  ContactTypeType contactType
           
protected  java.util.List<java.lang.String> emailAddress
           
protected  ExtensionsType extensions
           
protected  java.lang.String givenName
           
protected  java.lang.String surName
           
protected  java.util.List<java.lang.String> telephoneNumber
           
 
Constructor Summary
ContactType()
           
 
Method Summary
 java.lang.String getCompany()
          Gets the value of the company property.
 ContactTypeType getContactType()
          Gets the value of the contactType property.
 java.util.List<java.lang.String> getEmailAddress()
          Gets the value of the emailAddress property.
 ExtensionsType getExtensions()
          Gets the value of the extensions property.
 java.lang.String getGivenName()
          Gets the value of the givenName property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 java.lang.String getSurName()
          Gets the value of the surName property.
 java.util.List<java.lang.String> getTelephoneNumber()
          Gets the value of the telephoneNumber property.
 void setCompany(java.lang.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(java.lang.String value)
          Sets the value of the givenName property.
 void setSurName(java.lang.String value)
          Sets the value of the surName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensions

protected ExtensionsType extensions

company

protected java.lang.String company

givenName

protected java.lang.String givenName

surName

protected java.lang.String surName

emailAddress

protected java.util.List<java.lang.String> emailAddress

telephoneNumber

protected java.util.List<java.lang.String> telephoneNumber

contactType

protected ContactTypeType contactType
Constructor Detail

ContactType

public ContactType()
Method Detail

getExtensions

public ExtensionsType getExtensions()
Gets the value of the extensions property.

Returns:
possible object is ExtensionsType

setExtensions

public void setExtensions(ExtensionsType value)
Sets the value of the extensions property.

Parameters:
value - allowed object is ExtensionsType

getCompany

public java.lang.String getCompany()
Gets the value of the company property.

Returns:
possible object is String

setCompany

public void setCompany(java.lang.String value)
Sets the value of the company property.

Parameters:
value - allowed object is String

getGivenName

public java.lang.String getGivenName()
Gets the value of the givenName property.

Returns:
possible object is String

setGivenName

public void setGivenName(java.lang.String value)
Sets the value of the givenName property.

Parameters:
value - allowed object is String

getSurName

public java.lang.String getSurName()
Gets the value of the surName property.

Returns:
possible object is String

setSurName

public void setSurName(java.lang.String value)
Sets the value of the surName property.

Parameters:
value - allowed object is String

getEmailAddress

public java.util.List<java.lang.String> getEmailAddress()
Gets the value of the emailAddress property.

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


getTelephoneNumber

public java.util.List<java.lang.String> getTelephoneNumber()
Gets the value of the telephoneNumber property.

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


getContactType

public ContactTypeType getContactType()
Gets the value of the contactType property.

Returns:
possible object is ContactTypeType

setContactType

public void setContactType(ContactTypeType value)
Sets the value of the contactType property.

Parameters:
value - allowed object is ContactTypeType

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

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.

Returns:
always non-null


Copyright © 2009 JBoss Inc.. All Rights Reserved.