FileDocCategorySizeDatePackage
PersonLocation.javaAPI DocExample1925Fri Feb 23 07:06:24 GMT 2001None

PersonLocation

public class PersonLocation extends Object implements SQLData

Fields Summary
public static final String
_SQL_NAME
public static final int
_SQL_TYPECODE
private BigDecimal
m_personId
private BigDecimal
m_locationId
private Timestamp
m_startDate
private Timestamp
m_endDate
Constructors Summary
public PersonLocation()


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

 return m_endDate; 
public java.math.BigDecimalgetLocationId()

 return m_locationId; 
public java.math.BigDecimalgetPersonId()

 return m_personId; 
public java.lang.StringgetSQLTypeName()

    return _SQL_NAME;
  
public java.sql.TimestampgetStartDate()

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

      setPersonId(stream.readBigDecimal());
      setLocationId(stream.readBigDecimal());
      setStartDate(stream.readTimestamp());
      setEndDate(stream.readTimestamp());
  
public voidsetEndDate(java.sql.Timestamp endDate)

 m_endDate = endDate; 
public voidsetLocationId(java.math.BigDecimal locationId)

 m_locationId = locationId; 
public voidsetPersonId(java.math.BigDecimal personId)

 m_personId = personId; 
public voidsetStartDate(java.sql.Timestamp startDate)

 m_startDate = startDate; 
public voidwriteSQL(java.sql.SQLOutput stream)

      stream.writeBigDecimal(getPersonId());
      stream.writeBigDecimal(getLocationId());
      stream.writeTimestamp(getStartDate());
      stream.writeTimestamp(getEndDate());