Save This Page
Home » jdo2-tck-2.3-ea-src » org.apache.jdo.tck.pc.companyAnnotatedJPA » [javadoc | source]
org.apache.jdo.tck.pc.companyAnnotatedJPA
public class: JPAAppPhoneNumber [javadoc | source]
java.lang.Object
   org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppPhoneNumber

All Implemented Interfaces:
    Serializable

This class represents a person.
Nested Class Summary:
public static class  JPAAppPhoneNumber.Oid  This class is used to represent the application identifier for the Person class. 
Constructor:
 protected JPAAppPhoneNumber() 
 public JPAAppPhoneNumber(JPAAppPerson person,
    String type,
    String phoneNumber) 
    Construct a JPAAppPhoneNumber instance.
    Parameters:
    person - The person instance
    type - The type of the phone for this number
    phoneNumber - The phone number
Method from org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppPhoneNumber Summary:
getFieldRepr,   getPerson,   getPhoneNumber,   getType,   setPerson,   setPhoneNumber,   setType,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.tck.pc.companyAnnotatedJPA.JPAAppPhoneNumber Detail:
 protected String getFieldRepr() 
    Returns a String representation of the non-relationship fields.
 public JPAAppPerson getPerson() 
    Get the person's id.
 public String getPhoneNumber() 
    Get the phone number.
 public String getType() 
    Get the person's last name.
 public  void setPerson(JPAAppPerson id) 
    Set the id associated with this object.
 public  void setPhoneNumber(String phoneNumber) 
    Set the phone number.
 public  void setType(String type) 
    Set the phone number type
 public String toString() 
    Returns a String representation of a JPAAppPhoneNumber object.