KickJava   Java API By Example, From Geeks To Geeks.

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


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: EAttribute.java,v 1.3 2005/06/08 06:20:10 nickb Exp $
16  */

17 package org.eclipse.emf.ecore;
18
19
20
21 /**
22  * <!-- begin-user-doc -->
23  * A representation of the model object '<em><b>EAttribute</b></em>'.
24  * <!-- end-user-doc -->
25  *
26  * <p>
27  * The following features are supported:
28  * <ul>
29  * <li>{@link org.eclipse.emf.ecore.EAttribute#isID <em>ID</em>}</li>
30  * <li>{@link org.eclipse.emf.ecore.EAttribute#getEAttributeType <em>EAttribute Type</em>}</li>
31  * </ul>
32  * </p>
33  *
34  * @see org.eclipse.emf.ecore.EcorePackage#getEAttribute()
35  * @model
36  * @generated
37  */

38 public interface EAttribute extends EStructuralFeature
39 {
40   /**
41    * Returns the value of the '<em><b>ID</b></em>' attribute.
42    * <!-- begin-user-doc -->
43    * <p>
44    * An ID attribute explicitly models
45    * the one unique {@link org.eclipse.emf.ecore.EClass#getEIDAttribute ID} of an object.
46    * </p>
47    * @see org.eclipse.emf.ecore.EClass#getEIDAttribute()
48    * @ignore
49    * <!-- end-user-doc -->
50    * @return the value of the '<em>ID</em>' attribute.
51    * @see #setID(boolean)
52    * @see org.eclipse.emf.ecore.EcorePackage#getEAttribute_ID()
53    * @model
54    * @generated
55    */

56   boolean isID();
57
58   /**
59    * Sets the value of the '{@link org.eclipse.emf.ecore.EAttribute#isID <em>ID</em>}' attribute.
60    * <!-- begin-user-doc -->
61    * <!-- end-user-doc -->
62    * @param value the new value of the '<em>ID</em>' attribute.
63    * @see #isID()
64    * @generated
65    */

66   void setID(boolean value);
67
68   /**
69    * Returns the value of the '<em><b>EAttribute Type</b></em>' reference.
70    * <!-- begin-user-doc -->
71    * <p>
72    * The {@link #getEType type} of an attribute must always be a data type; this method provides access to it.
73    * </p>
74    * <!-- end-user-doc -->
75    * @return the value of the '<em>EAttribute Type</em>' reference.
76    * @see org.eclipse.emf.ecore.EcorePackage#getEAttribute_EAttributeType()
77    * @model required="true" transient="true" changeable="false" volatile="true" derived="true"
78    * @generated
79    */

80   EDataType getEAttributeType();
81
82 }
83
Popular Tags