001 /**
002 * <copyright>
003 * </copyright>
004 *
005 * $Id$
006 */
007 package com.hammurapi.review;
008
009 import org.eclipse.emf.common.util.EList;
010 import com.hammurapi.config.NamedObjectDefinition;
011
012 /**
013 * <!-- begin-user-doc -->
014 * A representation of the model object '<em><b>Inspector</b></em>'.
015 * <!-- end-user-doc -->
016 *
017 * <p>
018 * The following features are supported:
019 * <ul>
020 * <li>{@link com.hammurapi.review.Inspector#getCategory <em>Category</em>}</li>
021 * <li>{@link com.hammurapi.review.Inspector#getUid <em>Uid</em>}</li>
022 * <li>{@link com.hammurapi.review.Inspector#getSeverity <em>Severity</em>}</li>
023 * <li>{@link com.hammurapi.review.Inspector#getMessageTemplate <em>Message Template</em>}</li>
024 * <li>{@link com.hammurapi.review.Inspector#getInspectorSet <em>Inspector Set</em>}</li>
025 * <li>{@link com.hammurapi.review.Inspector#getOutboundRelationships <em>Outbound Relationships</em>}</li>
026 * <li>{@link com.hammurapi.review.Inspector#getInboundRelationships <em>Inbound Relationships</em>}</li>
027 * </ul>
028 * </p>
029 *
030 * @see com.hammurapi.review.ReviewPackage#getInspector()
031 * @model
032 * @generated
033 */
034 public interface Inspector extends Governor {
035 /**
036 * Returns the value of the '<em><b>Category</b></em>' reference.
037 * It is bidirectional and its opposite is '{@link com.hammurapi.review.InspectorCategory#getInspectors <em>Inspectors</em>}'.
038 * <!-- begin-user-doc -->
039 * <!-- end-user-doc -->
040 * <!-- begin-model-doc -->
041 * Inspector may belong to zero or one category.
042 * <!-- end-model-doc -->
043 * @return the value of the '<em>Category</em>' reference.
044 * @see #setCategory(InspectorCategory)
045 * @see com.hammurapi.review.ReviewPackage#getInspector_Category()
046 * @see com.hammurapi.review.InspectorCategory#getInspectors
047 * @model opposite="inspectors"
048 * @generated
049 */
050 InspectorCategory getCategory();
051
052 /**
053 * Sets the value of the '{@link com.hammurapi.review.Inspector#getCategory <em>Category</em>}' reference.
054 * <!-- begin-user-doc -->
055 * <!-- end-user-doc -->
056 * @param value the new value of the '<em>Category</em>' reference.
057 * @see #getCategory()
058 * @generated
059 */
060 void setCategory(InspectorCategory value);
061
062 /**
063 * Returns the value of the '<em><b>Uid</b></em>' attribute.
064 * <!-- begin-user-doc -->
065 * <!-- end-user-doc -->
066 * <!-- begin-model-doc -->
067 * Unique inspector ID.
068 * <!-- end-model-doc -->
069 * @return the value of the '<em>Uid</em>' attribute.
070 * @see #setUid(String)
071 * @see com.hammurapi.review.ReviewPackage#getInspector_Uid()
072 * @model id="true" required="true"
073 * @generated
074 */
075 String getUid();
076
077 /**
078 * Sets the value of the '{@link com.hammurapi.review.Inspector#getUid <em>Uid</em>}' attribute.
079 * <!-- begin-user-doc -->
080 * <!-- end-user-doc -->
081 * @param value the new value of the '<em>Uid</em>' attribute.
082 * @see #getUid()
083 * @generated
084 */
085 void setUid(String value);
086
087 /**
088 * Returns the value of the '<em><b>Severity</b></em>' attribute.
089 * <!-- begin-user-doc -->
090 * <p>
091 * If the meaning of the '<em>Severity</em>' attribute isn't clear,
092 * there really should be more of a description here...
093 * </p>
094 * <!-- end-user-doc -->
095 * @return the value of the '<em>Severity</em>' attribute.
096 * @see #setSeverity(Integer)
097 * @see com.hammurapi.review.ReviewPackage#getInspector_Severity()
098 * @model
099 * @generated
100 */
101 Integer getSeverity();
102
103 /**
104 * Sets the value of the '{@link com.hammurapi.review.Inspector#getSeverity <em>Severity</em>}' attribute.
105 * <!-- begin-user-doc -->
106 * <!-- end-user-doc -->
107 * @param value the new value of the '<em>Severity</em>' attribute.
108 * @see #getSeverity()
109 * @generated
110 */
111 void setSeverity(Integer value);
112
113 /**
114 * Returns the value of the '<em><b>Message Template</b></em>' attribute.
115 * <!-- begin-user-doc -->
116 * <p>
117 * If the meaning of the '<em>Message Template</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>Message Template</em>' attribute.
122 * @see #setMessageTemplate(String)
123 * @see com.hammurapi.review.ReviewPackage#getInspector_MessageTemplate()
124 * @model
125 * @generated
126 */
127 String getMessageTemplate();
128
129 /**
130 * Sets the value of the '{@link com.hammurapi.review.Inspector#getMessageTemplate <em>Message Template</em>}' attribute.
131 * <!-- begin-user-doc -->
132 * <!-- end-user-doc -->
133 * @param value the new value of the '<em>Message Template</em>' attribute.
134 * @see #getMessageTemplate()
135 * @generated
136 */
137 void setMessageTemplate(String value);
138
139 /**
140 * Returns the value of the '<em><b>Inspector Set</b></em>' container reference.
141 * It is bidirectional and its opposite is '{@link com.hammurapi.review.InspectorSet#getInspectors <em>Inspectors</em>}'.
142 * <!-- begin-user-doc -->
143 * <p>
144 * If the meaning of the '<em>Inspector Set</em>' container reference 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>Inspector Set</em>' container reference.
149 * @see #setInspectorSet(InspectorSet)
150 * @see com.hammurapi.review.ReviewPackage#getInspector_InspectorSet()
151 * @see com.hammurapi.review.InspectorSet#getInspectors
152 * @model opposite="inspectors" transient="false"
153 * @generated
154 */
155 InspectorSet getInspectorSet();
156
157 /**
158 * Sets the value of the '{@link com.hammurapi.review.Inspector#getInspectorSet <em>Inspector Set</em>}' container reference.
159 * <!-- begin-user-doc -->
160 * <!-- end-user-doc -->
161 * @param value the new value of the '<em>Inspector Set</em>' container reference.
162 * @see #getInspectorSet()
163 * @generated
164 */
165 void setInspectorSet(InspectorSet value);
166
167 /**
168 * Returns the value of the '<em><b>Outbound Relationships</b></em>' containment reference list.
169 * The list contents are of type {@link com.hammurapi.review.InspectorRelationship}.
170 * It is bidirectional and its opposite is '{@link com.hammurapi.review.InspectorRelationship#getSource <em>Source</em>}'.
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * <!-- begin-model-doc -->
174 * Inspector can have zero or more relationships with other inspectors.
175 * <!-- end-model-doc -->
176 * @return the value of the '<em>Outbound Relationships</em>' containment reference list.
177 * @see com.hammurapi.review.ReviewPackage#getInspector_OutboundRelationships()
178 * @see com.hammurapi.review.InspectorRelationship#getSource
179 * @model opposite="source" containment="true"
180 * @generated
181 */
182 EList<InspectorRelationship> getOutboundRelationships();
183
184 /**
185 * Returns the value of the '<em><b>Inbound Relationships</b></em>' reference list.
186 * The list contents are of type {@link com.hammurapi.review.InspectorRelationship}.
187 * It is bidirectional and its opposite is '{@link com.hammurapi.review.InspectorRelationship#getTarget <em>Target</em>}'.
188 * <!-- begin-user-doc -->
189 * <p>
190 * If the meaning of the '<em>Inbound Relationships</em>' reference list isn't clear,
191 * there really should be more of a description here...
192 * </p>
193 * <!-- end-user-doc -->
194 * @return the value of the '<em>Inbound Relationships</em>' reference list.
195 * @see com.hammurapi.review.ReviewPackage#getInspector_InboundRelationships()
196 * @see com.hammurapi.review.InspectorRelationship#getTarget
197 * @model opposite="target"
198 * @generated
199 */
200 EList<InspectorRelationship> getInboundRelationships();
201
202 } // Inspector