KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > ecore > sdo > EProperty


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2003-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: EProperty.java,v 1.5 2005/06/08 06:24:25 nickb Exp $
16  */

17 package org.eclipse.emf.ecore.sdo;
18
19 import org.eclipse.emf.ecore.EObject;
20 import org.eclipse.emf.ecore.EStructuralFeature;
21
22 import commonj.sdo.Property;
23
24 /**
25  * <!-- begin-user-doc -->
26  * A representation of the model object '<em><b>EProperty</b></em>'.
27  * <!-- end-user-doc -->
28  *
29  * <p>
30  * The following features are supported:
31  * <ul>
32  * <li>{@link org.eclipse.emf.ecore.sdo.EProperty#getEStructuralFeature <em>EStructural Feature</em>}</li>
33  * </ul>
34  * </p>
35  *
36  * @see org.eclipse.emf.ecore.sdo.SDOPackage#getEProperty()
37  * @model
38  * @generated
39  */

40 public interface EProperty extends EObject, Property
41 {
42   /**
43    * Returns the value of the '<em><b>EStructural Feature</b></em>' reference.
44    * <!-- begin-user-doc -->
45    * <p>
46    * If the meaning of the '<em>EStructural Feature</em>' reference isn't clear,
47    * there really should be more of a description here...
48    * </p>
49    * <!-- end-user-doc -->
50    * @return the value of the '<em>EStructural Feature</em>' reference.
51    * @see #setEStructuralFeature(EStructuralFeature)
52    * @see org.eclipse.emf.ecore.sdo.SDOPackage#getEProperty_EStructuralFeature()
53    * @model resolveProxies="false" required="true"
54    * @generated
55    */

56   EStructuralFeature getEStructuralFeature();
57
58   /**
59    * Sets the value of the '{@link org.eclipse.emf.ecore.sdo.EProperty#getEStructuralFeature <em>EStructural Feature</em>}' reference.
60    * <!-- begin-user-doc -->
61    * <!-- end-user-doc -->
62    * @param value the new value of the '<em>EStructural Feature</em>' reference.
63    * @see #getEStructuralFeature()
64    * @generated
65    */

66   void setEStructuralFeature(EStructuralFeature value);
67
68   /**
69    * Returns true if values for this property cannot be modified using the SDO APIs.
70    * When true, DataObject.set(Property) throws an exception.
71    * Values may change due to other factors, such as services operating on DataObjects.
72    * @return true if values for this property cannot be modified.
73    */

74   boolean isReadOnly();
75
76   void setReadOnly(boolean readOnly);
77
78 } // EProperty
79
Popular Tags