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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Contact
public Contact()
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