blob: 1a53cb25998a43252be8c364c9d8aa5db68685ab [file] [log] [blame]
/*****************************************************************************
* Copyright (c) 2020 CEA LIST.
*
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Saadia Dhouib (CEA LIST) saadia.dhouib@cea.fr - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.aas;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Identifier</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.papyrus.aas.Identifier#getIdType <em>Id Type</em>}</li>
* <li>{@link org.eclipse.papyrus.aas.Identifier#getId <em>Id</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.aas.AASPackage#getIdentifier()
* @model
* @generated
*/
public interface Identifier extends EObject {
/**
* Returns the value of the '<em><b>Id Type</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.papyrus.aas.IdentifierType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Id Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Id Type</em>' attribute.
* @see org.eclipse.papyrus.aas.IdentifierType
* @see #setIdType(IdentifierType)
* @see org.eclipse.papyrus.aas.AASPackage#getIdentifier_IdType()
* @model required="true" ordered="false"
* @generated
*/
IdentifierType getIdType();
/**
* Sets the value of the '{@link org.eclipse.papyrus.aas.Identifier#getIdType <em>Id Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Id Type</em>' attribute.
* @see org.eclipse.papyrus.aas.IdentifierType
* @see #getIdType()
* @generated
*/
void setIdType(IdentifierType value);
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Id</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(String)
* @see org.eclipse.papyrus.aas.AASPackage#getIdentifier_Id()
* @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false"
* @generated
*/
String getId();
/**
* Sets the value of the '{@link org.eclipse.papyrus.aas.Identifier#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
void setId(String value);
} // Identifier