1 2 package olr.om; 3 4 5 import org.apache.torque.TorqueException; 6 import org.apache.torque.om.Persistent; 7 8 /*** 9 * The skeleton for this class was autogenerated by Torque on: 10 * 11 * [Wed Jun 16 21:12:50 CEST 2004] 12 * 13 * You should add additional methods to this class to meet the 14 * application requirements. This class will only be generated as 15 * long as it does not already exist in the output directory. 16 */ 17 public class RdfResource 18 extends olr.om.BaseRdfResource 19 implements Persistent 20 { 21 public RdfResource() {} 22 23 public RdfResource(RdfNamespace namespace, String name) 24 throws TorqueException 25 { 26 this.setRdfNamespace(namespace); 27 this.setRoName(name); 28 this.setRdfUser(OmContext.getUser()); 29 } 30 31 public RdfResource(int namespace, String name, RdfUser user) 32 throws TorqueException 33 { 34 this.setRoName(name); 35 this.setNs(namespace); 36 this.setRdfUser(user); 37 } 38 }