FileDocCategorySizeDatePackage
JPerson.javaAPI DocExample2678Fri Feb 23 07:06:24 GMT 2001None

JPerson

public class JPerson extends Object implements SQLData

Fields Summary
public static final String
_SQL_NAME
public static final int
_SQL_TYPECODE
private BigDecimal
m_personId
private String
m_lastName
private String
m_firstName
private String
m_middleName
private Timestamp
m_birthDate
private String
m_mothersMaidenName
private Array
m_identifiers
Constructors Summary
public JPerson()


  /* constructor */
   
  
  
Methods Summary
public java.sql.TimestampgetBirthDate()

 return m_birthDate; 
public java.lang.StringgetFirstName()

 return m_firstName; 
public java.sql.ArraygetIdentifiers()

 return m_identifiers; 
public java.lang.StringgetLastName()

 return m_lastName; 
public java.lang.StringgetMiddleName()

 return m_middleName; 
public java.lang.StringgetMothersMaidenName()

 return m_mothersMaidenName; 
public java.math.BigDecimalgetPersonId()

 return m_personId; 
public java.lang.StringgetSQLTypeName()

    return _SQL_NAME;
  
public voidreadSQL(java.sql.SQLInput stream, java.lang.String type)

      setPersonId(stream.readBigDecimal());
      setLastName(stream.readString());
      setFirstName(stream.readString());
      setMiddleName(stream.readString());
      setBirthDate(stream.readTimestamp());
      setMothersMaidenName(stream.readString());
      setIdentifiers(stream.readArray());
  
public voidsetBirthDate(java.sql.Timestamp birthDate)

 m_birthDate = birthDate; 
public voidsetFirstName(java.lang.String firstName)

 m_firstName = firstName; 
public voidsetIdentifiers(java.sql.Array identifiers)

 m_identifiers = identifiers; 
public voidsetLastName(java.lang.String lastName)

 m_lastName = lastName; 
public voidsetMiddleName(java.lang.String middleName)

 m_middleName = middleName; 
public voidsetMothersMaidenName(java.lang.String mothersMaidenName)

 m_mothersMaidenName = mothersMaidenName; 
public voidsetPersonId(java.math.BigDecimal personId)

 m_personId = personId; 
public voidwriteSQL(java.sql.SQLOutput stream)

      stream.writeBigDecimal(getPersonId());
      stream.writeString(getLastName());
      stream.writeString(getFirstName());
      stream.writeString(getMiddleName());
      stream.writeTimestamp(getBirthDate());
      stream.writeString(getMothersMaidenName());
      stream.writeArray(getIdentifiers());