1 /**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7 package BusinessDomainDsl;
8
9
10 /**
11 * <!-- begin-user-doc -->
12 * A representation of the model object '<em><b>Decimal Property</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * <p>
16 * The following features are supported:
17 * <ul>
18 * <li>{@link BusinessDomainDsl.DecimalProperty#getMinValue <em>Min Value</em>}</li>
19 * <li>{@link BusinessDomainDsl.DecimalProperty#getMaxValue <em>Max Value</em>}</li>
20 * <li>{@link BusinessDomainDsl.DecimalProperty#isMinInclusive <em>Min Inclusive</em>}</li>
21 * <li>{@link BusinessDomainDsl.DecimalProperty#isMaxInclusive <em>Max Inclusive</em>}</li>
22 * <li>{@link BusinessDomainDsl.DecimalProperty#getDefaultValue <em>Default Value</em>}</li>
23 * </ul>
24 * </p>
25 *
26 * @see BusinessDomainDsl.BusinessDomainDslPackage#getDecimalProperty()
27 * @model
28 * @generated
29 */
30 public interface DecimalProperty extends Property {
31 /**
32 * Returns the value of the '<em><b>Min Value</b></em>' attribute.
33 * The default value is <code>"-2147483648"</code>.
34 * <!-- begin-user-doc -->
35 * <p>
36 * If the meaning of the '<em>Min Value</em>' attribute isn't clear,
37 * there really should be more of a description here...
38 * </p>
39 * <!-- end-user-doc -->
40 * @return the value of the '<em>Min Value</em>' attribute.
41 * @see #setMinValue(float)
42 * @see BusinessDomainDsl.BusinessDomainDslPackage#getDecimalProperty_MinValue()
43 * @model default="-2147483648"
44 * @generated
45 */
46 float getMinValue();
47
48 /**
49 * Sets the value of the '{@link BusinessDomainDsl.DecimalProperty#getMinValue <em>Min Value</em>}' attribute.
50 * <!-- begin-user-doc -->
51 * <!-- end-user-doc -->
52 * @param value the new value of the '<em>Min Value</em>' attribute.
53 * @see #getMinValue()
54 * @generated
55 */
56 void setMinValue(float value);
57
58 /**
59 * Returns the value of the '<em><b>Max Value</b></em>' attribute.
60 * The default value is <code>"-2147483648"</code>.
61 * <!-- begin-user-doc -->
62 * <p>
63 * If the meaning of the '<em>Max Value</em>' attribute isn't clear,
64 * there really should be more of a description here...
65 * </p>
66 * <!-- end-user-doc -->
67 * @return the value of the '<em>Max Value</em>' attribute.
68 * @see #setMaxValue(float)
69 * @see BusinessDomainDsl.BusinessDomainDslPackage#getDecimalProperty_MaxValue()
70 * @model default="-2147483648"
71 * @generated
72 */
73 float getMaxValue();
74
75 /**
76 * Sets the value of the '{@link BusinessDomainDsl.DecimalProperty#getMaxValue <em>Max Value</em>}' attribute.
77 * <!-- begin-user-doc -->
78 * <!-- end-user-doc -->
79 * @param value the new value of the '<em>Max Value</em>' attribute.
80 * @see #getMaxValue()
81 * @generated
82 */
83 void setMaxValue(float value);
84
85 /**
86 * Returns the value of the '<em><b>Min Inclusive</b></em>' attribute.
87 * The default value is <code>"true"</code>.
88 * <!-- begin-user-doc -->
89 * <p>
90 * If the meaning of the '<em>Min Inclusive</em>' attribute isn't clear,
91 * there really should be more of a description here...
92 * </p>
93 * <!-- end-user-doc -->
94 * @return the value of the '<em>Min Inclusive</em>' attribute.
95 * @see #setMinInclusive(boolean)
96 * @see BusinessDomainDsl.BusinessDomainDslPackage#getDecimalProperty_MinInclusive()
97 * @model default="true"
98 * @generated
99 */
100 boolean isMinInclusive();
101
102 /**
103 * Sets the value of the '{@link BusinessDomainDsl.DecimalProperty#isMinInclusive <em>Min Inclusive</em>}' attribute.
104 * <!-- begin-user-doc -->
105 * <!-- end-user-doc -->
106 * @param value the new value of the '<em>Min Inclusive</em>' attribute.
107 * @see #isMinInclusive()
108 * @generated
109 */
110 void setMinInclusive(boolean value);
111
112 /**
113 * Returns the value of the '<em><b>Max Inclusive</b></em>' attribute.
114 * The default value is <code>"true"</code>.
115 * <!-- begin-user-doc -->
116 * <p>
117 * If the meaning of the '<em>Max Inclusive</em>' attribute isn't clear,
118 * there really should be more of a description here...
119 * </p>
120 * <!-- end-user-doc -->
121 * @return the value of the '<em>Max Inclusive</em>' attribute.
122 * @see #setMaxInclusive(boolean)
123 * @see BusinessDomainDsl.BusinessDomainDslPackage#getDecimalProperty_MaxInclusive()
124 * @model default="true"
125 * @generated
126 */
127 boolean isMaxInclusive();
128
129 /**
130 * Sets the value of the '{@link BusinessDomainDsl.DecimalProperty#isMaxInclusive <em>Max Inclusive</em>}' attribute.
131 * <!-- begin-user-doc -->
132 * <!-- end-user-doc -->
133 * @param value the new value of the '<em>Max Inclusive</em>' attribute.
134 * @see #isMaxInclusive()
135 * @generated
136 */
137 void setMaxInclusive(boolean value);
138
139 /**
140 * Returns the value of the '<em><b>Default Value</b></em>' attribute.
141 * The default value is <code>"0"</code>.
142 * <!-- begin-user-doc -->
143 * <p>
144 * If the meaning of the '<em>Default Value</em>' attribute isn't clear,
145 * there really should be more of a description here...
146 * </p>
147 * <!-- end-user-doc -->
148 * @return the value of the '<em>Default Value</em>' attribute.
149 * @see #setDefaultValue(float)
150 * @see BusinessDomainDsl.BusinessDomainDslPackage#getDecimalProperty_DefaultValue()
151 * @model default="0"
152 * @generated
153 */
154 float getDefaultValue();
155
156 /**
157 * Sets the value of the '{@link BusinessDomainDsl.DecimalProperty#getDefaultValue <em>Default Value</em>}' attribute.
158 * <!-- begin-user-doc -->
159 * <!-- end-user-doc -->
160 * @param value the new value of the '<em>Default Value</em>' attribute.
161 * @see #getDefaultValue()
162 * @generated
163 */
164 void setDefaultValue(float value);
165
166 } // DecimalProperty