/******************************************************************************* * Copyright (c) 2010, 2015 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.ocl.pivot; import org.eclipse.ocl.pivot.utilities.Nameable; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Named Element</b></em>'. * <!-- end-user-doc --> * * <!-- begin-model-doc --> * A NamedElement is an Element in a model that may have a name. The name may be given directly and/or via the use of a StringExpression. * <!-- end-model-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.eclipse.ocl.pivot.NamedElement#getName <em>Name</em>}</li> * </ul> * * @see org.eclipse.ocl.pivot.PivotPackage#getNamedElement() * @generated */ public interface NamedElement extends Element, Nameable { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * The name of the NamedElement. * <!-- end-model-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @see org.eclipse.ocl.pivot.PivotPackage#getNamedElement_Name() * @generated */ @Override String getName(); /** * Sets the value of the '{@link org.eclipse.ocl.pivot.NamedElement#getName <em>Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Name</em>' attribute. * @see #getName() * @generated */ void setName(String value); } // NamedElement