/** * Copyright (c) 2008-2012 IBM Corporation 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: * IBM - Initial API and implementation */ package org.eclipse.emf.codegen.ecore.genmodel; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.common.util.EMap; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Gen Annotation</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenAnnotation#getSource <em>Source</em>}</li> * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenAnnotation#getDetails <em>Details</em>}</li> * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenAnnotation#getGenBase <em>Gen Base</em>}</li> * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenAnnotation#getReferences <em>References</em>}</li> * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenAnnotation#getContents <em>Contents</em>}</li> * </ul> * * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenAnnotation() * @model * @generated */ public interface GenAnnotation extends GenBase { /** * Returns the value of the '<em><b>Source</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Source</em>' attribute. * @see #setSource(String) * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenAnnotation_Source() * @model * @generated */ String getSource(); /** * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenAnnotation#getSource <em>Source</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Source</em>' attribute. * @see #getSource() * @generated */ void setSource(String value); /** * Returns the value of the '<em><b>Details</b></em>' map. * The key is of type {@link java.lang.String}, * and the value is of type {@link java.lang.String}, * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Details</em>' map. * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenAnnotation_Details() * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" * @generated */ EMap<String, String> getDetails(); /** * Returns the value of the '<em><b>Gen Base</b></em>' container reference. * It is bidirectional and its opposite is '{@link org.eclipse.emf.codegen.ecore.genmodel.GenBase#getGenAnnotations <em>Gen Annotations</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Gen Base</em>' container reference. * @see #setGenBase(GenBase) * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenAnnotation_GenBase() * @see org.eclipse.emf.codegen.ecore.genmodel.GenBase#getGenAnnotations * @model opposite="genAnnotations" * @generated */ GenBase getGenBase(); /** * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenAnnotation#getGenBase <em>Gen Base</em>}' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Gen Base</em>' container reference. * @see #getGenBase() * @generated */ void setGenBase(GenBase value); /** * Returns the value of the '<em><b>References</b></em>' reference list. * The list contents are of type {@link org.eclipse.emf.ecore.EObject}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>References</em>' reference list. * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenAnnotation_References() * @model * @generated */ EList<EObject> getReferences(); /** * Returns the value of the '<em><b>Contents</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.emf.ecore.EObject}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Contents</em>' containment reference list. * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenAnnotation_Contents() * @model containment="true" * @generated */ EList<EObject> getContents(); } // GenAnnotation