KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > ecore > EAnnotation


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2002-2004 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: EAnnotation.java,v 1.3 2005/06/08 06:20:10 nickb Exp $
16  */

17 package org.eclipse.emf.ecore;
18
19 import org.eclipse.emf.common.util.EList;
20 import org.eclipse.emf.common.util.EMap;
21
22 /**
23  * <!-- begin-user-doc -->
24  * A representation of the model object '<em><b>EAnnotation</b></em>'.
25  * <!-- end-user-doc -->
26  *
27  * <p>
28  * The following features are supported:
29  * <ul>
30  * <li>{@link org.eclipse.emf.ecore.EAnnotation#getSource <em>Source</em>}</li>
31  * <li>{@link org.eclipse.emf.ecore.EAnnotation#getDetails <em>Details</em>}</li>
32  * <li>{@link org.eclipse.emf.ecore.EAnnotation#getEModelElement <em>EModel Element</em>}</li>
33  * <li>{@link org.eclipse.emf.ecore.EAnnotation#getContents <em>Contents</em>}</li>
34  * <li>{@link org.eclipse.emf.ecore.EAnnotation#getReferences <em>References</em>}</li>
35  * </ul>
36  * </p>
37  *
38  * @see org.eclipse.emf.ecore.EcorePackage#getEAnnotation()
39  * @model
40  * @generated
41  */

42 public interface EAnnotation extends EModelElement
43 {
44   /**
45    * Returns the value of the '<em><b>Source</b></em>' attribute.
46    * <!-- begin-user-doc -->
47    * <p>
48    * This will typically be a full URI representing the type of the annotation.
49    * </p>
50    * @see org.eclipse.emf.ecore.EModelElement#getEAnnotation(String)
51    * @ignore
52    * <!-- end-user-doc -->
53    * @return the value of the '<em>Source</em>' attribute.
54    * @see #setSource(String)
55    * @see org.eclipse.emf.ecore.EcorePackage#getEAnnotation_Source()
56    * @model
57    * @generated
58    */

59   String JavaDoc getSource();
60
61   /**
62    * Sets the value of the '{@link org.eclipse.emf.ecore.EAnnotation#getSource <em>Source</em>}' attribute.
63    * <!-- begin-user-doc -->
64    * <!-- end-user-doc -->
65    * @param value the new value of the '<em>Source</em>' attribute.
66    * @see #getSource()
67    * @generated
68    */

69   void setSource(String JavaDoc value);
70
71   /**
72    * Returns the value of the '<em><b>Details</b></em>' map.
73    * The key is of type {@link java.lang.String},
74    * and the value is of type {@link java.lang.String},
75    * <!-- begin-user-doc -->
76    * <p>
77    * This represents tagged values.
78    * </p>
79    * <!-- end-user-doc -->
80    * @return the value of the '<em>Details</em>' map.
81    * @see org.eclipse.emf.ecore.EcorePackage#getEAnnotation_Details()
82    * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String"
83    * @generated
84    */

85   EMap getDetails();
86
87   /**
88    * Returns the value of the '<em><b>EModel Element</b></em>' container reference.
89    * It is bidirectional and its opposite is '{@link org.eclipse.emf.ecore.EModelElement#getEAnnotations <em>EAnnotations</em>}'.
90    * <!-- begin-user-doc -->
91    * <!-- end-user-doc -->
92    * @return the value of the '<em>EModel Element</em>' container reference.
93    * @see #setEModelElement(EModelElement)
94    * @see org.eclipse.emf.ecore.EcorePackage#getEAnnotation_EModelElement()
95    * @see org.eclipse.emf.ecore.EModelElement#getEAnnotations
96    * @model opposite="eAnnotations"
97    * @generated
98    */

99   EModelElement getEModelElement();
100
101   /**
102    * Sets the value of the '{@link org.eclipse.emf.ecore.EAnnotation#getEModelElement <em>EModel Element</em>}' container reference.
103    * <!-- begin-user-doc -->
104    * <!-- end-user-doc -->
105    * @param value the new value of the '<em>EModel Element</em>' container reference.
106    * @see #getEModelElement()
107    * @generated
108    */

109   void setEModelElement(EModelElement value);
110
111   /**
112    * Returns the value of the '<em><b>Contents</b></em>' containment reference list.
113    * The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
114    * <!-- begin-user-doc -->
115    * <p>
116    * This represents arbitrary contained objects.
117    * </p>
118    * <!-- end-user-doc -->
119    * @return the value of the '<em>Contents</em>' containment reference list.
120    * @see org.eclipse.emf.ecore.EcorePackage#getEAnnotation_Contents()
121    * @model type="org.eclipse.emf.ecore.EObject" containment="true"
122    * @generated
123    */

124   EList getContents();
125
126   /**
127    * Returns the value of the '<em><b>References</b></em>' reference list.
128    * The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
129    * <!-- begin-user-doc -->
130    * <p>
131    * This represents arbitrary referenced objects.
132    * </p>
133    * <!-- end-user-doc -->
134    * @return the value of the '<em>References</em>' reference list.
135    * @see org.eclipse.emf.ecore.EcorePackage#getEAnnotation_References()
136    * @model type="org.eclipse.emf.ecore.EObject"
137    * @generated
138    */

139   EList getReferences();
140
141 } // EAnnotation
142
Popular Tags