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>String Property</b></em>'.
13   * <!-- end-user-doc -->
14   *
15   * <p>
16   * The following features are supported:
17   * <ul>
18   *   <li>{@link BusinessDomainDsl.StringProperty#getRegularExpression <em>Regular Expression</em>}</li>
19   *   <li>{@link BusinessDomainDsl.StringProperty#getMinLength <em>Min Length</em>}</li>
20   *   <li>{@link BusinessDomainDsl.StringProperty#getMaxLength <em>Max Length</em>}</li>
21   *   <li>{@link BusinessDomainDsl.StringProperty#getDefaultValue <em>Default Value</em>}</li>
22   * </ul>
23   * </p>
24   *
25   * @see BusinessDomainDsl.BusinessDomainDslPackage#getStringProperty()
26   * @model
27   * @generated
28   */
29  public interface StringProperty extends Property {
30  	/**
31       * Returns the value of the '<em><b>Regular Expression</b></em>' attribute.
32       * <!-- begin-user-doc -->
33  	 * <p>
34  	 * If the meaning of the '<em>Regular Expression</em>' attribute isn't clear,
35  	 * there really should be more of a description here...
36  	 * </p>
37  	 * <!-- end-user-doc -->
38       * @return the value of the '<em>Regular Expression</em>' attribute.
39       * @see #setRegularExpression(String)
40       * @see BusinessDomainDsl.BusinessDomainDslPackage#getStringProperty_RegularExpression()
41       * @model
42       * @generated
43       */
44  	String getRegularExpression();
45  
46  	/**
47       * Sets the value of the '{@link BusinessDomainDsl.StringProperty#getRegularExpression <em>Regular Expression</em>}' attribute.
48       * <!-- begin-user-doc -->
49  	 * <!-- end-user-doc -->
50       * @param value the new value of the '<em>Regular Expression</em>' attribute.
51       * @see #getRegularExpression()
52       * @generated
53       */
54  	void setRegularExpression(String value);
55  
56  	/**
57       * Returns the value of the '<em><b>Min Length</b></em>' attribute.
58       * The default value is <code>"-1"</code>.
59       * <!-- begin-user-doc -->
60  	 * <p>
61  	 * If the meaning of the '<em>Min Length</em>' attribute isn't clear,
62  	 * there really should be more of a description here...
63  	 * </p>
64  	 * <!-- end-user-doc -->
65       * @return the value of the '<em>Min Length</em>' attribute.
66       * @see #setMinLength(int)
67       * @see BusinessDomainDsl.BusinessDomainDslPackage#getStringProperty_MinLength()
68       * @model default="-1"
69       * @generated
70       */
71  	int getMinLength();
72  
73  	/**
74       * Sets the value of the '{@link BusinessDomainDsl.StringProperty#getMinLength <em>Min Length</em>}' attribute.
75       * <!-- begin-user-doc -->
76  	 * <!-- end-user-doc -->
77       * @param value the new value of the '<em>Min Length</em>' attribute.
78       * @see #getMinLength()
79       * @generated
80       */
81  	void setMinLength(int value);
82  
83  	/**
84       * Returns the value of the '<em><b>Max Length</b></em>' attribute.
85       * The default value is <code>"-1"</code>.
86       * <!-- begin-user-doc -->
87  	 * <p>
88  	 * If the meaning of the '<em>Max Length</em>' attribute isn't clear,
89  	 * there really should be more of a description here...
90  	 * </p>
91  	 * <!-- end-user-doc -->
92       * @return the value of the '<em>Max Length</em>' attribute.
93       * @see #setMaxLength(int)
94       * @see BusinessDomainDsl.BusinessDomainDslPackage#getStringProperty_MaxLength()
95       * @model default="-1"
96       * @generated
97       */
98  	int getMaxLength();
99  
100 	/**
101      * Sets the value of the '{@link BusinessDomainDsl.StringProperty#getMaxLength <em>Max Length</em>}' attribute.
102      * <!-- begin-user-doc -->
103 	 * <!-- end-user-doc -->
104      * @param value the new value of the '<em>Max Length</em>' attribute.
105      * @see #getMaxLength()
106      * @generated
107      */
108 	void setMaxLength(int value);
109 
110 	/**
111      * Returns the value of the '<em><b>Default Value</b></em>' attribute.
112      * <!-- begin-user-doc -->
113 	 * <p>
114 	 * If the meaning of the '<em>Default Value</em>' attribute isn't clear,
115 	 * there really should be more of a description here...
116 	 * </p>
117 	 * <!-- end-user-doc -->
118      * @return the value of the '<em>Default Value</em>' attribute.
119      * @see #setDefaultValue(String)
120      * @see BusinessDomainDsl.BusinessDomainDslPackage#getStringProperty_DefaultValue()
121      * @model
122      * @generated
123      */
124 	String getDefaultValue();
125 
126 	/**
127      * Sets the value of the '{@link BusinessDomainDsl.StringProperty#getDefaultValue <em>Default Value</em>}' attribute.
128      * <!-- begin-user-doc -->
129 	 * <!-- end-user-doc -->
130      * @param value the new value of the '<em>Default Value</em>' attribute.
131      * @see #getDefaultValue()
132      * @generated
133      */
134 	void setDefaultValue(String value);
135 
136 } // StringProperty