KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > h2 > bnf > RuleHead


1 /*
2  * Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
3  * Initial Developer: H2 Group
4  */

5 package org.h2.bnf;
6
7
8 public class RuleHead {
9     int id;
10     String JavaDoc section;
11     String JavaDoc topic;
12     Rule rule;
13
14     RuleHead(int id, String JavaDoc section, String JavaDoc topic, Rule rule) {
15         this.id = id;
16         this.section = section;
17         this.topic = topic;
18         this.rule = rule;
19     }
20     
21     public String JavaDoc getTopic() {
22         return topic;
23     }
24
25     public Rule getRule() {
26         return rule;
27     }
28
29 }
30
Popular Tags