--- /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.transit;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import com.pentila.evalcomp.domain.EObject;
+import com.pentila.evalcomp.domain.Role;
+import com.pentila.evalcomp.domain.definition.EvaluationDefinition;
+import com.pentila.evalcomp.domain.definition.Property;
+
+// TODO: Auto-generated Javadoc
+/**
+ * The Class TransitProcessDefinition.
+ */
+public class TransitProcessDefinition extends EObject {
+
+ /** The activities. */
+ Set<Activity> activities;
+
+ /** The author. */
+ String author;
+
+ /** The creation date. */
+ String creationDate;
+
+ /** The description. */
+ String description;
+
+ /** The id. */
+ String id;
+
+ /** The init role. */
+ String initRole;
+
+ /** The instanciation mode. */
+ Integer instanciationMode = EvaluationDefinition.MODE_NONE;
+
+ /** The name. */
+ String name;
+
+ /** The package definition. */
+ TPackageDefinition packageDefinition;
+
+ /** The properties. */
+ Set<Property> properties = new HashSet<Property>();
+
+ /** The roles. */
+ Set<Role> roles;
+
+ /** The UUID. */
+ String UUID;
+
+ /** The version. */
+ String version;
+
+ /** The type. */
+ String type;
+
+ /**
+ * Gets the activities.
+ *
+ * @return the activities
+ */
+ public Set<Activity> getActivities() {
+ return activities;
+ }
+
+ /**
+ * Gets the author.
+ *
+ * @return the author
+ */
+ public String getAuthor() {
+ return author;
+ }
+
+ /**
+ * Gets the creation date.
+ *
+ * @return the creation date
+ */
+ public String getCreationDate() {
+ return creationDate;
+ }
+
+ /**
+ * Gets the description.
+ *
+ * @return the description
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Gets the id.
+ *
+ * @return the id
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Gets the inits the role.
+ *
+ * @return the inits the role
+ */
+ public String getInitRole() {
+ return initRole;
+ }
+
+ /**
+ * Gets the instanciation mode.
+ *
+ * @return the instanciation mode
+ */
+ public int getInstanciationMode() {
+ return this.instanciationMode;
+ }
+
+ /**
+ * Gets the name.
+ *
+ * @return the name
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Gets the package definition.
+ *
+ * @return the package definition
+ */
+ public TPackageDefinition getPackageDefinition() {
+ return packageDefinition;
+ }
+
+ /**
+ * Gets the properties.
+ *
+ * @return the properties
+ */
+ public Set<Property> getProperties() {
+ return properties;
+ }
+
+ /**
+ * Gets the roles.
+ *
+ * @return the roles
+ */
+ public Set<Role> getRoles() {
+ return roles;
+ }
+
+ /**
+ * Gets the uUID.
+ *
+ * @return the uUID
+ */
+ public String getUUID() {
+ return UUID;
+ }
+
+ /**
+ * Gets the version.
+ *
+ * @return the version
+ */
+ public String getVersion() {
+ return version;
+ }
+
+ /**
+ * Sets the activities.
+ *
+ * @param sa
+ * the new activities
+ */
+ public void setActivities(Set<Activity> sa) {
+ this.activities = sa;
+
+ }
+
+ /**
+ * Sets the author.
+ *
+ * @param author
+ * the new author
+ */
+ public void setAuthor(String author) {
+ this.author = author;
+ }
+
+ /**
+ * Sets the creation date.
+ *
+ * @param creationDate
+ * the new creation date
+ */
+ public void setCreationDate(String creationDate) {
+ this.creationDate = creationDate;
+ }
+
+ /**
+ * Sets the description.
+ *
+ * @param description
+ * the new description
+ */
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
+ * Sets the id.
+ *
+ * @param id
+ * the new id
+ */
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * Sets the inits the role.
+ *
+ * @param initRole
+ * the new inits the role
+ */
+ public void setInitRole(String initRole) {
+ this.initRole = initRole;
+ }
+
+ /**
+ * Sets the instanciation mode.
+ *
+ * @param instanciationMode
+ * the new instanciation mode
+ */
+ public void setInstanciationMode(int instanciationMode) {
+ this.instanciationMode = instanciationMode;
+ }
+
+ /**
+ * Sets the name.
+ *
+ * @param name
+ * the new name
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * Sets the package definition.
+ *
+ * @param packageDefinition
+ * the new package definition
+ */
+ public void setPackageDefinition(TPackageDefinition packageDefinition) {
+ this.packageDefinition = packageDefinition;
+ }
+
+ /**
+ * Sets the properties.
+ *
+ * @param properties
+ * the new properties
+ */
+ public void setProperties(Set<Property> properties) {
+ this.properties = properties;
+ }
+
+ /**
+ * Sets the roles.
+ *
+ * @param roles
+ * the new roles
+ */
+ public void setRoles(Set<Role> roles) {
+ this.roles = roles;
+ }
+
+ /**
+ * Sets the uUID.
+ *
+ * @param uuid
+ * the new uUID
+ */
+ public void setUUID(String uuid) {
+ UUID = uuid;
+ }
+
+ /**
+ * Sets the version.
+ *
+ * @param version
+ * the new version
+ */
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ /**
+ * Gets the type.
+ *
+ * @return the type
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the type.
+ *
+ * @param type
+ * the new type
+ */
+ public void setType(String type) {
+ this.type = type;
+ }
+
+
+}