View Javadoc

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>Property</b></em>'.
13   * <!-- end-user-doc -->
14   *
15   * <p>
16   * The following features are supported:
17   * <ul>
18   *   <li>{@link BusinessDomainDsl.Property#getDataType <em>Data Type</em>}</li>
19   *   <li>{@link BusinessDomainDsl.Property#isNullable <em>Nullable</em>}</li>
20   *   <li>{@link BusinessDomainDsl.Property#isDerived <em>Derived</em>}</li>
21   *   <li>{@link BusinessDomainDsl.Property#isWritable <em>Writable</em>}</li>
22   *   <li>{@link BusinessDomainDsl.Property#getPersistency <em>Persistency</em>}</li>
23   *   <li>{@link BusinessDomainDsl.Property#isHasDefault <em>Has Default</em>}</li>
24   *   <li>{@link BusinessDomainDsl.Property#getOwningType <em>Owning Type</em>}</li>
25   * </ul>
26   * </p>
27   *
28   * @see BusinessDomainDsl.BusinessDomainDslPackage#getProperty()
29   * @model
30   * @generated
31   */
32  public interface Property extends ModelElement {
33  	/**
34       * Returns the value of the '<em><b>Data Type</b></em>' attribute.
35       * <!-- begin-user-doc -->
36  	 * <p>
37  	 * If the meaning of the '<em>Data Type</em>' attribute isn't clear,
38  	 * there really should be more of a description here...
39  	 * </p>
40  	 * <!-- end-user-doc -->
41       * @return the value of the '<em>Data Type</em>' attribute.
42       * @see #setDataType(String)
43       * @see BusinessDomainDsl.BusinessDomainDslPackage#getProperty_DataType()
44       * @model
45       * @generated
46       */
47  	String getDataType();
48  
49  	/**
50       * Sets the value of the '{@link BusinessDomainDsl.Property#getDataType <em>Data Type</em>}' attribute.
51       * <!-- begin-user-doc -->
52  	 * <!-- end-user-doc -->
53       * @param value the new value of the '<em>Data Type</em>' attribute.
54       * @see #getDataType()
55       * @generated
56       */
57  	void setDataType(String value);
58  
59  	/**
60       * Returns the value of the '<em><b>Nullable</b></em>' attribute.
61       * <!-- begin-user-doc -->
62  	 * <p>
63  	 * If the meaning of the '<em>Nullable</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>Nullable</em>' attribute.
68       * @see #setNullable(boolean)
69       * @see BusinessDomainDsl.BusinessDomainDslPackage#getProperty_Nullable()
70       * @model
71       * @generated
72       */
73  	boolean isNullable();
74  
75  	/**
76       * Sets the value of the '{@link BusinessDomainDsl.Property#isNullable <em>Nullable</em>}' attribute.
77       * <!-- begin-user-doc -->
78  	 * <!-- end-user-doc -->
79       * @param value the new value of the '<em>Nullable</em>' attribute.
80       * @see #isNullable()
81       * @generated
82       */
83  	void setNullable(boolean value);
84  
85  	/**
86       * Returns the value of the '<em><b>Derived</b></em>' attribute.
87       * The default value is <code>"false"</code>.
88       * <!-- begin-user-doc -->
89       * <p>
90       * If the meaning of the '<em>Derived</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>Derived</em>' attribute.
95       * @see #setDerived(boolean)
96       * @see BusinessDomainDsl.BusinessDomainDslPackage#getProperty_Derived()
97       * @model default="false"
98       * @generated
99       */
100     boolean isDerived();
101 
102     /**
103      * Sets the value of the '{@link BusinessDomainDsl.Property#isDerived <em>Derived</em>}' attribute.
104      * <!-- begin-user-doc -->
105      * <!-- end-user-doc -->
106      * @param value the new value of the '<em>Derived</em>' attribute.
107      * @see #isDerived()
108      * @generated
109      */
110     void setDerived(boolean value);
111 
112     /**
113      * Returns the value of the '<em><b>Writable</b></em>' attribute.
114      * The default value is <code>"false"</code>.
115      * <!-- begin-user-doc -->
116 	 * <p>
117 	 * If the meaning of the '<em>Writable</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>Writable</em>' attribute.
122      * @see #setWritable(boolean)
123      * @see BusinessDomainDsl.BusinessDomainDslPackage#getProperty_Writable()
124      * @model default="false"
125      * @generated
126      */
127 	boolean isWritable();
128 
129 				/**
130      * Sets the value of the '{@link BusinessDomainDsl.Property#isWritable <em>Writable</em>}' attribute.
131      * <!-- begin-user-doc -->
132 	 * <!-- end-user-doc -->
133      * @param value the new value of the '<em>Writable</em>' attribute.
134      * @see #isWritable()
135      * @generated
136      */
137 	void setWritable(boolean value);
138 
139 				/**
140      * Returns the value of the '<em><b>Persistency</b></em>' attribute.
141      * The default value is <code>"ReadWrite"</code>.
142      * The literals are from the enumeration {@link BusinessDomainDsl.PersistencyMode}.
143      * <!-- begin-user-doc -->
144 	 * <p>
145 	 * If the meaning of the '<em>Persistency</em>' attribute isn't clear,
146 	 * there really should be more of a description here...
147 	 * </p>
148 	 * <!-- end-user-doc -->
149      * @return the value of the '<em>Persistency</em>' attribute.
150      * @see BusinessDomainDsl.PersistencyMode
151      * @see #setPersistency(PersistencyMode)
152      * @see BusinessDomainDsl.BusinessDomainDslPackage#getProperty_Persistency()
153      * @model default="ReadWrite"
154      * @generated
155      */
156 	PersistencyMode getPersistency();
157 
158 	/**
159      * Sets the value of the '{@link BusinessDomainDsl.Property#getPersistency <em>Persistency</em>}' attribute.
160      * <!-- begin-user-doc -->
161 	 * <!-- end-user-doc -->
162      * @param value the new value of the '<em>Persistency</em>' attribute.
163      * @see BusinessDomainDsl.PersistencyMode
164      * @see #getPersistency()
165      * @generated
166      */
167 	void setPersistency(PersistencyMode value);
168 
169 	/**
170      * Returns the value of the '<em><b>Has Default</b></em>' attribute.
171      * The default value is <code>"false"</code>.
172      * <!-- begin-user-doc -->
173 	 * <p>
174 	 * If the meaning of the '<em>Has Default</em>' attribute isn't clear,
175 	 * there really should be more of a description here...
176 	 * </p>
177 	 * <!-- end-user-doc -->
178      * @return the value of the '<em>Has Default</em>' attribute.
179      * @see #setHasDefault(boolean)
180      * @see BusinessDomainDsl.BusinessDomainDslPackage#getProperty_HasDefault()
181      * @model default="false"
182      * @generated
183      */
184 	boolean isHasDefault();
185 
186 	/**
187      * Sets the value of the '{@link BusinessDomainDsl.Property#isHasDefault <em>Has Default</em>}' attribute.
188      * <!-- begin-user-doc -->
189 	 * <!-- end-user-doc -->
190      * @param value the new value of the '<em>Has Default</em>' attribute.
191      * @see #isHasDefault()
192      * @generated
193      */
194 	void setHasDefault(boolean value);
195 
196 	/**
197      * Returns the value of the '<em><b>Owning Type</b></em>' container reference.
198      * It is bidirectional and its opposite is '{@link BusinessDomainDsl.AbstractType#getProperties <em>Properties</em>}'.
199      * <!-- begin-user-doc -->
200 	 * <p>
201 	 * If the meaning of the '<em>Owning Type</em>' container reference isn't clear,
202 	 * there really should be more of a description here...
203 	 * </p>
204 	 * <!-- end-user-doc -->
205      * @return the value of the '<em>Owning Type</em>' container reference.
206      * @see #setOwningType(AbstractType)
207      * @see BusinessDomainDsl.BusinessDomainDslPackage#getProperty_OwningType()
208      * @see BusinessDomainDsl.AbstractType#getProperties
209      * @model opposite="properties" transient="false"
210      * @generated
211      */
212 	AbstractType getOwningType();
213 
214 	/**
215      * Sets the value of the '{@link BusinessDomainDsl.Property#getOwningType <em>Owning Type</em>}' container reference.
216      * <!-- begin-user-doc -->
217 	 * <!-- end-user-doc -->
218      * @param value the new value of the '<em>Owning Type</em>' container reference.
219      * @see #getOwningType()
220      * @generated
221      */
222 	void setOwningType(AbstractType value);
223 
224 } // Property