001 /**
002 * <copyright>
003 * </copyright>
004 *
005 * $Id$
006 */
007 package com.hammurapi.config;
008
009 import org.eclipse.emf.ecore.EObject;
010
011 /**
012 * <!-- begin-user-doc -->
013 * A representation of the model object '<em><b>Source</b></em>'.
014 * <!-- end-user-doc -->
015 *
016 * <!-- begin-model-doc -->
017 * For generated definitions, source(s) of data for generation to provide debugging information.
018 * <!-- end-model-doc -->
019 *
020 * <p>
021 * The following features are supported:
022 * <ul>
023 * <li>{@link com.hammurapi.config.Source#getType <em>Type</em>}</li>
024 * <li>{@link com.hammurapi.config.Source#getPath <em>Path</em>}</li>
025 * <li>{@link com.hammurapi.config.Source#getLine <em>Line</em>}</li>
026 * <li>{@link com.hammurapi.config.Source#getCol <em>Col</em>}</li>
027 * <li>{@link com.hammurapi.config.Source#getComment <em>Comment</em>}</li>
028 * </ul>
029 * </p>
030 *
031 * @see com.hammurapi.config.ConfigPackage#getSource()
032 * @model
033 * @generated
034 */
035 public interface Source extends EObject {
036 /**
037 * Returns the value of the '<em><b>Type</b></em>' attribute.
038 * <!-- begin-user-doc -->
039 * <!-- end-user-doc -->
040 * <!-- begin-model-doc -->
041 * Source type, e.g. rule-set, flow.
042 * <!-- end-model-doc -->
043 * @return the value of the '<em>Type</em>' attribute.
044 * @see #setType(String)
045 * @see com.hammurapi.config.ConfigPackage#getSource_Type()
046 * @model
047 * @generated
048 */
049 String getType();
050
051 /**
052 * Sets the value of the '{@link com.hammurapi.config.Source#getType <em>Type</em>}' attribute.
053 * <!-- begin-user-doc -->
054 * <!-- end-user-doc -->
055 * @param value the new value of the '<em>Type</em>' attribute.
056 * @see #getType()
057 * @generated
058 */
059 void setType(String value);
060
061 /**
062 * Returns the value of the '<em><b>Path</b></em>' attribute.
063 * <!-- begin-user-doc -->
064 * <!-- end-user-doc -->
065 * <!-- begin-model-doc -->
066 * Path to the source.
067 * <!-- end-model-doc -->
068 * @return the value of the '<em>Path</em>' attribute.
069 * @see #setPath(String)
070 * @see com.hammurapi.config.ConfigPackage#getSource_Path()
071 * @model
072 * @generated
073 */
074 String getPath();
075
076 /**
077 * Sets the value of the '{@link com.hammurapi.config.Source#getPath <em>Path</em>}' attribute.
078 * <!-- begin-user-doc -->
079 * <!-- end-user-doc -->
080 * @param value the new value of the '<em>Path</em>' attribute.
081 * @see #getPath()
082 * @generated
083 */
084 void setPath(String value);
085
086 /**
087 * Returns the value of the '<em><b>Line</b></em>' attribute.
088 * <!-- begin-user-doc -->
089 * <!-- end-user-doc -->
090 * <!-- begin-model-doc -->
091 * Line number if source is a text file.
092 * <!-- end-model-doc -->
093 * @return the value of the '<em>Line</em>' attribute.
094 * @see #setLine(int)
095 * @see com.hammurapi.config.ConfigPackage#getSource_Line()
096 * @model
097 * @generated
098 */
099 int getLine();
100
101 /**
102 * Sets the value of the '{@link com.hammurapi.config.Source#getLine <em>Line</em>}' attribute.
103 * <!-- begin-user-doc -->
104 * <!-- end-user-doc -->
105 * @param value the new value of the '<em>Line</em>' attribute.
106 * @see #getLine()
107 * @generated
108 */
109 void setLine(int value);
110
111 /**
112 * Returns the value of the '<em><b>Col</b></em>' attribute.
113 * <!-- begin-user-doc -->
114 * <!-- end-user-doc -->
115 * <!-- begin-model-doc -->
116 * Column number, if source is a text file.
117 * <!-- end-model-doc -->
118 * @return the value of the '<em>Col</em>' attribute.
119 * @see #setCol(int)
120 * @see com.hammurapi.config.ConfigPackage#getSource_Col()
121 * @model
122 * @generated
123 */
124 int getCol();
125
126 /**
127 * Sets the value of the '{@link com.hammurapi.config.Source#getCol <em>Col</em>}' attribute.
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @param value the new value of the '<em>Col</em>' attribute.
131 * @see #getCol()
132 * @generated
133 */
134 void setCol(int value);
135
136 /**
137 * Returns the value of the '<em><b>Comment</b></em>' attribute.
138 * <!-- begin-user-doc -->
139 * <!-- end-user-doc -->
140 * <!-- begin-model-doc -->
141 * Comment.
142 * <!-- end-model-doc -->
143 * @return the value of the '<em>Comment</em>' attribute.
144 * @see #setComment(String)
145 * @see com.hammurapi.config.ConfigPackage#getSource_Comment()
146 * @model
147 * @generated
148 */
149 String getComment();
150
151 /**
152 * Sets the value of the '{@link com.hammurapi.config.Source#getComment <em>Comment</em>}' attribute.
153 * <!-- begin-user-doc -->
154 * <!-- end-user-doc -->
155 * @param value the new value of the '<em>Comment</em>' attribute.
156 * @see #getComment()
157 * @generated
158 */
159 void setComment(String value);
160
161 } // Source