001/**
002 */
003package org.nasdanika.html.model.bootstrap;
004
005import org.eclipse.emf.ecore.EObject;
006import org.nasdanika.html.bootstrap.Breakpoint;
007import org.nasdanika.html.bootstrap.Size;
008
009/**
010 * <!-- begin-user-doc -->
011 * A representation of the model object '<em><b>Spacing</b></em>'.
012 * <!-- end-user-doc -->
013 *
014 * <!-- begin-model-doc -->
015 * Spacing - padding or margin. Specifies size, location, and breakpoint.
016 * <!-- end-model-doc -->
017 *
018 * <p>
019 * The following features are supported:
020 * </p>
021 * <ul>
022 *   <li>{@link org.nasdanika.html.model.bootstrap.Spacing#getSize <em>Size</em>}</li>
023 *   <li>{@link org.nasdanika.html.model.bootstrap.Spacing#getBreakpoint <em>Breakpoint</em>}</li>
024 *   <li>{@link org.nasdanika.html.model.bootstrap.Spacing#isTop <em>Top</em>}</li>
025 *   <li>{@link org.nasdanika.html.model.bootstrap.Spacing#isBottom <em>Bottom</em>}</li>
026 *   <li>{@link org.nasdanika.html.model.bootstrap.Spacing#isLeft <em>Left</em>}</li>
027 *   <li>{@link org.nasdanika.html.model.bootstrap.Spacing#isRight <em>Right</em>}</li>
028 *   <li>{@link org.nasdanika.html.model.bootstrap.Spacing#isX <em>X</em>}</li>
029 *   <li>{@link org.nasdanika.html.model.bootstrap.Spacing#isY <em>Y</em>}</li>
030 * </ul>
031 *
032 * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getSpacing()
033 * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='size breakpoint'"
034 * @generated
035 */
036public interface Spacing extends EObject {
037        /**
038         * Returns the value of the '<em><b>Size</b></em>' attribute.
039         * <!-- begin-user-doc -->
040         * <!-- end-user-doc -->
041         * <!-- begin-model-doc -->
042         * Spacing size - from 0 to 5 or auto.
043         * <!-- end-model-doc -->
044         * @return the value of the '<em>Size</em>' attribute.
045         * @see #setSize(Size)
046         * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getSpacing_Size()
047         * @model dataType="org.nasdanika.html.model.bootstrap.Size" required="true"
048         *        annotation="urn:org.nasdanika default-feature='true'"
049         * @generated
050         */
051        Size getSize();
052
053        /**
054         * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Spacing#getSize <em>Size</em>}' attribute.
055         * <!-- begin-user-doc -->
056         * <!-- end-user-doc -->
057         * @param value the new value of the '<em>Size</em>' attribute.
058         * @see #getSize()
059         * @generated
060         */
061        void setSize(Size value);
062
063        /**
064         * Returns the value of the '<em><b>Breakpoint</b></em>' attribute.
065         * <!-- begin-user-doc -->
066         * <!-- end-user-doc -->
067         * <!-- begin-model-doc -->
068         * Spacing breakpoint.
069         * <!-- end-model-doc -->
070         * @return the value of the '<em>Breakpoint</em>' attribute.
071         * @see #setBreakpoint(Breakpoint)
072         * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getSpacing_Breakpoint()
073         * @model dataType="org.nasdanika.html.model.bootstrap.Breakpoint"
074         * @generated
075         */
076        Breakpoint getBreakpoint();
077
078        /**
079         * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Spacing#getBreakpoint <em>Breakpoint</em>}' attribute.
080         * <!-- begin-user-doc -->
081         * <!-- end-user-doc -->
082         * @param value the new value of the '<em>Breakpoint</em>' attribute.
083         * @see #getBreakpoint()
084         * @generated
085         */
086        void setBreakpoint(Breakpoint value);
087
088        /**
089         * Returns the value of the '<em><b>Top</b></em>' attribute.
090         * The default value is <code>"false"</code>.
091         * <!-- begin-user-doc -->
092         * <!-- end-user-doc -->
093         * <!-- begin-model-doc -->
094         * Top spacing.
095         * <!-- end-model-doc -->
096         * @return the value of the '<em>Top</em>' attribute.
097         * @see #setTop(boolean)
098         * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getSpacing_Top()
099         * @model default="false"
100         * @generated
101         */
102        boolean isTop();
103
104        /**
105         * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Spacing#isTop <em>Top</em>}' attribute.
106         * <!-- begin-user-doc -->
107         * <!-- end-user-doc -->
108         * @param value the new value of the '<em>Top</em>' attribute.
109         * @see #isTop()
110         * @generated
111         */
112        void setTop(boolean value);
113
114        /**
115         * Returns the value of the '<em><b>Bottom</b></em>' attribute.
116         * The default value is <code>"false"</code>.
117         * <!-- begin-user-doc -->
118         * <!-- end-user-doc -->
119         * <!-- begin-model-doc -->
120         * Bottom spacing.
121         * <!-- end-model-doc -->
122         * @return the value of the '<em>Bottom</em>' attribute.
123         * @see #setBottom(boolean)
124         * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getSpacing_Bottom()
125         * @model default="false"
126         * @generated
127         */
128        boolean isBottom();
129
130        /**
131         * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Spacing#isBottom <em>Bottom</em>}' attribute.
132         * <!-- begin-user-doc -->
133         * <!-- end-user-doc -->
134         * @param value the new value of the '<em>Bottom</em>' attribute.
135         * @see #isBottom()
136         * @generated
137         */
138        void setBottom(boolean value);
139
140        /**
141         * Returns the value of the '<em><b>Left</b></em>' attribute.
142         * The default value is <code>"false"</code>.
143         * <!-- begin-user-doc -->
144         * <!-- end-user-doc -->
145         * <!-- begin-model-doc -->
146         * Left spacing.
147         * <!-- end-model-doc -->
148         * @return the value of the '<em>Left</em>' attribute.
149         * @see #setLeft(boolean)
150         * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getSpacing_Left()
151         * @model default="false"
152         * @generated
153         */
154        boolean isLeft();
155
156        /**
157         * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Spacing#isLeft <em>Left</em>}' attribute.
158         * <!-- begin-user-doc -->
159         * <!-- end-user-doc -->
160         * @param value the new value of the '<em>Left</em>' attribute.
161         * @see #isLeft()
162         * @generated
163         */
164        void setLeft(boolean value);
165
166        /**
167         * Returns the value of the '<em><b>Right</b></em>' attribute.
168         * The default value is <code>"false"</code>.
169         * <!-- begin-user-doc -->
170         * <!-- end-user-doc -->
171         * <!-- begin-model-doc -->
172         * Righ spacing.
173         * <!-- end-model-doc -->
174         * @return the value of the '<em>Right</em>' attribute.
175         * @see #setRight(boolean)
176         * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getSpacing_Right()
177         * @model default="false"
178         * @generated
179         */
180        boolean isRight();
181
182        /**
183         * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Spacing#isRight <em>Right</em>}' attribute.
184         * <!-- begin-user-doc -->
185         * <!-- end-user-doc -->
186         * @param value the new value of the '<em>Right</em>' attribute.
187         * @see #isRight()
188         * @generated
189         */
190        void setRight(boolean value);
191
192        /**
193         * Returns the value of the '<em><b>X</b></em>' attribute.
194         * The default value is <code>"false"</code>.
195         * <!-- begin-user-doc -->
196         * <!-- end-user-doc -->
197         * <!-- begin-model-doc -->
198         * Horizontal spacing.
199         * <!-- end-model-doc -->
200         * @return the value of the '<em>X</em>' attribute.
201         * @see #setX(boolean)
202         * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getSpacing_X()
203         * @model default="false"
204         * @generated
205         */
206        boolean isX();
207
208        /**
209         * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Spacing#isX <em>X</em>}' attribute.
210         * <!-- begin-user-doc -->
211         * <!-- end-user-doc -->
212         * @param value the new value of the '<em>X</em>' attribute.
213         * @see #isX()
214         * @generated
215         */
216        void setX(boolean value);
217
218        /**
219         * Returns the value of the '<em><b>Y</b></em>' attribute.
220         * The default value is <code>"false"</code>.
221         * <!-- begin-user-doc -->
222         * <!-- end-user-doc -->
223         * <!-- begin-model-doc -->
224         * Vertical spacing.
225         * <!-- end-model-doc -->
226         * @return the value of the '<em>Y</em>' attribute.
227         * @see #setY(boolean)
228         * @see org.nasdanika.html.model.bootstrap.BootstrapPackage#getSpacing_Y()
229         * @model default="false"
230         * @generated
231         */
232        boolean isY();
233
234        /**
235         * Sets the value of the '{@link org.nasdanika.html.model.bootstrap.Spacing#isY <em>Y</em>}' attribute.
236         * <!-- begin-user-doc -->
237         * <!-- end-user-doc -->
238         * @param value the new value of the '<em>Y</em>' attribute.
239         * @see #isY()
240         * @generated
241         */
242        void setY(boolean value);
243
244} // Spacing