--- /dev/null
+/*****************************************************************************
+ * Copyright Igor Barma, Eric Brun, Alexandre Desoubeaux, Christian Martel,
+ * (2 décembre 2008)
+ *
+ * Ce logiciel est un programme informatique servant à l'évaluation des
+ * compétences.
+ *
+ * Ce logiciel est régi par la licence CeCILL soumise au droit français et
+ * respectant les principes de diffusion des logiciels libres. Vous pouvez
+ * utiliser, modifier et/ou redistribuer ce programme sous les conditions
+ * de la licence CeCILL telle que diffusée par le CEA, le CNRS et l'INRIA
+ * sur le site "http://www.cecill.info".
+ *
+ * En contrepartie de l'accessibilité au code source et des droits de copie,
+ * de modification et de redistribution accordés par cette licence, il n'est
+ * offert aux utilisateurs qu'une garantie limitée. Pour les mêmes raisons,
+ * seule une responsabilité restreinte pèse sur l'auteur du programme, le
+ * titulaire des droits patrimoniaux et les concédants successifs.
+ *
+ * A cet égard l'attention de l'utilisateur est attirée sur les risques
+ * associés au chargement, à l'utilisation, à la modification et/ou au
+ * développement et à la reproduction du logiciel par l'utilisateur étant
+ * donné sa spécificité de logiciel libre, qui peut le rendre complexe à
+ * manipuler et qui le réserve donc à des développeurs et des professionnels
+ * avertis possédant des connaissances informatiques approfondies. Les
+ * utilisateurs sont donc invités à charger et tester l'adéquation du
+ * logiciel à leurs besoins dans des conditions permettant d'assurer la
+ * sécurité de leurs systèmes et ou de leurs données et, plus généralement,
+ * à l'utiliser et l'exploiter dans les mêmes conditions de sécurité.
+ *
+ * Le fait que vous puissiez accéder à cet en-tête signifie que vous avez
+ * pris connaissance de la licence CeCILL, et que vous en avez accepté les
+ * termes.
+ *******************************************************************************/
+package com.pentila.evalcomp.domain.definition;
+
+import java.util.Map;
+import java.util.Set;
+
+import com.pentila.evalcomp.domain.EObject;
+
+// TODO: Auto-generated Javadoc
+/**
+ * The Class MethodValidation.
+ */
+public class MethodValidation extends EObject implements IMethod {
+
+ /** The id. */
+ Long id;
+
+ /** The description. */
+ String description;
+
+ /** The name. */
+ String name;
+
+ /** The expression. */
+ String expression;
+
+ /** The expression domain. */
+ String expressionDomain;
+
+ String type;
+
+ /** The method validation instances. */
+ Set<MethodValidationInstance> methodValidationInstances;
+
+ /** The method validation parameters. */
+ Map<String, String> methodValidationParameters;
+
+ /**
+ * Gets the id.
+ *
+ * @return the id
+ */
+ public Long getId() {
+ return id;
+ }
+
+ /**
+ * Sets the id.
+ *
+ * @param id
+ * the new id
+ */
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ /**
+ * Gets the description.
+ *
+ * @return the description
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the description.
+ *
+ * @param description
+ * the new description
+ */
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
+ * Gets the name.
+ *
+ * @return the name
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the name.
+ *
+ * @param name
+ * the new name
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * Gets the method validation instances.
+ *
+ * @return the method validation instances
+ */
+ public Set<MethodValidationInstance> getMethodValidationInstances() {
+ return methodValidationInstances;
+ }
+
+ /**
+ * Sets the method validation instances.
+ *
+ * @param methodValidationInstances
+ * the new method validation instances
+ */
+ public void setMethodValidationInstances(
+ Set<MethodValidationInstance> methodValidationInstances) {
+ this.methodValidationInstances = methodValidationInstances;
+ }
+
+ /**
+ * Gets the expression.
+ *
+ * @return the expression
+ */
+ public String getExpression() {
+ return expression;
+ }
+
+ /**
+ * Sets the expression.
+ *
+ * @param expression
+ * the new expression
+ */
+ public void setExpression(String expression) {
+ this.expression = expression;
+ }
+
+ /**
+ * Gets the method validation parameters.
+ *
+ * @return the method validation parameters
+ */
+ public Map<String, String> getMethodValidationParameters() {
+ return methodValidationParameters;
+ }
+
+ /**
+ * Sets the method validation parameters.
+ *
+ * @param methodValidationParameters the method validation parameters
+ */
+ public void setMethodValidationParameters(
+ Map<String, String> methodValidationParameters) {
+ this.methodValidationParameters = methodValidationParameters;
+ }
+
+ /**
+ * Gets the expression domain.
+ *
+ * @return the expression domain
+ */
+ public String getExpressionDomain() {
+ return expressionDomain;
+ }
+
+ /**
+ * Sets the expression domain.
+ *
+ * @param expressionDomain the new expression domain
+ */
+ public void setExpressionDomain(String expressionDomain) {
+ this.expressionDomain = expressionDomain;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+}