/** * Copyright (c) 2011-2012 Obeo. * 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: * Obeo - initial API and implementation * */ package org.obeonetwork.dsl.togaf.contentfwk.contentfwk; import org.eclipse.emf.cdo.CDOObject; import org.eclipse.emf.common.util.EList; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Element</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getDelegates <em>Delegates</em>}</li> * <li>{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getIsDelegatedBy <em>Is Delegated By</em>}</li> * <li>{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getName <em>Name</em>}</li> * <li>{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getDescription <em>Description</em>}</li> * <li>{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getSourceDescr <em>Source Descr</em>}</li> * <li>{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getOwnerDescr <em>Owner Descr</em>}</li> * <li>{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getID <em>ID</em>}</li> * <li>{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getCategory <em>Category</em>}</li> * </ul> * </p> * * @see org.obeonetwork.dsl.togaf.contentfwk.contentfwk.ContentfwkPackage#getElement() * @model * @extends CDOObject * @generated */ public interface Element extends CDOObject { /** * Returns the value of the '<em><b>Delegates</b></em>' reference list. * The list contents are of type {@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element}. * It is bidirectional and its opposite is '{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getIsDelegatedBy <em>Is Delegated By</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Delegates</em>' reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Delegates</em>' reference list. * @see org.obeonetwork.dsl.togaf.contentfwk.contentfwk.ContentfwkPackage#getElement_Delegates() * @see org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getIsDelegatedBy * @model opposite="isDelegatedBy" * @generated */ EList<Element> getDelegates(); /** * Returns the value of the '<em><b>Is Delegated By</b></em>' reference list. * The list contents are of type {@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element}. * It is bidirectional and its opposite is '{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getDelegates <em>Delegates</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Is Delegated By</em>' reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Is Delegated By</em>' reference list. * @see org.obeonetwork.dsl.togaf.contentfwk.contentfwk.ContentfwkPackage#getElement_IsDelegatedBy() * @see org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getDelegates * @model opposite="delegates" * @generated */ EList<Element> getIsDelegatedBy(); /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * Brief name of the architecture object. * <!-- end-model-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @see org.obeonetwork.dsl.togaf.contentfwk.contentfwk.ContentfwkPackage#getElement_Name() * @model * @generated */ String getName(); /** * Sets the value of the '{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#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); /** * Returns the value of the '<em><b>Description</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * Textual description of the architecture object. * <!-- end-model-doc --> * @return the value of the '<em>Description</em>' attribute. * @see #setDescription(String) * @see org.obeonetwork.dsl.togaf.contentfwk.contentfwk.ContentfwkPackage#getElement_Description() * @model * @generated */ String getDescription(); /** * Sets the value of the '{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getDescription <em>Description</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Description</em>' attribute. * @see #getDescription() * @generated */ void setDescription(String value); /** * Returns the value of the '<em><b>Category</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * Unique identifier for the architecture object. * <!-- end-model-doc --> * @return the value of the '<em>Category</em>' attribute. * @see #setCategory(String) * @see org.obeonetwork.dsl.togaf.contentfwk.contentfwk.ContentfwkPackage#getElement_Category() * @model * @generated */ String getCategory(); /** * Sets the value of the '{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getCategory <em>Category</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Category</em>' attribute. * @see #getCategory() * @generated */ void setCategory(String value); /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @model newIDRequired="true" * @generated */ void forceID(String newID); /** * Returns the value of the '<em><b>Source Descr</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * Location from where the information was collected. * <!-- end-model-doc --> * @return the value of the '<em>Source Descr</em>' attribute. * @see #setSourceDescr(String) * @see org.obeonetwork.dsl.togaf.contentfwk.contentfwk.ContentfwkPackage#getElement_SourceDescr() * @model * @generated */ String getSourceDescr(); /** * Sets the value of the '{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getSourceDescr <em>Source Descr</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Source Descr</em>' attribute. * @see #getSourceDescr() * @generated */ void setSourceDescr(String value); /** * Returns the value of the '<em><b>Owner Descr</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * Owner of the architecture object. * <!-- end-model-doc --> * @return the value of the '<em>Owner Descr</em>' attribute. * @see #setOwnerDescr(String) * @see org.obeonetwork.dsl.togaf.contentfwk.contentfwk.ContentfwkPackage#getElement_OwnerDescr() * @model * @generated */ String getOwnerDescr(); /** * Sets the value of the '{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#getOwnerDescr <em>Owner Descr</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Owner Descr</em>' attribute. * @see #getOwnerDescr() * @generated */ void setOwnerDescr(String value); /** * Returns the value of the '<em><b>ID</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * Unique identifier for the architecture object. * <!-- end-model-doc --> * @return the value of the '<em>ID</em>' attribute. * @see #setID(String) * @see org.obeonetwork.dsl.togaf.contentfwk.contentfwk.ContentfwkPackage#getElement_ID() * @model id="true" * @generated */ String getID(); /** * Sets the value of the '{@link org.obeonetwork.dsl.togaf.contentfwk.contentfwk.Element#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); } // Element