Home » xmlbeans-2.5.0-src » org.apache.xmlbeans.samples » xquery » employees » [javadoc | source]
org.apache.xmlbeans.samples.xquery.employees
public interface: EmployeeType [javadoc | source]

All Implemented Interfaces:
    XmlObject

All Known Implementing Classes:
    EmployeeTypeImpl

An XML employeeType(@http://xmlbeans.apache.org/samples/xquery/employees). This is a complex type.
Nested Class Summary:
public static final class  EmployeeType.Factory  A factory class with static methods for creating instances of this type. 
Field Summary
public static final  SchemaType type     
Method from org.apache.xmlbeans.samples.xquery.employees.EmployeeType Summary:
addNewAddress,   addNewPhone,   getAddressArray,   getAddressArray,   getName,   getPhoneArray,   getPhoneArray,   insertNewAddress,   insertNewPhone,   removeAddress,   removePhone,   setAddressArray,   setAddressArray,   setName,   setPhoneArray,   setPhoneArray,   sizeOfAddressArray,   sizeOfPhoneArray,   xgetName,   xsetName
Method from org.apache.xmlbeans.samples.xquery.employees.EmployeeType Detail:
 public AddressType addNewAddress()
    Appends and returns a new empty value (as xml) as the last "address" element
 public PhoneType addNewPhone()
    Appends and returns a new empty value (as xml) as the last "phone" element
 public AddressType[] getAddressArray()
    Gets array of all "address" elements
 public AddressType getAddressArray(int i)
    Gets ith "address" element
 public String getName()
    Gets the "name" element
 public PhoneType[] getPhoneArray()
    Gets array of all "phone" elements
 public PhoneType getPhoneArray(int i)
    Gets ith "phone" element
 public AddressType insertNewAddress(int i)
    Inserts and returns a new empty value (as xml) as the ith "address" element
 public PhoneType insertNewPhone(int i)
    Inserts and returns a new empty value (as xml) as the ith "phone" element
 public  void removeAddress(int i)
    Removes the ith "address" element
 public  void removePhone(int i)
    Removes the ith "phone" element
 public  void setAddressArray(AddressType[] addressArray)
    Sets array of all "address" element
 public  void setAddressArray(int i,
    AddressType address)
    Sets ith "address" element
 public  void setName(String name)
    Sets the "name" element
 public  void setPhoneArray(PhoneType[] phoneArray)
    Sets array of all "phone" element
 public  void setPhoneArray(int i,
    PhoneType phone)
    Sets ith "phone" element
 public int sizeOfAddressArray()
    Returns number of "address" element
 public int sizeOfPhoneArray()
    Returns number of "phone" element
 public XmlString xgetName()
    Gets (as xml) the "name" element
 public  void xsetName(XmlString name)
    Sets (as xml) the "name" element