FileDocCategorySizeDatePackage
SQLDataLocation.javaAPI DocExample2035Fri Feb 23 07:01:42 GMT 2001None

SQLDataLocation

public class SQLDataLocation extends Object implements SQLData

(Omit source code)

Fields Summary
private BigDecimal
locationId
private BigDecimal
parentLocationId
private String
code
private String
name
private Timestamp
startDate
private Timestamp
endDate
Constructors Summary
public SQLDataLocation()

 
Methods Summary
public java.lang.StringgetCode()

 
  return code; 
 
public java.sql.TimestampgetEndDate()

 
  return endDate; 
 
public java.math.BigDecimalgetLocationId()

 
  return locationId; 
 
public java.lang.StringgetName()

 
  return name; 
 
public java.math.BigDecimalgetParentLocationId()

 
  return parentLocationId; 
 
public java.lang.StringgetSQLTypeName()

  return "SCOTT.LOCATION_TYP";
 
public java.sql.TimestampgetStartDate()

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

  locationId       = stream.readBigDecimal();
  parentLocationId = stream.readBigDecimal();
  code             = stream.readString();
  name             = stream.readString();
  startDate        = stream.readTimestamp();
  endDate          = stream.readTimestamp();
 
public voidsetCode(java.lang.String code)

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

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

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

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

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

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

  stream.writeBigDecimal(locationId);
  stream.writeBigDecimal(parentLocationId);
  stream.writeString(code);
  stream.writeString(name);
  stream.writeTimestamp(startDate);
  stream.writeTimestamp(endDate);