blob: d5c2a6ada119176dd6372508d257e882ecad36ea [file] [log] [blame]
/**
* * Copyright (c) 2006-2010 Istvan Rath and Daniel Varro
* * All rights reserved. This program and the accompanying materials
* * are made available under the terms of the Eclipse Public License v1.0
* * which accompanies this distribution, and is available at
* * http://www.eclipse.org/legal/epl-v10.html
* *
* * Contributors:
* * Istvan Rath, Daniel Varro - initial API and implementation
*
*/
package org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.deletion;
import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.enums.DeleteSemantics;
import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.simpleRules.ModelManipulationRule;
import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.terms.Term;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element Delete Rule</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.deletion.ElementDeleteRule#getElement <em>Element</em>}</li>
* <li>{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.deletion.ElementDeleteRule#getSemantics <em>Semantics</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.deletion.DeletionPackage#getElementDeleteRule()
* @model
* @generated
*/
public interface ElementDeleteRule extends ModelManipulationRule
{
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = " * Copyright (c) 2006-2010 Istvan Rath and Daniel Varro\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http://www.eclipse.org/legal/epl-v10.html\r\n *\r\n * Contributors:\r\n * Istvan Rath, Daniel Varro - initial API and implementation\r\n";
/**
* Returns the value of the '<em><b>Element</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Element</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Element</em>' containment reference.
* @see #setElement(Term)
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.deletion.DeletionPackage#getElementDeleteRule_Element()
* @model containment="true" required="true" ordered="false"
* @generated
*/
Term getElement();
/**
* Sets the value of the '{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.deletion.ElementDeleteRule#getElement <em>Element</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Element</em>' containment reference.
* @see #getElement()
* @generated
*/
void setElement(Term value);
/**
* Returns the value of the '<em><b>Semantics</b></em>' attribute.
* The default value is <code>"dropContent"</code>.
* The literals are from the enumeration {@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.enums.DeleteSemantics}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Semantics</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Semantics</em>' attribute.
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.enums.DeleteSemantics
* @see #setSemantics(DeleteSemantics)
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.deletion.DeletionPackage#getElementDeleteRule_Semantics()
* @model default="dropContent" required="true" ordered="false"
* @generated
*/
DeleteSemantics getSemantics();
/**
* Sets the value of the '{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.deletion.ElementDeleteRule#getSemantics <em>Semantics</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Semantics</em>' attribute.
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.enums.DeleteSemantics
* @see #getSemantics()
* @generated
*/
void setSemantics(DeleteSemantics value);
} // ElementDeleteRule