001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id$
006: */package newprocess;
007:
008: import org.eclipse.emf.common.util.EList;
009: import org.eclipse.emf.ecore.EObject;
010:
011: /**
012: * <!-- begin-user-doc -->
013: * A representation of the model object '<em><b>Expression</b></em>'.
014: * <!-- end-user-doc -->
015: *
016: * <p>
017: * The following features are supported:
018: * <ul>
019: * <li>{@link newprocess.Expression#getExpression <em>Expression</em>}</li>
020: * <li>{@link newprocess.Expression#getHasTerms <em>Has Terms</em>}</li>
021: * <li>{@link newprocess.Expression#getHasRoot <em>Has Root</em>}</li>
022: * </ul>
023: * </p>
024: *
025: * @see newprocess.NewprocessPackage#getExpression()
026: * @model
027: * @generated
028: */
029: public interface Expression extends EObject {
030: public static final int DECORATION_NONE = 0;
031: public static final int DECORATION_SOURCE = 1;
032: public static final int DECORATION_TARGET = 2;
033:
034: /**
035: * Returns the value of the '<em><b>Expression</b></em>' attribute.
036: * <!-- begin-user-doc -->
037: * <p>
038: * If the meaning of the '<em>Expression</em>' attribute isn't clear,
039: * there really should be more of a description here...
040: * </p>
041: * <!-- end-user-doc -->
042: * @return the value of the '<em>Expression</em>' attribute.
043: * @see #setExpression(String)
044: * @see newprocess.NewprocessPackage#getExpression_Expression()
045: * @model
046: * @generated
047: */
048: String getExpression();
049:
050: /**
051: * Sets the value of the '{@link newprocess.Expression#getExpression <em>Expression</em>}' attribute.
052: * <!-- begin-user-doc -->
053: * <!-- end-user-doc -->
054: * @param value the new value of the '<em>Expression</em>' attribute.
055: * @see #getExpression()
056: * @generated
057: */
058: void setExpression(String value);
059:
060: /**
061: * Returns the value of the '<em><b>Has Terms</b></em>' containment reference list.
062: * The list contents are of type {@link newprocess.Term}.
063: * <!-- begin-user-doc -->
064: * <p>
065: * If the meaning of the '<em>Has Terms</em>' containment reference isn't clear,
066: * there really should be more of a description here...
067: * </p>
068: * <!-- end-user-doc -->
069: * @return the value of the '<em>Has Terms</em>' containment reference list.
070: * @see newprocess.NewprocessPackage#getExpression_HasTerms()
071: * @model type="newprocess.Term" containment="true"
072: * @generated
073: */
074: EList<Term> getHasTerms();
075:
076: /**
077: * Returns the value of the '<em><b>Has Root</b></em>' containment reference.
078: * <!-- begin-user-doc -->
079: * <p>
080: * If the meaning of the '<em>Has Root</em>' containment reference isn't clear,
081: * there really should be more of a description here...
082: * </p>
083: * <!-- end-user-doc -->
084: * @return the value of the '<em>Has Root</em>' containment reference.
085: * @see #setHasRoot(Root)
086: * @see newprocess.NewprocessPackage#getExpression_HasRoot()
087: * @model containment="true"
088: * @generated
089: */
090: Root getHasRoot();
091:
092: /**
093: * Sets the value of the '{@link newprocess.Expression#getHasRoot <em>Has Root</em>}' containment reference.
094: * <!-- begin-user-doc -->
095: * <!-- end-user-doc -->
096: * @param value the new value of the '<em>Has Root</em>' containment reference.
097: * @see #getHasRoot()
098: * @generated
099: */
100: void setHasRoot(Root value);
101:
102: /**
103: * <!-- begin-user-doc -->
104: * <!-- end-user-doc -->
105: * @model
106: * @generated
107: */
108: void updateExpression();
109:
110: /**
111: * <!-- begin-user-doc -->
112: * <!-- end-user-doc -->
113: * @model
114: * @generated
115: */
116: void updateName();
117:
118: /**
119: * <!-- begin-user-doc -->
120: * <!-- end-user-doc -->
121: * @model
122: * @generated
123: */
124: boolean acceptOperator();
125:
126: /**
127: * <!-- begin-user-doc -->
128: * <!-- end-user-doc -->
129: * @model
130: * @generated
131: */
132: int decorateLink();
133:
134: } // Expression
|