blob: 72bd6f8d7157daffaf02c4af1957d9b1f8397b65 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2018 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.pivot;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Named Element</b></em>'.
* @extends org.eclipse.ocl.pivot.utilities.Nameable
* <!-- 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, org.eclipse.ocl.pivot.utilities.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