Adding predefined types

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Adding predefined types

Uko2
Hi. So FM3 has 4 predefined types: Object, String, Number and Boolean. What
is the best way to add more. For example I want to model a database and I
wan't to be able to have Integer, Float, Date, etc.



--
View this message in context: http://moose-dev.97923.n3.nabble.com/Adding-predefined-types-tp4027277.html
Sent from the moose-dev mailing list archive at Nabble.com.
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Adding predefined types

Nicolas Anquetil

Java also has int, float, boolean, etc.
What you need to do is to model these in Famix (or whatever you want to
call it), not in Fame.

nicolas

On 05/07/2013 01:12 PM, Yuriy Tymchuk wrote:

> Hi. So FM3 has 4 predefined types: Object, String, Number and Boolean. What
> is the best way to add more. For example I want to model a database and I
> wan't to be able to have Integer, Float, Date, etc.
>
>
>
> --
> View this message in context: http://moose-dev.97923.n3.nabble.com/Adding-predefined-types-tp4027277.html
> Sent from the moose-dev mailing list archive at Nabble.com.
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
Nicolas Anquetil -- RMod research team (Inria)

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Adding predefined types

Tudor Girba-2
Yes. Actually, I never liked the default primitive types. Ideally, we would not have them at all.

Cheers,
Doru


On May 7, 2013, at 9:57 PM, Nicolas Anquetil <[hidden email]> wrote:

>
> Java also has int, float, boolean, etc.
> What you need to do is to model these in Famix (or whatever you want to call it), not in Fame.
>
> nicolas
>
> On 05/07/2013 01:12 PM, Yuriy Tymchuk wrote:
>> Hi. So FM3 has 4 predefined types: Object, String, Number and Boolean. What
>> is the best way to add more. For example I want to model a database and I
>> wan't to be able to have Integer, Float, Date, etc.
>>
>>
>>
>> --
>> View this message in context: http://moose-dev.97923.n3.nabble.com/Adding-predefined-types-tp4027277.html
>> Sent from the moose-dev mailing list archive at Nabble.com.
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> Nicolas Anquetil -- RMod research team (Inria)
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Being happy is a matter of choice."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Adding predefined types

Uko2
Cool. So is there some guide how to define them yourself?

Yuriy


On 8 трав. 2013, at 11:02, "Tudor Girba-2 [via moose-dev]" <[hidden email]> wrote:

Yes. Actually, I never liked the default primitive types. Ideally, we would not have them at all.

Cheers,
Doru


On May 7, 2013, at 9:57 PM, Nicolas Anquetil <<a href="x-msg://106/user/SendEmail.jtp?type=node&amp;node=4027316&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:

>
> Java also has int, float, boolean, etc.
> What you need to do is to model these in Famix (or whatever you want to call it), not in Fame.
>
> nicolas
>
> On 05/07/2013 01:12 PM, Yuriy Tymchuk wrote:
>> Hi. So FM3 has 4 predefined types: Object, String, Number and Boolean. What
>> is the best way to add more. For example I want to model a database and I
>> wan't to be able to have Integer, Float, Date, etc.
>>
>>
>>
>> --
>> View this message in context: http://moose-dev.97923.n3.nabble.com/Adding-predefined-types-tp4027277.html
>> Sent from the moose-dev mailing list archive at Nabble.com.
>> _______________________________________________
>> Moose-dev mailing list
>> <a href="x-msg://106/user/SendEmail.jtp?type=node&amp;node=4027316&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> Nicolas Anquetil -- RMod research team (Inria)
>
> _______________________________________________
> Moose-dev mailing list
> <a href="x-msg://106/user/SendEmail.jtp?type=node&amp;node=4027316&amp;i=2" target="_top" rel="nofollow" link="external">[hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com

"Being happy is a matter of choice."




_______________________________________________
Moose-dev mailing list
<a href="x-msg://106/user/SendEmail.jtp?type=node&amp;node=4027316&amp;i=3" target="_top" rel="nofollow" link="external">[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



If you reply to this email, your message will be added to the discussion below:
http://moose-dev.97923.n3.nabble.com/Adding-predefined-types-tp4027277p4027316.html
To unsubscribe from Adding predefined types, click here.
NAML



View this message in context: Re: Adding predefined types
Sent from the moose-dev mailing list archive at Nabble.com.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev