Save This Page
Home » openjdk-7 » net » sf » rvpf » metadata » [javadoc | source]
    1   /**
    2    * Related Values Processing Framework.
    3    * 
    4    * Copyright (C) 2003 Serge Brisson.
    5    * 
    6    * This software is distributable under LGPL license.
    7    * See details at the bottom of this file.
    8    * 
    9    * $Header: /cvsroot/rvpf/RVPF/java/src/net/sf/rvpf/metadata/ParamsEntity.java,v 1.2 2003/10/21 02:10:38 sfb Exp $
   10    */
   11   package net.sf.rvpf.metadata;
   12   
   13   /** Params Entity.
   14    * 
   15    * @author Serge Brisson
   16    * @version $Revision: 1.2 $
   17    */
   18   public abstract class ParamsEntity extends DefEntity {
   19   
   20       // Instance Properties.
   21   
   22       /** Gets the Params of this Entity.
   23        * 
   24        * @return The Params.
   25        */
   26       public Params getParams() {
   27           return this.params == null? new Params(): this.params;
   28       }
   29   
   30       /** Sets the Params of this Entity.
   31        * 
   32        * @param params The Params.
   33        */
   34       public void setParams(Params params) {
   35           this.params = params;
   36       }
   37   
   38       // Instance Attributes.
   39   
   40       private Params params = null;
   41   }
   42   
   43   // $Log: ParamsEntity.java,v $
   44   // Revision 1.2  2003/10/21 02:10:38  sfb
   45   // Made sure 'getParams' doe not return null.
   46   //
   47   // Revision 1.1  2003/09/19 16:18:28  sfb
   48   // Refactored DefEntity.
   49   //
   50   
   51   /*
   52    * This is free software; you can redistribute it and/or modify
   53    * it under the terms of the GNU Lesser General Public License
   54    * as published by the Free Software Foundation; either version 2.1
   55    * of the License, or (at your option) any later version.
   56    *
   57    * This software is distributed in the hope that it will be useful,
   58    * but WITHOUT ANY WARRANTY; without even the implied warranty of
   59    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   60    * Lesser General Public License for more details.
   61    *
   62    * You should have received a copy of the GNU Lesser General Public
   63    * License along with this software; if not, write to the Free Software
   64    * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   65    */

Save This Page
Home » openjdk-7 » net » sf » rvpf » metadata » [javadoc | source]