FileDocCategorySizeDatePackage
JLocation.javaAPI DocExample2388Fri Feb 23 07:06:24 GMT 2001None

JLocation

public class JLocation extends Object implements SQLData

Fields Summary
public static final String
_SQL_NAME
public static final int
_SQL_TYPECODE
private BigDecimal
m_locationId
private BigDecimal
m_parentLocationId
private String
m_code
private String
m_name
private Timestamp
m_startDate
private Timestamp
m_endDate
Constructors Summary
public JLocation()


  /* constructor */
   
  
  
Methods Summary
public java.lang.StringgetCode()

 return m_code; 
public java.sql.TimestampgetEndDate()

 return m_endDate; 
public java.math.BigDecimalgetLocationId()

 return m_locationId; 
public java.lang.StringgetName()

 return m_name; 
public java.math.BigDecimalgetParentLocationId()

 return m_parentLocationId; 
public java.lang.StringgetSQLTypeName()

    return _SQL_NAME;
  
public java.sql.TimestampgetStartDate()

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

      setLocationId(stream.readBigDecimal());
      setParentLocationId(stream.readBigDecimal());
      setCode(stream.readString());
      setName(stream.readString());
      setStartDate(stream.readTimestamp());
      setEndDate(stream.readTimestamp());
  
public voidsetCode(java.lang.String code)

 m_code = code; 
public voidsetEndDate(java.sql.Timestamp endDate)

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

 m_locationId = locationId; 
public voidsetName(java.lang.String name)

 m_name = name; 
public voidsetParentLocationId(java.math.BigDecimal parentLocationId)

 m_parentLocationId = parentLocationId; 
public voidsetStartDate(java.sql.Timestamp startDate)

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

      stream.writeBigDecimal(getLocationId());
      stream.writeBigDecimal(getParentLocationId());
      stream.writeString(getCode());
      stream.writeString(getName());
      stream.writeTimestamp(getStartDate());
      stream.writeTimestamp(getEndDate());