Line | |
---|
1 | package com.ether; |
---|
2 | |
---|
3 | import org.jetbrains.annotations.NotNull; |
---|
4 | import org.jetbrains.annotations.Nullable; |
---|
5 | |
---|
6 | /** |
---|
7 | * @author vmipsl |
---|
8 | * @date may 2011 |
---|
9 | * Example for a domain class |
---|
10 | */ |
---|
11 | public class Plateform |
---|
12 | { |
---|
13 | public Integer getId() |
---|
14 | { |
---|
15 | return _id; |
---|
16 | } |
---|
17 | |
---|
18 | public void setId( final Integer id ) |
---|
19 | { |
---|
20 | _id = id; |
---|
21 | } |
---|
22 | |
---|
23 | @Nullable |
---|
24 | public String getName() |
---|
25 | { |
---|
26 | return _name; |
---|
27 | } |
---|
28 | |
---|
29 | public void setName( @Nullable final String name ) |
---|
30 | { |
---|
31 | _name = name; |
---|
32 | } |
---|
33 | |
---|
34 | private Integer _id; |
---|
35 | @Nullable |
---|
36 | private String _name; |
---|
37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.