Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » the filling the "mixed: EFeatueMapEntry" and "s: AnySimpleType" information
the filling the "mixed: EFeatueMapEntry" and "s: AnySimpleType" information [message #420895] Wed, 16 July 2008 06:01 Go to next message
Eclipse UserFriend
Originally posted by: khalid.azam.in.bosch.com

hello all,

I need help urgently regarding the filling the "mixed: EFeatueMapEntry"
and "s: AnySimpleType" information
in the created model.

could you please help me code snippet for the above problem.

regards,
Khalid
Re: the filling the "mixed: EFeatueMapEntry" and "s: AnySimpleType" information [message #420900 is a reply to message #420895] Wed, 16 July 2008 09:31 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060206050307030304050301
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Khalid,

Comments below.

khalid azam wrote:
> hello all,
>
> I need help urgently regarding the filling the "mixed:
> EFeatueMapEntry" and "s: AnySimpleType" information in the created model.
>
> could you please help me code snippet for the above problem.
You've looked at
http://www.theserverside.com/tt/articles/article.tss?l=Bindi ngXMLJava?

To create in instance of SimpleAnyType you need to set the EDataType it
wraps and can then set either a value of the data type or a literal that
can be converted to a value of the data type.

SimpleAnyType simpleAnyType =
XMLTypeFactory.eINSTANCE.createSimpleAnyType();
simpleAnyType.setInstanceType(<anyEDataType>);
simpleAnyType.setValue(<anyValueOfThatEDataType>);
simpleAnyType.setRawValue(<anyLiteralOfThatEDataType>);

>
> regards,
> Khalid
>
>
>

--------------060206050307030304050301
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Khalid,<br>
<br>
Comments below.<br>
<br>
khalid azam wrote:
<blockquote
cite="mid:bb916099834a5476b8562b35d3e1d048$1@www.eclipse.org"
type="cite">hello all,
<br>
<br>
I need help urgently regarding the filling the "mixed: EFeatueMapEntry"
and "s: AnySimpleType" information in the created model.
<br>
<br>
could you please help me


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Copyright generation practices
Next Topic:Setting EEnum type to EEAttribute using Ecore API
Goto Forum:
  


Current Time: Thu Apr 25 00:48:43 GMT 2024

Powered by FUDForum. Page generated in 0.02707 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top