KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jmx > snmp > IPAcl > JDMTrapCommunity


1 /*
2  * @(#)file JDMTrapCommunity.java
3  * @(#)author Sun Microsystems, Inc.
4  * @(#)version 4.9
5  * @(#)date 08/02/09
6  *
7  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
8  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
9  *
10  */

11
12
13 /* Generated By:JJTree: Do not edit this line. JDMTrapCommunity.java */
14
15 package com.sun.jmx.snmp.IPAcl;
16
17 /**
18  * @version 4.9 12/19/03
19  * @author Sun Microsystems, Inc.
20  */

21 class JDMTrapCommunity extends SimpleNode {
22   protected String JavaDoc community= "";
23   JDMTrapCommunity(int id) {
24     super(id);
25   }
26
27   JDMTrapCommunity(Parser p, int id) {
28     super(p, id);
29   }
30
31   public static Node jjtCreate(int id) {
32       return new JDMTrapCommunity(id);
33   }
34
35   public static Node jjtCreate(Parser p, int id) {
36       return new JDMTrapCommunity(p, id);
37   }
38   
39   public String JavaDoc getCommunity() {
40     return community;
41   }
42 }
43
Popular Tags