]> SALOME platform Git repositories - modules/gde.git/blob - projects/GDE_App/GDE-ejb/src/java/com/edf/gde/transferables/AttributeTO.java
Salome HOME
Created "Group" entity and TO
[modules/gde.git] / projects / GDE_App / GDE-ejb / src / java / com / edf / gde / transferables / AttributeTO.java
1 /*
2  * To change this license header, choose License Headers in Project Properties.
3  * To change this template file, choose Tools | Templates
4  * and open the template in the editor.
5  */
6 package com.edf.gde.transferables;
7
8 import java.io.Serializable;
9
10 /**
11  *
12  * @author F62173
13  */
14 public class AttributeTO implements Serializable {
15     
16     private static final long serialVersionUID = 1L;
17     private long id;
18     private String name;
19     private String type;
20     private String value;
21     private long groupId;
22     private Boolean mandatory;
23
24     public AttributeTO() {
25     }
26
27     public AttributeTO(long id, String name, String type, String value, long groupId, Boolean mandatory) {
28         this.id = id;
29         this.name = name;
30         this.type = type;
31         this.value = value;
32         this.groupId = groupId;
33         this.mandatory = mandatory;
34     }
35
36     public long getId() {
37         return id;
38     }
39
40     public void setId(long id) {
41         this.id = id;
42     }
43
44     public String getName() {
45         return name;
46     }
47
48     public void setName(String name) {
49         this.name = name;
50     }
51
52     public String getType() {
53         return type;
54     }
55
56     public void setType(String type) {
57         this.type = type;
58     }
59
60     public String getValue() {
61         return value;
62     }
63
64     public void setValue(String value) {
65         this.value = value;
66     }
67
68     public long getGroupId() {
69         return groupId;
70     }
71
72     public void setGroupId(long groupId) {
73         this.groupId = groupId;
74     }
75
76     public Boolean getMandatory() {
77         return mandatory;
78     }
79
80     public void setMandatory(Boolean mandatory) {
81         this.mandatory = mandatory;
82     }
83     
84 }