01: /*
02: * SkeletonProperty.java
03: *
04: * Created on 13 août 2003, 18:53
05: */
06:
07: package net.charabia.jsmoothgen.skeleton;
08:
09: /**
10: *
11: * @author Rodrigo
12: */
13: public class SkeletonProperty {
14: static public String TYPE_STRING = "string";
15: static public String TYPE_TEXTAREA = "textarea";
16: static public String TYPE_BOOLEAN = "boolean";
17: static public String TYPE_AUTODOWNLOADURL = "autodownloadurl";
18:
19: private String m_idName = "";
20: private String m_shortName = "";
21: private String m_description = "";
22: private String m_type = "";
23: private String m_value = "";
24:
25: /** Creates a new instance of SkeletonProperty */
26: public SkeletonProperty() {
27: }
28:
29: public SkeletonProperty(SkeletonProperty sp) {
30: m_idName = sp.m_idName;
31: m_shortName = sp.m_shortName;
32: m_description = sp.m_description;
33: m_type = sp.m_type;
34: m_value = sp.m_value;
35: }
36:
37: public void setIdName(String idName) {
38: m_idName = idName;
39: }
40:
41: public String getIdName() {
42: return m_idName;
43: }
44:
45: public void setLabel(String name) {
46: m_shortName = name;
47: }
48:
49: public String getLabel() {
50: return m_shortName;
51: }
52:
53: public void setDescription(String desc) {
54: m_description = desc;
55: }
56:
57: public String getDescription() {
58: return m_description;
59: }
60:
61: public void setType(String type) {
62: m_type = type;
63: }
64:
65: public String getType() {
66: return m_type;
67: }
68:
69: public void setValue(String value) {
70: m_value = value;
71: }
72:
73: public String getValue() {
74: return m_value;
75: }
76:
77: }
|