Index: topia-service/src/java/org/codelutin/topia/migration/mappings/TMSVersion.java diff -u /dev/null topia-service/src/java/org/codelutin/topia/migration/mappings/TMSVersion.java:1.1 --- /dev/null Mon Apr 2 14:24:42 2007 +++ topia-service/src/java/org/codelutin/topia/migration/mappings/TMSVersion.java Mon Apr 2 14:24:37 2007 @@ -0,0 +1,72 @@ +/* *##% + * Copyright (C) 2007 Code Lutin + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + *##%*/ + +package org.codelutin.topia.migration.mappings; + +/** + * TMSVersion.java + * + * @author Chatellier Eric + * @author Chevallereau Benjamin + * @author Eon Sébastien + * @author Trève Vincent + * @version $Revision: 1.1 $ + * + * Last update : $Date: 2007/04/02 14:24:37 $ + */ +public class TMSVersion { + + /** + * La version. + * + * String (gere les cas 1.0.2 par exemple) + */ + private String version; + + /** + * Constructeur + */ + private TMSVersion(){ + super(); + } + + /** + * Constructeur + * @param version la version + */ + public TMSVersion(String version) { + this(); + this.version = version; + } + + /** + * Retourne la version + * @return la version + */ + public String getVersion() { + return version; + } + + /** + * Change la version + * @param version + */ + public void setVersion(String version) { + this.version = version; + } +} Index: topia-service/src/java/org/codelutin/topia/migration/mappings/TMSVersion.hbm.xml diff -u /dev/null topia-service/src/java/org/codelutin/topia/migration/mappings/TMSVersion.hbm.xml:1.1 --- /dev/null Mon Apr 2 14:24:42 2007 +++ topia-service/src/java/org/codelutin/topia/migration/mappings/TMSVersion.hbm.xml Mon Apr 2 14:24:37 2007 @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file