db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wzhao6898@gmail.com" <wzhao6...@gmail.com>
Subject how to contruct an object extending com.workingdogs.village.Record from a Record
Date Fri, 21 May 2010 21:27:07 GMT
Hi there,

I need to create a class, say BetterRecord, that extends
com.workingdogs.village.Record. I couldn't figure out how to construct a
BetterRecord object from an existing com.workingdogs.village.Record.

public class BetterRecordextends Record {
       public RetterRecord (Record r) {
          ???
       }
 public String getThings() {
  return this.things;
 }
 public void setThings(String str) {
  this.things = str;
 }
}

Thanks very much!

David

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message