com.anabas.vc.schema
Class Contact

java.lang.Object
  |
  +--com.anabas.vc.schema.Contact
All Implemented Interfaces:
java.io.Serializable

public class Contact
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Contact()
           
 
Method Summary
 void addAddress(Address vAddress)
           
 void addFax(Fax vFax)
           
 void addPhone(Phone vPhone)
           
 java.util.Enumeration enumerateAddress()
           
 java.util.Enumeration enumerateFax()
           
 java.util.Enumeration enumeratePhone()
           
 Address[] getAddress()
           
 Address getAddress(int index)
           
 int getAddressCount()
           
 Email getEmail()
           
 Fax[] getFax()
           
 Fax getFax(int index)
           
 int getFaxCount()
           
 Phone[] getPhone()
           
 Phone getPhone(int index)
           
 int getPhoneCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 Address removeAddress(int index)
           
 void removeAllAddress()
           
 void removeAllFax()
           
 void removeAllPhone()
           
 Fax removeFax(int index)
           
 Phone removePhone(int index)
           
 void setAddress(Address[] addressArray)
           
 void setAddress(Address vAddress, int index)
           
 void setEmail(Email _email)
           
 void setFax(Fax[] faxArray)
           
 void setFax(Fax vFax, int index)
           
 void setPhone(Phone[] phoneArray)
           
 void setPhone(Phone vPhone, int index)
           
static Contact unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contact

public Contact()
Method Detail

addAddress

public void addAddress(Address vAddress)
                throws java.lang.IndexOutOfBoundsException
Parameters:
vAddress -  

addFax

public void addFax(Fax vFax)
            throws java.lang.IndexOutOfBoundsException
Parameters:
vFax -  

addPhone

public void addPhone(Phone vPhone)
              throws java.lang.IndexOutOfBoundsException
Parameters:
vPhone -  

enumerateAddress

public java.util.Enumeration enumerateAddress()

enumerateFax

public java.util.Enumeration enumerateFax()

enumeratePhone

public java.util.Enumeration enumeratePhone()

getAddress

public Address getAddress(int index)
                   throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getAddress

public Address[] getAddress()

getAddressCount

public int getAddressCount()

getEmail

public Email getEmail()

getFax

public Fax getFax(int index)
           throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getFax

public Fax[] getFax()

getFaxCount

public int getFaxCount()

getPhone

public Phone getPhone(int index)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getPhone

public Phone[] getPhone()

getPhoneCount

public int getPhoneCount()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -  

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -  

removeAddress

public Address removeAddress(int index)
Parameters:
index -  

removeAllAddress

public void removeAllAddress()

removeAllFax

public void removeAllFax()

removeAllPhone

public void removeAllPhone()

removeFax

public Fax removeFax(int index)
Parameters:
index -  

removePhone

public Phone removePhone(int index)
Parameters:
index -  

setAddress

public void setAddress(Address vAddress,
                       int index)
                throws java.lang.IndexOutOfBoundsException
Parameters:
vAddress -  
index -  

setAddress

public void setAddress(Address[] addressArray)
Parameters:
addressArray -  

setEmail

public void setEmail(Email _email)
Parameters:
_email -  

setFax

public void setFax(Fax vFax,
                   int index)
            throws java.lang.IndexOutOfBoundsException
Parameters:
vFax -  
index -  

setFax

public void setFax(Fax[] faxArray)
Parameters:
faxArray -  

setPhone

public void setPhone(Phone vPhone,
                     int index)
              throws java.lang.IndexOutOfBoundsException
Parameters:
vPhone -  
index -  

setPhone

public void setPhone(Phone[] phoneArray)
Parameters:
phoneArray -  

unmarshal

public static Contact unmarshal(java.io.Reader reader)
                         throws org.exolab.castor.xml.MarshalException,
                                org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException