/** * Copyright (C) 2008-2010, Squale Project - http://www.squale.org * * This file is part of Squale. * * Squale is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of the * License, or any later version. * * Squale 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 Lesser General Public License * along with Squale. If not, see <http://www.gnu.org/licenses/>. */ package org.squale.squalecommon.enterpriselayer.businessobject.component.parameters; /** * @hibernate.class table="ProjectParameter" mutable="true" discriminator-value="ProjectParameter" * @hibernate.discriminator column="subclass" */ abstract public class ProjectParameterBO { /** * Identifiant de l'objet */ private long mId = -1; /** * Access method for the mId property. * * @return the current value of the mId property Note: unsaved-value An identifier property value that indicates * that an instance is newly instantiated (unsaved), distinguishing it from transient instances that were * saved or loaded in a previous session. If not specified you will get an exception like this: another * object associated with the session has the same identifier * @hibernate.id generator-class="native" type="long" column="ParameterId" unsaved-value="-1" length="19" * @hibernate.generator-param name="sequence" value="project_parameter_sequence" */ public long getId() { return mId; } /** * Sets the value of the mId property. * * @param pId the new value of the mId property */ public void setId( long pId ) { mId = pId; } }