Salome HOME
a535a7c2b1f3a9d0f53cb59e9d45301c6bedc93f
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / dto / ScenarioDTO.java
1 /*****************************************************************************
2  * Company         OPEN CASCADE
3  * Application     SIMAN
4  * File            $Id$ 
5  * Creation date   20.03.2013
6  * @author         $Author$
7  * @version        $Revision$
8  * @copyright      OPEN CASCADE 2012-2014
9  *****************************************************************************/
10
11 package org.splat.service.dto;
12
13 /**
14  * Scenario DTO class.
15  * 
16  * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
17  */
18 public class ScenarioDTO {
19         /**
20          * Scenario persistent id.
21          */
22         private Long _index = 0L;
23         /**
24          * Scenario title.
25          */
26         private String _title = "";
27
28         /**
29          * Get the scenario persistent id.
30          * 
31          * @return the id
32          */
33         public Long getIndex() {
34                 return _index;
35         }
36
37         /**
38          * Set the scenario persistent id.
39          * 
40          * @param index
41          *            the id to set
42          */
43         public void setIndex(final Long index) {
44                 _index = index;
45         }
46
47         /**
48          * Get the title.
49          * 
50          * @return the title
51          */
52         public String getTitle() {
53                 return _title;
54         }
55
56         /**
57          * Set the title.
58          * 
59          * @param title
60          *            the title to set
61          */
62         public void setTitle(final String title) {
63                 this._title = title;
64         }
65 }