|
Re: Custom EType [message #222118 is a reply to message #222096] |
Fri, 25 August 2006 11:00 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------020909070306050509020001
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Anil,
The introductory overview paper describes how to create a custom
EDataType in the Data types section:
http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/org .eclipse.emf/doc/org.eclipse.emf.doc/references/overview/EMF .html
The basic idea is to define an EDataType, set the instance class name to
the fully qualified Java name, and then implement to the two
XyzFactoryImpl methods for conversion to and from a string.
Anil T Samuel wrote:
> Hi
>
> Is it possible to use a namespace specific to Database types such as
> VARCHAR, LONG instead of EString, EBigInteger for the types in Ecore
> model ?
>
> Regards
> Anthos
--------------020909070306050509020001
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Anil,<br>
<br>
The introductory overview paper describes how to create a custom
EDataType in the Data types section:<br>
<blockquote><a
href=" http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/org .eclipse.emf/doc/org.eclipse.emf.doc/references/overview/EMF .html"> http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/org .eclipse.emf/doc/org.eclipse.emf.doc/references/overview/EMF .html</a><br>
</blockquote>
The basic idea is to define an EDataType, set the instance class name
to the fully qualified Java name, and then implement to the two
XyzFactoryImpl methods for conversion to and from a string.<br>
<br>
<br>
Anil T Samuel wrote:
<blockquote cite="midecli8c$iif$2@utils.eclipse.org" type="cite">Hi
<br>
<br>
Is it possible to use a namespace specific to Database types such as
VARCHAR, LONG instead of EString, EBigInteger for the types in Ecore
model ?
<br>
<br>
Regards
<br>
Anthos
<br>
</blockquote>
<br>
</body>
</html>
--------------020909070306050509020001--
|
|
|
Powered by
FUDForum. Page generated in 0.03512 seconds