blob: 72f38c54c6f39fac305ab7f60698da1ad66c1fb7 [file] [log] [blame]
/**
* Copyright (c) 2020 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* E.D.Willink - Initial API and implementation
*/
package org.eclipse.ocl.examples.xtext.idioms;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EStructuralFeature;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Assignment Locator</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* An AssignmentLocator identifies an assignment around which a
* SubIdiom wraps appropriate spacing. A half-new line before and after
* an assignment usefully gives blank lines between similar 'paragraphs'
* without blank lines before or after.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.examples.xtext.idioms.AssignmentLocator#getEPackage <em>EPackage</em>}</li>
* <li>{@link org.eclipse.ocl.examples.xtext.idioms.AssignmentLocator#getEClass <em>EClass</em>}</li>
* <li>{@link org.eclipse.ocl.examples.xtext.idioms.AssignmentLocator#getEStructuralFeature <em>EStructural Feature</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.examples.xtext.idioms.IdiomsPackage#getAssignmentLocator()
* @model
* @generated
*/
public interface AssignmentLocator
extends Locator {
/**
* Returns the value of the '<em><b>EPackage</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>EPackage</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>EPackage</em>' reference.
* @see #setEPackage(EPackage)
* @see org.eclipse.ocl.examples.xtext.idioms.IdiomsPackage#getAssignmentLocator_EPackage()
* @model required="true"
* @generated
*/
EPackage getEPackage();
/**
* Sets the value of the '{@link org.eclipse.ocl.examples.xtext.idioms.AssignmentLocator#getEPackage <em>EPackage</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>EPackage</em>' reference.
* @see #getEPackage()
* @generated
*/
void setEPackage(EPackage value);
/**
* Returns the value of the '<em><b>EClass</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>EClass</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>EClass</em>' reference.
* @see #setEClass(EClass)
* @see org.eclipse.ocl.examples.xtext.idioms.IdiomsPackage#getAssignmentLocator_EClass()
* @model required="true"
* @generated
*/
EClass getEClass();
/**
* Sets the value of the '{@link org.eclipse.ocl.examples.xtext.idioms.AssignmentLocator#getEClass <em>EClass</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>EClass</em>' reference.
* @see #getEClass()
* @generated
*/
void setEClass(EClass value);
/**
* Returns the value of the '<em><b>EStructural Feature</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>EStructural Feature</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>EStructural Feature</em>' reference.
* @see #setEStructuralFeature(EStructuralFeature)
* @see org.eclipse.ocl.examples.xtext.idioms.IdiomsPackage#getAssignmentLocator_EStructuralFeature()
* @model required="true"
* @generated
*/
EStructuralFeature getEStructuralFeature();
/**
* Sets the value of the '{@link org.eclipse.ocl.examples.xtext.idioms.AssignmentLocator#getEStructuralFeature <em>EStructural Feature</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>EStructural Feature</em>' reference.
* @see #getEStructuralFeature()
* @generated
*/
void setEStructuralFeature(EStructuralFeature value);
} // AssignmentLocator