/** * 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/>. */ /* * Cr�� le 11 ao�t 05, par M400832. */ package org.squale.squaleweb.applicationlayer.formbean.creation; import org.squale.squaleweb.applicationlayer.formbean.RootForm; /** * @author M400832 * @version 1.0 */ public class CApplicationForm extends RootForm { /** * D�lai de purge par d�faut */ private static final int DEFAULT_PURGE_DELAY = 180; /** * Fr�quence d'audit par d�faut */ private static final int DEFAULT_AUDIT_FREQUENCY = 15; /** * Nom de l'application = nom de l'application AF. */ private String mName = null; /** * Bool�an permettant de savoir si l'on ne doit faire que des audits de type Milestone = jalon. */ private boolean mMilestoneOnly = false; /** * Entit� o� est situ�e l'application */ private String mAFLocation = null; /** * Bean de droits. */ private CRightListForm mRLF = null; /** * D�lai entre deux purges de l'application */ private int mPurgeDelay = DEFAULT_PURGE_DELAY; /** * D�lai entre deux purges de l'application */ private int mAuditFrequency = DEFAULT_AUDIT_FREQUENCY; /** * Get name * * @return le nom de l'application */ public String getName() { return mName; } /** * Set name * * @param pName le nom de l'application */ public void setName( String pName ) { mName = pName; } /** * @return le bean contenant la liste de droits. */ public CRightListForm getRightListForm() { return mRLF; } /** * @return le d�lai de purge */ public int getPurgeDelay() { return mPurgeDelay; } /** * @param pRLF le bean de droits. */ public void setRightListForm( CRightListForm pRLF ) { mRLF = pRLF; } /** * @param pPurgeDelay le d�lai de purge (en jour) */ public void setPurgeDelay( int pPurgeDelay ) { mPurgeDelay = pPurgeDelay; } /** * @return la fr�quence d'audit en jours */ public int getAuditFrequency() { return mAuditFrequency; } /** * @param pAuditFrequency la fr�quence d'audit en jours */ public void setAuditFrequency( int pAuditFrequency ) { mAuditFrequency = pAuditFrequency; } /** * @return la valeur de mMilestoneOnly. */ public boolean isMilestoneOnly() { return mMilestoneOnly; } /** * @param pMilestoneOnly la nouvelle valeur de mMilestoneOnly. */ public void setMilestoneOnly( boolean pMilestoneOnly ) { mMilestoneOnly = pMilestoneOnly; } /** * @return le site de l'application */ public String getAFLocation() { return mAFLocation; } /** * @param pAFLocation le site de l'application */ public void setAFLocation( String pAFLocation ) { mAFLocation = pAFLocation; } }