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

All Implemented Interfaces:

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. 
 protected JPAAppPhoneNumber() 
 public JPAAppPhoneNumber(JPAAppPerson person,
    String type,
    String phoneNumber) 
    Construct a JPAAppPhoneNumber instance.
    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.