ProfileModule.java

00001 /*
00002  * OpenMobileIS - a free Java(TM) Framework for mobile applications Java(TM)
00003  * Copyright (C) 2004-2006 Philippe Delrieu
00004  * All rights reserved.
00005  * Contact: pdelrieu@openmobileis.org
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00020  * USA
00021  *
00022  *  
00023  *  Modifications :
00024  *  2006 Creation P.Delrieu
00025  * 
00026  */
00027 package org.openmobileis.modules.profiles.old;
00028 
00029 import org.openmobileis.common.util.OpenMISSerializable;
00030 import org.openmobileis.common.util.collection.Array;
00031 import org.openmobileis.modules.profiles.old.embedded.core.DependProfileModule;
00032 import org.openmobileis.modules.profiles.old.embedded.core.DependProfileRubric;
00033 
00045 public class ProfileModule  implements OpenMISSerializable {
00046   static final long serialVersionUID = 5521257935120563452L;
00047         
00048         private String name;
00049         private String version;
00050         private Array rubrics;
00051         
00052         public ProfileModule() {
00053            this.rubrics = new Array();
00054         }
00055   
00056         public void setName(String name) {
00057                 this.name = name;
00058         }
00059         
00060         public String getName() {
00061                 return this.name;
00062         }
00063         
00064         public void setVersion(String version) {
00065                 this.version = version;
00066         }
00067         
00068         public String getVersion() {
00069                 return this.version;
00070         }
00071         
00072         public void addModuleRubrics(ProfileRubric rubric) {
00073                 this.rubrics.add(rubric);
00074         }
00075         
00076         public Array getAllModuleRubrics() {
00077                 return this.rubrics;
00078         }
00079         
00080         // BIDOUILLE : AJOUT POUR COMPILATION : 
00081         
00082         public Array getDependModuleList(){
00083                 return null;
00084         }
00085         
00086         public Array getModuleRubric(){
00087                 return null;
00088         }
00089         
00090           public void addProperty(String propertyName, String propertyValue){
00091                          
00092           }
00093           
00094           public void addDependProfilModule(DependProfileModule depend){
00095                   
00096           }
00097           
00098           public void addModuleRubric(DependProfileRubric depend){
00099                   
00100           }
00101         
00102 
00103 }

Generated on Mon Dec 4 11:03:29 2006 for OpenMobileIS by  doxygen 1.5.1-p1