View Javadoc

1   /*
2    *  $Id: ExtStatement.java,v 1.1 2004/07/25 19:10:08 roku Exp $ 
3    *
4    *  Copyright 2004 University of Hannover
5    *
6    *  Licensed under the Apache License, Version 2.0 (the "License");
7    *  you may not use this file except in compliance with the License.
8    *  You may obtain a copy of the License at
9    *
10   *      http://www.apache.org/licenses/LICENSE-2.0
11   *
12   *  Unless required by applicable law or agreed to in writing, software
13   *  distributed under the License is distributed on an "AS IS" BASIS,
14   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   *  See the License for the specific language governing permissions and
16   *  limitations under the License.
17   */
18  
19  package olr.statementpool;
20  
21  import olr.rdf.Statement;
22  
23  public class ExtStatement extends Statement
24  {
25  
26      public ExtStatement(String subject, String predicate, String object)
27      {
28          super(subject, predicate, object);
29          isPublic = true;
30      }
31  
32      public ExtStatement(String subject, String predicate, String object, int id)
33      {
34          super(subject, predicate, object, id);
35          isPublic = true;
36      }
37  
38      public boolean isPublic()
39      {
40          return isPublic;
41      }
42  
43      public void setPublic(boolean isPublic)
44      {
45          this.isPublic = isPublic;
46      }
47  
48      protected boolean isPublic;
49  }