org.apache.ws.scout.model.uddi.v2
Class Contact

java.lang.Object
  extended by org.apache.ws.scout.model.uddi.v2.Contact

public class Contact
extends java.lang.Object

Java class for contact complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="contact">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:uddi-org:api_v2}description" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{urn:uddi-org:api_v2}personName"/>
         <element ref="{urn:uddi-org:api_v2}phone" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{urn:uddi-org:api_v2}email" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{urn:uddi-org:api_v2}address" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="useType" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<Address> address
           
protected  java.util.List<Description> description
           
protected  java.util.List<Email> email
           
protected  java.lang.String personName
           
protected  java.util.List<Phone> phone
           
protected  java.lang.String useType
           
 
Constructor Summary
Contact()
           
 
Method Summary
 java.util.List<Address> getAddress()
          Gets the value of the address property.
 java.util.List<Description> getDescription()
          Gets the value of the description property.
 java.util.List<Email> getEmail()
          Gets the value of the email property.
 java.lang.String getPersonName()
          Gets the value of the personName property.
 java.util.List<Phone> getPhone()
          Gets the value of the phone property.
 java.lang.String getUseType()
          Gets the value of the useType property.
 void setPersonName(java.lang.String value)
          Sets the value of the personName property.
 void setUseType(java.lang.String value)
          Sets the value of the useType property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected java.util.List<Description> description

personName

protected java.lang.String personName

phone

protected java.util.List<Phone> phone

email

protected java.util.List<Email> email

address

protected java.util.List<Address> address

useType

protected java.lang.String useType
Constructor Detail

Contact

public Contact()
Method Detail

getDescription

public java.util.List<Description> getDescription()
Gets the value of the description 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 description property.

For example, to add a new item, do as follows:

    getDescription().add(newItem);
 

Objects of the following type(s) are allowed in the list Description


getPersonName

public java.lang.String getPersonName()
Gets the value of the personName property.

Returns:
possible object is String

setPersonName

public void setPersonName(java.lang.String value)
Sets the value of the personName property.

Parameters:
value - allowed object is String

getPhone

public java.util.List<Phone> getPhone()
Gets the value of the phone 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 phone property.

For example, to add a new item, do as follows:

    getPhone().add(newItem);
 

Objects of the following type(s) are allowed in the list Phone


getEmail

public java.util.List<Email> getEmail()
Gets the value of the email 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 email property.

For example, to add a new item, do as follows:

    getEmail().add(newItem);
 

Objects of the following type(s) are allowed in the list Email


getAddress

public java.util.List<Address> getAddress()
Gets the value of the address 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 address property.

For example, to add a new item, do as follows:

    getAddress().add(newItem);
 

Objects of the following type(s) are allowed in the list Address


getUseType

public java.lang.String getUseType()
Gets the value of the useType property.

Returns:
possible object is String

setUseType

public void setUseType(java.lang.String value)
Sets the value of the useType property.

Parameters:
value - allowed object is String


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.