Commit | Line | Data |
---|---|---|
d1c23fc5 MS |
1 | package org.ufcspa.simdecs.session.crud.admin; |
2 | ||
3 | import org.jboss.seam.annotations.Name; | |
4 | import org.jboss.seam.annotations.Begin; | |
5 | import org.jboss.seam.annotations.web.RequestParameter; | |
6 | import org.jboss.seam.framework.EntityHome; | |
7 | ||
8 | import org.ufcspa.simdecs.entities.RedeBayesiana; | |
9 | ||
10 | @Name("redeBayesianaHome") | |
11 | public class RedeBayesianaHome extends EntityHome<RedeBayesiana> | |
12 | { | |
79f1af86 MS |
13 | /** |
14 | * | |
15 | */ | |
16 | private static final long serialVersionUID = 3958851307369078847L; | |
17 | @RequestParameter Long redeBayesianaId; | |
d1c23fc5 MS |
18 | |
19 | @Override | |
20 | public Object getId() | |
21 | { | |
22 | if (redeBayesianaId == null) | |
23 | { | |
24 | return super.getId(); | |
25 | } | |
26 | else | |
27 | { | |
28 | return redeBayesianaId; | |
29 | } | |
30 | } | |
31 | ||
32 | @Override @Begin | |
33 | public void create() { | |
34 | super.create(); | |
35 | } | |
36 | ||
37 | } |