View Javadoc

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   * [Fri Jun 18 10:10:23 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 ModelStatement
18      extends olr.om.BaseModelStatement
19      implements Persistent
20  {
21      public ModelStatement() {}
22      
23      public ModelStatement(RdfStatement statement)
24          throws TorqueException
25      {
26          this.setRdfStatement(statement);
27          this.setRdfUser(OmContext.getUser());
28      }
29      
30      public ModelStatement(int model, RdfStatement statement)
31          throws TorqueException
32      {
33          this(statement);
34          this.setModelId(model);
35      }
36      
37      public ModelStatement(Model model, RdfStatement statement) 
38          throws TorqueException
39      {
40          this(statement);
41          this.setModel(model);        
42      }
43  }