Last change
on this file since 330 was
330,
checked in by vmipsl, 12 years ago
|
Import du projet Ether pour le nouveau look 2012
|
File size:
1.0 KB
|
Line | |
---|
1 | package com.ether; |
---|
2 | |
---|
3 | import org.jetbrains.annotations.NotNull; |
---|
4 | import org.jetbrains.annotations.Nullable; |
---|
5 | |
---|
6 | import java.util.Set; |
---|
7 | |
---|
8 | /** |
---|
9 | * @author vmipsl |
---|
10 | * @date may 2011 |
---|
11 | * Example for a domain class |
---|
12 | */ |
---|
13 | public class Parameter |
---|
14 | { |
---|
15 | public Parameter(){} |
---|
16 | |
---|
17 | public Parameter( final Integer id, @Nullable final String name ) |
---|
18 | { |
---|
19 | _id = id; |
---|
20 | _name = name; |
---|
21 | } |
---|
22 | |
---|
23 | public Integer getId() |
---|
24 | { |
---|
25 | return _id; |
---|
26 | } |
---|
27 | |
---|
28 | public void setId( final Integer id ) |
---|
29 | { |
---|
30 | _id = id; |
---|
31 | } |
---|
32 | |
---|
33 | @Nullable |
---|
34 | public String getName() |
---|
35 | { |
---|
36 | return _name; |
---|
37 | } |
---|
38 | |
---|
39 | public void setName( @Nullable final String name ) |
---|
40 | { |
---|
41 | _name = name; |
---|
42 | } |
---|
43 | |
---|
44 | @Nullable |
---|
45 | public Set<Plateform> getPlateformes() |
---|
46 | { |
---|
47 | return _plateformes; |
---|
48 | } |
---|
49 | |
---|
50 | public void setPlateformes( @Nullable final Set<Plateform> plateformes ) |
---|
51 | { |
---|
52 | _plateformes = plateformes; |
---|
53 | } |
---|
54 | |
---|
55 | private Integer _id; |
---|
56 | @Nullable |
---|
57 | private String _name; |
---|
58 | @Nullable |
---|
59 | private Set<Plateform> _plateformes; |
---|
60 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.