KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > codegen > ecore > genmodel > GenEnumLiteral


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: GenEnumLiteral.java,v 1.3 2005/06/08 06:18:44 nickb Exp $
16  */

17 package org.eclipse.emf.codegen.ecore.genmodel;
18
19
20 import org.eclipse.emf.ecore.EEnumLiteral;
21
22
23 /**
24  * <!-- begin-user-doc -->
25  * A representation of the model object '<em><b>Gen Enum Literal</b></em>'.
26  * <!-- end-user-doc -->
27  *
28  * <p>
29  * The following features are supported:
30  * <ul>
31  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenEnumLiteral#getGenEnum <em>Gen Enum</em>}</li>
32  * <li>{@link org.eclipse.emf.codegen.ecore.genmodel.GenEnumLiteral#getEcoreEnumLiteral <em>Ecore Enum Literal</em>}</li>
33  * </ul>
34  * </p>
35  *
36  * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenEnumLiteral()
37  * @model
38  * @generated
39  */

40 public interface GenEnumLiteral extends GenBase
41 {
42   /**
43    * Returns the value of the '<em><b>Gen Enum</b></em>' container reference.
44    * It is bidirectional and its opposite is '{@link org.eclipse.emf.codegen.ecore.genmodel.GenEnum#getGenEnumLiterals <em>Gen Enum Literals</em>}'.
45    * <!-- begin-user-doc -->
46    * <p>
47    * If the meaning of the '<em>Gen Enum</em>' reference isn't clear,
48    * there really should be more of a description here...
49    * </p>
50    * <!-- end-user-doc -->
51    * @return the value of the '<em>Gen Enum</em>' container reference.
52    * @see #setGenEnum(GenEnum)
53    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenEnumLiteral_GenEnum()
54    * @see org.eclipse.emf.codegen.ecore.genmodel.GenEnum#getGenEnumLiterals
55    * @model opposite="genEnumLiterals" required="true"
56    * @generated
57    */

58   GenEnum getGenEnum();
59
60   /**
61    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenEnumLiteral#getGenEnum <em>Gen Enum</em>}' container reference.
62    * <!-- begin-user-doc -->
63    * <!-- end-user-doc -->
64    * @param value the new value of the '<em>Gen Enum</em>' container reference.
65    * @see #getGenEnum()
66    * @generated
67    */

68   void setGenEnum(GenEnum value);
69
70   /**
71    * Returns the value of the '<em><b>Ecore Enum Literal</b></em>' reference.
72    * <!-- begin-user-doc -->
73    * <p>
74    * If the meaning of the '<em>Ecore Enum Literal</em>' reference isn't clear,
75    * there really should be more of a description here...
76    * </p>
77    * <!-- end-user-doc -->
78    * @return the value of the '<em>Ecore Enum Literal</em>' reference.
79    * @see #setEcoreEnumLiteral(EEnumLiteral)
80    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenEnumLiteral_EcoreEnumLiteral()
81    * @model required="true"
82    * @generated
83    */

84   EEnumLiteral getEcoreEnumLiteral();
85
86   /**
87    * Sets the value of the '{@link org.eclipse.emf.codegen.ecore.genmodel.GenEnumLiteral#getEcoreEnumLiteral <em>Ecore Enum Literal</em>}' reference.
88    * <!-- begin-user-doc -->
89    * <!-- end-user-doc -->
90    * @param value the new value of the '<em>Ecore Enum Literal</em>' reference.
91    * @see #getEcoreEnumLiteral()
92    * @generated
93    */

94   void setEcoreEnumLiteral(EEnumLiteral value);
95
96   String JavaDoc getName();
97   String JavaDoc getCapName();
98   int getValue();
99   String JavaDoc getEnumLiteralID();
100
101   GenPackage getGenPackage(); // returns the package in which this enum literal is defined
102
String JavaDoc getEnumLiteralAccessorName(); // returns the name of the enum literal get method in the package interface
103

104   String JavaDoc getFormattedName();
105
106   void initialize(EEnumLiteral eEnumLiteral);
107   String JavaDoc getModelInfo();
108
109   boolean reconcile(GenEnumLiteral oldGenEnumLiteralVersion);
110
111 }
112
Popular Tags