blob: 01362f2022f2a24dc340d87941076c89d76ea9ed [file] [log] [blame]
/**
* Copyright (c) 2016 Willink Transformations and others.
* 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:
* E.D.Willink - Initial API and implementation
*/
package org.eclipse.qvtd.umlx;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Rel Diagram</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.qvtd.umlx.RelDiagram#isIsAbstract <em>Is Abstract</em>}</li>
* <li>{@link org.eclipse.qvtd.umlx.RelDiagram#isIsTop <em>Is Top</em>}</li>
* <li>{@link org.eclipse.qvtd.umlx.RelDiagram#getOwnedRelDomainNodes <em>Owned Rel Domain Nodes</em>}</li>
* <li>{@link org.eclipse.qvtd.umlx.RelDiagram#getOwnedRelInvocationNodes <em>Owned Rel Invocation Nodes</em>}</li>
* <li>{@link org.eclipse.qvtd.umlx.RelDiagram#getOwningTxDiagram <em>Owning Tx Diagram</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.umlx.UMLXPackage#getRelDiagram()
* @generated
*/
public interface RelDiagram extends UMLXNamedElement {
/**
* Returns the value of the '<em><b>Is Abstract</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Abstract</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Is Abstract</em>' attribute.
* @see #setIsAbstract(boolean)
* @see org.eclipse.qvtd.umlx.UMLXPackage#getRelDiagram_IsAbstract()
* @generated
*/
boolean isIsAbstract();
/**
* Sets the value of the '{@link org.eclipse.qvtd.umlx.RelDiagram#isIsAbstract <em>Is Abstract</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Abstract</em>' attribute.
* @see #isIsAbstract()
* @generated
*/
void setIsAbstract(boolean value);
/**
* Returns the value of the '<em><b>Is Top</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Top</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Is Top</em>' attribute.
* @see #setIsTop(boolean)
* @see org.eclipse.qvtd.umlx.UMLXPackage#getRelDiagram_IsTop()
* @generated
*/
boolean isIsTop();
/**
* Sets the value of the '{@link org.eclipse.qvtd.umlx.RelDiagram#isIsTop <em>Is Top</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Top</em>' attribute.
* @see #isIsTop()
* @generated
*/
void setIsTop(boolean value);
/**
* Returns the value of the '<em><b>Owned Rel Domain Nodes</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.qvtd.umlx.RelDomainNode}.
* It is bidirectional and its opposite is '{@link org.eclipse.qvtd.umlx.RelDomainNode#getOwningRelDiagram <em>Owning Rel Diagram</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owned Rel Domain Nodes</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Owned Rel Domain Nodes</em>' containment reference list.
* @see org.eclipse.qvtd.umlx.UMLXPackage#getRelDiagram_OwnedRelDomainNodes()
* @see org.eclipse.qvtd.umlx.RelDomainNode#getOwningRelDiagram
* @generated
*/
EList<RelDomainNode> getOwnedRelDomainNodes();
/**
* Returns the value of the '<em><b>Owned Rel Invocation Nodes</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.qvtd.umlx.RelInvocationNode}.
* It is bidirectional and its opposite is '{@link org.eclipse.qvtd.umlx.RelInvocationNode#getOwningRelDiagram <em>Owning Rel Diagram</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owned Rel Invocation Nodes</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Owned Rel Invocation Nodes</em>' containment reference list.
* @see org.eclipse.qvtd.umlx.UMLXPackage#getRelDiagram_OwnedRelInvocationNodes()
* @see org.eclipse.qvtd.umlx.RelInvocationNode#getOwningRelDiagram
* @generated
*/
EList<RelInvocationNode> getOwnedRelInvocationNodes();
/**
* Returns the value of the '<em><b>Owning Tx Diagram</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.qvtd.umlx.TxDiagram#getOwnedRelDiagrams <em>Owned Rel Diagrams</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owning Tx Diagram</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Owning Tx Diagram</em>' container reference.
* @see #setOwningTxDiagram(TxDiagram)
* @see org.eclipse.qvtd.umlx.UMLXPackage#getRelDiagram_OwningTxDiagram()
* @see org.eclipse.qvtd.umlx.TxDiagram#getOwnedRelDiagrams
* @generated
*/
TxDiagram getOwningTxDiagram();
/**
* Sets the value of the '{@link org.eclipse.qvtd.umlx.RelDiagram#getOwningTxDiagram <em>Owning Tx Diagram</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Owning Tx Diagram</em>' container reference.
* @see #getOwningTxDiagram()
* @generated
*/
void setOwningTxDiagram(TxDiagram value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
boolean validateNameIsRequired(DiagnosticChain diagnostics, Map<Object, Object> context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
boolean validateRelPatternNodeNamesAreUnique(DiagnosticChain diagnostics, Map<Object, Object> context);
} // RelDiagram