EAttribute value [message #228585] |
Thu, 30 April 2009 16:48 |
Eclipse User |
|
|
|
Originally posted by: i32rejim.uco.es
Dear list,
I have a list of all the EAttributes of an EClass (using
getEAllAttributes()) but i can´t find a method that returns the value of
that EAttribute at runtime.
Does anyone know how can I achieve this?
|
|
|
Re: EAttribute value [message #228593 is a reply to message #228585] |
Thu, 30 April 2009 16:52 |
|
--=-8BeHdnHox/wIsJElT/6Q
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi, Mar=C3=ADa,
This is an EMF question. I have included that newsgroup in my reply.
You need an instance of the EClass for which you want to get the
attribute value. See the EObject::eGet(EStructuralFeature) operation.
HTH,
Christian
On Thu, 2009-04-30 at 18:48 +0200, Mar=C3=ADa Reina Jim=C3=A9nez wrote:
> Dear list,
>=20
> I have a list of all the EAttributes of an EClass (using=20
> getEAllAttributes()) but i can=C2=B4t find a method that returns the valu=
e of=20
> that EAttribute at runtime.
> Does anyone know how can I achieve this?
>=20
--=-8BeHdnHox/wIsJElT/6Q
Content-Type: text/html; charset="utf-8"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.24.1.1">
</HEAD>
<BODY>
Hi, María,<BR>
<BR>
This is an EMF question. I have included that newsgroup in my reply.<BR>
<BR>
You need an instance of the EClass for which you want to get the attribute value. See the EObject::eGet(EStructuralFeature) operation.<BR>
<BR>
HTH,<BR>
<BR>
Christian<BR>
<BR>
On Thu, 2009-04-30 at 18:48 +0200, María Reina Jiménez wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Dear list,
I have a list of all the EAttributes of an EClass (using
getEAllAttributes()) but i can´t find a method that returns the value of
that EAttribute at runtime.
Does anyone know how can I achieve this?
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>
--=-8BeHdnHox/wIsJElT/6Q--
|
|
|
Powered by
FUDForum. Page generated in 0.03088 seconds