Last change
on this file since 193 was
193,
checked in by Maciej Komosinski, 10 years ago
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
|
File size:
1.1 KB
|
Line | |
---|
1 | package com.framsticks.gui.configuration; |
---|
2 | |
---|
3 | import com.framsticks.params.annotations.FramsClassAnnotation; |
---|
4 | import com.framsticks.params.annotations.ParamAnnotation; |
---|
5 | |
---|
6 | /** |
---|
7 | * Class stores information about user favourite node or field. |
---|
8 | */ |
---|
9 | @FramsClassAnnotation |
---|
10 | public class UserFavourite { |
---|
11 | |
---|
12 | /** |
---|
13 | * Name of node/field. |
---|
14 | */ |
---|
15 | protected String name; |
---|
16 | |
---|
17 | /** |
---|
18 | * Path to node/field. |
---|
19 | */ |
---|
20 | protected String path; |
---|
21 | |
---|
22 | /** |
---|
23 | * Field name - property getId or group name if node is group; |
---|
24 | */ |
---|
25 | protected String fieldId; |
---|
26 | |
---|
27 | public UserFavourite() { |
---|
28 | } |
---|
29 | |
---|
30 | @ParamAnnotation |
---|
31 | public String getPath() { |
---|
32 | return path; |
---|
33 | } |
---|
34 | |
---|
35 | /** |
---|
36 | * @param path the path to set |
---|
37 | */ |
---|
38 | @ParamAnnotation |
---|
39 | public void setPath(String path) { |
---|
40 | this.path = path; |
---|
41 | } |
---|
42 | |
---|
43 | /** |
---|
44 | * @param fieldId the fieldId to set |
---|
45 | */ |
---|
46 | @ParamAnnotation |
---|
47 | public void setFieldId(String fieldId) { |
---|
48 | this.fieldId = fieldId; |
---|
49 | } |
---|
50 | |
---|
51 | @ParamAnnotation |
---|
52 | public String getName() { |
---|
53 | return name; |
---|
54 | } |
---|
55 | |
---|
56 | /** |
---|
57 | * @param name the name to set |
---|
58 | */ |
---|
59 | @ParamAnnotation |
---|
60 | public void setName(String name) { |
---|
61 | this.name = name; |
---|
62 | } |
---|
63 | |
---|
64 | @ParamAnnotation |
---|
65 | public String getFieldId() { |
---|
66 | return fieldId; |
---|
67 | } |
---|
68 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.