net.ivoa.xml.voresource.v1
Class Contact

java.lang.Object
  extended by net.ivoa.xml.voresource.v1.Contact

public class Contact
extends java.lang.Object

Information that can be used for contacting someone

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 name="name" type="{http://www.ivoa.net/xml/VOResource/v1.0}ResourceName"/>
         <element name="address" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="email" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="telephone" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String address
           
protected  java.lang.String email
           
protected  ResourceName name
           
protected  java.lang.String telephone
           
 
Constructor Summary
Contact()
           
 
Method Summary
 java.lang.String getAddress()
          Gets the value of the address property.
 java.lang.String getEmail()
          Gets the value of the email property.
 ResourceName getName()
          Gets the value of the name property.
 java.lang.String getTelephone()
          Gets the value of the telephone property.
 void setAddress(java.lang.String value)
          Sets the value of the address property.
 void setEmail(java.lang.String value)
          Sets the value of the email property.
 void setName(ResourceName value)
          Sets the value of the name property.
 void setTelephone(java.lang.String value)
          Sets the value of the telephone property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected ResourceName name

address

protected java.lang.String address

email

protected java.lang.String email

telephone

protected java.lang.String telephone
Constructor Detail

Contact

public Contact()
Method Detail

getName

public ResourceName getName()
Gets the value of the name property.

Returns:
possible object is ResourceName

setName

public void setName(ResourceName value)
Sets the value of the name property.

Parameters:
value - allowed object is ResourceName

getAddress

public java.lang.String getAddress()
Gets the value of the address property.

Returns:
possible object is String

setAddress

public void setAddress(java.lang.String value)
Sets the value of the address property.

Parameters:
value - allowed object is String

getEmail

public java.lang.String getEmail()
Gets the value of the email property.

Returns:
possible object is String

setEmail

public void setEmail(java.lang.String value)
Sets the value of the email property.

Parameters:
value - allowed object is String

getTelephone

public java.lang.String getTelephone()
Gets the value of the telephone property.

Returns:
possible object is String

setTelephone

public void setTelephone(java.lang.String value)
Sets the value of the telephone property.

Parameters:
value - allowed object is String


Copyright © 2011 VAMDC. All Rights Reserved.