blob: 4eda254259d7835edd56a623ce0fd8bf414af5b3 [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2008 Hatha Systems.
* 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:
* Nikolai Mansourov (Hatha Systems) - initial API and implementation
* *******************************************************************************
*
* $Id$
*/
package org.eclipse.gmt.modisco.omg.kdm.core;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmt.modisco.omg.kdm.kdm.Annotation;
import org.eclipse.gmt.modisco.omg.kdm.kdm.Attribute;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* An element is an atomic constituent of a model. In the meta-model, an Element is the top meta-element in the KDM class
* hierarchy. Element is an abstract meta-model element.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.gmt.modisco.omg.kdm.core.Element#getAttribute <em>Attribute</em>}</li>
* <li>{@link org.eclipse.gmt.modisco.omg.kdm.core.Element#getAnnotation <em>Annotation</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.gmt.modisco.omg.kdm.core.CorePackage#getElement()
* @model abstract="true"
* @generated
*/
public interface Element extends EObject {
/**
* Returns the value of the '<em><b>Attribute</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.gmt.modisco.omg.kdm.kdm.Attribute}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Attribute</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The set of attributes owned by the given element.
* <!-- end-model-doc -->
* @return the value of the '<em>Attribute</em>' containment reference list.
* @see org.eclipse.gmt.modisco.omg.kdm.core.CorePackage#getElement_Attribute()
* @model containment="true" ordered="false"
* @generated
*/
EList<Attribute> getAttribute();
/**
* Returns the value of the '<em><b>Annotation</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.gmt.modisco.omg.kdm.kdm.Annotation}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Annotation</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The set of annotations owned by the given element.
* <!-- end-model-doc -->
* @return the value of the '<em>Annotation</em>' containment reference list.
* @see org.eclipse.gmt.modisco.omg.kdm.core.CorePackage#getElement_Annotation()
* @model containment="true" ordered="false"
* @generated
*/
EList<Annotation> getAnnotation();
} // Element