uk.ac.soton.ecs.grimoires.server.impl.uddiv2.datamodel
Class Contact

java.lang.Object
  extended byuk.ac.soton.ecs.grimoires.server.impl.uddiv2.datamodel.Contact
All Implemented Interfaces:
Serializable, UDDIv2DataModelVisitable

public class Contact
extends Object
implements Serializable, UDDIv2DataModelVisitable

See Also:
Serialized Form

Constructor Summary
Contact()
           
Contact(Address[] address, Description[] description, Email[] email, String personName, Phone[] phone, String useType)
           
 
Method Summary
 Object accept(UDDIv2DataModelVisitor v)
          Grimoires specific methods and constructors
 boolean equals(Object obj)
           
 Address[] getAddress()
          Gets the address value for this Contact.
 Address getAddress(int i)
           
 Description[] getDescription()
          Gets the description value for this Contact.
 Description getDescription(int i)
           
 Email[] getEmail()
          Gets the email value for this Contact.
 Email getEmail(int i)
           
 String getPersonName()
          Gets the personName value for this Contact.
 Phone[] getPhone()
          Gets the phone value for this Contact.
 Phone getPhone(int i)
           
 String getUseType()
          Gets the useType value for this Contact.
 int hashCode()
           
 void setAddress(Address[] address)
          Sets the address value for this Contact.
 void setAddress(int i, Address _value)
           
 void setDescription(Description[] description)
          Sets the description value for this Contact.
 void setDescription(int i, Description _value)
           
 void setEmail(Email[] email)
          Sets the email value for this Contact.
 void setEmail(int i, Email _value)
           
 void setPersonName(String personName)
          Sets the personName value for this Contact.
 void setPhone(int i, Phone _value)
           
 void setPhone(Phone[] phone)
          Sets the phone value for this Contact.
 void setUseType(String useType)
          Sets the useType value for this Contact.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contact

public Contact()

Contact

public Contact(Address[] address,
               Description[] description,
               Email[] email,
               String personName,
               Phone[] phone,
               String useType)
Method Detail

getDescription

public Description[] getDescription()
Gets the description value for this Contact.

Returns:
description

setDescription

public void setDescription(Description[] description)
Sets the description value for this Contact.

Parameters:
description -

getDescription

public Description getDescription(int i)

setDescription

public void setDescription(int i,
                           Description _value)

getPersonName

public String getPersonName()
Gets the personName value for this Contact.

Returns:
personName

setPersonName

public void setPersonName(String personName)
Sets the personName value for this Contact.

Parameters:
personName -

getPhone

public Phone[] getPhone()
Gets the phone value for this Contact.

Returns:
phone

setPhone

public void setPhone(Phone[] phone)
Sets the phone value for this Contact.

Parameters:
phone -

getPhone

public Phone getPhone(int i)

setPhone

public void setPhone(int i,
                     Phone _value)

getEmail

public Email[] getEmail()
Gets the email value for this Contact.

Returns:
email

setEmail

public void setEmail(Email[] email)
Sets the email value for this Contact.

Parameters:
email -

getEmail

public Email getEmail(int i)

setEmail

public void setEmail(int i,
                     Email _value)

getAddress

public Address[] getAddress()
Gets the address value for this Contact.

Returns:
address

setAddress

public void setAddress(Address[] address)
Sets the address value for this Contact.

Parameters:
address -

getAddress

public Address getAddress(int i)

setAddress

public void setAddress(int i,
                       Address _value)

getUseType

public String getUseType()
Gets the useType value for this Contact.

Returns:
useType

setUseType

public void setUseType(String useType)
Sets the useType value for this Contact.

Parameters:
useType -

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

accept

public Object accept(UDDIv2DataModelVisitor v)
              throws Exception
Grimoires specific methods and constructors

Specified by:
accept in interface UDDIv2DataModelVisitable
Throws:
Exception