/******************************************************************************* * Copyright (c) 2013 CEA LIST 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 (CEA LIST) - initial API and implementation *******************************************************************************/ package org.eclipse.ocl.examples.emf.validation.validity; import org.eclipse.emf.common.util.EList; import org.eclipse.jdt.annotation.NonNull; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>ConstrainingNode</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.eclipse.ocl.examples.emf.validation.validity.ConstrainingNode#getParent <em>Parent</em>}</li> * <li>{@link org.eclipse.ocl.examples.emf.validation.validity.ConstrainingNode#getChildren <em>Children</em>}</li> * <li>{@link org.eclipse.ocl.examples.emf.validation.validity.ConstrainingNode#getConstrainingObject <em>Constraining Object</em>}</li> * </ul> * * @see org.eclipse.ocl.examples.emf.validation.validity.ValidityPackage#getConstrainingNode() * @model * @generated */ public interface ConstrainingNode extends AbstractNode { /** * Returns the value of the '<em><b>Parent</b></em>' container reference. * It is bidirectional and its opposite is '{@link org.eclipse.ocl.examples.emf.validation.validity.ConstrainingNode#getChildren <em>Children</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Parent</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>Parent</em>' container reference. * @see #setParent(ConstrainingNode) * @see org.eclipse.ocl.examples.emf.validation.validity.ValidityPackage#getConstrainingNode_Parent() * @see org.eclipse.ocl.examples.emf.validation.validity.ConstrainingNode#getChildren * @model opposite="children" transient="false" * @generated */ ConstrainingNode getParent(); /** * Sets the value of the '{@link org.eclipse.ocl.examples.emf.validation.validity.ConstrainingNode#getParent <em>Parent</em>}' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Parent</em>' container reference. * @see #getParent() * @generated */ void setParent(ConstrainingNode value); /** * Returns the value of the '<em><b>Children</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.ocl.examples.emf.validation.validity.ConstrainingNode}. * It is bidirectional and its opposite is '{@link org.eclipse.ocl.examples.emf.validation.validity.ConstrainingNode#getParent <em>Parent</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Children</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>Children</em>' containment reference list. * @see org.eclipse.ocl.examples.emf.validation.validity.ValidityPackage#getConstrainingNode_Children() * @see org.eclipse.ocl.examples.emf.validation.validity.ConstrainingNode#getParent * @model opposite="parent" containment="true" ordered="false" * @generated */ @NonNull EList<ConstrainingNode> getChildren(); /** * Returns the value of the '<em><b>Constraining Object</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Constraining Object</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Constraining Object</em>' attribute. * @see #setConstrainingObject(Object) * @see org.eclipse.ocl.examples.emf.validation.validity.ValidityPackage#getConstrainingNode_ConstrainingObject() * @model dataType="org.eclipse.ocl.examples.emf.validation.validity.Object" required="true" transient="true" * @generated */ Object getConstrainingObject(); /** * Sets the value of the '{@link org.eclipse.ocl.examples.emf.validation.validity.ConstrainingNode#getConstrainingObject <em>Constraining Object</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Constraining Object</em>' attribute. * @see #getConstrainingObject() * @generated */ void setConstrainingObject(Object value); } // ConstrainingNode