Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

src/net/threebit/jvr/GC_PARM.java

Go to the documentation of this file.
00001 package net.threebit.jvr;
00002 
00003 /*
00004  * $Id: GC_PARM.java,v 1.2 2004/07/02 18:11:38 kevino Exp $
00005  *
00006  * Copyright (c) 2003,2004 Kevin O'Donnell
00007  * 
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2.1 of the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307,  USA.
00021  */
00022 
00023 /**
00024  * Java equivalent of the Dialogic GC_PARM structure.
00025  */
00026 
00027 public class GC_PARM extends JVRBaseClass {
00028 
00029   private long nvalue = -1;
00030   private String svalue = null;
00031   private boolean isString = false;
00032 
00033   /**
00034    *
00035    */
00036   public GC_PARM (String value) { 
00037     if (value == null) { throw new IllegalArgumentException("A GC_PARM string value cannot be null"); }
00038     isString = true;
00039     svalue = value;
00040   }
00041 
00042   /**
00043    *
00044    */
00045   public GC_PARM (int value) { nvalue = value; }
00046 
00047   /**
00048    *
00049    */
00050   public GC_PARM (long value) { nvalue = value; }
00051 
00052 }

Generated on Sat Jul 16 03:47:34 2005 for JVR by doxygen 1.3.5