You have to distuinguish between metaclass properties and operations.

Properties have usually getter methods, but the property itself does not. If you have a getter method getType() for a property 'type' than oAW omits the getter method. Implicitely you call the getter. All other methods are *operations* from oAW's point of view, so they are accessed like in Java, e.g. setType(xyz).

HTH,
~Karsten

Am 10.04.2007 um 15:10 schrieb Thorsten Kamann:

The xPand editor gives you the available options (Auto-Completion feature).

The Eclipse Help providing the API-Docs of the UML2-Framework. The available options follow the JavaBean principle. The name of the option you can choose is the name of an operation without get or set and with the first lowercase.

Thorsten

On 4/10/07, Roberts V <[EMAIL PROTECTED]> wrote:

yes i'm using this.type.name, but the question how can i know whether there
is such property "type" for uml::Property or not.
ok, ok i wil ask this in oaw forum :)
«this.type.name»


thorque wrote:
>
> Seems to be a problem of oaw?
>
> Why do not use this.type.name?
>
> You can post a message to the oAW forum to get help for this problem.
>
> On 4/10/07, Roberts V <[EMAIL PROTECTED]> wrote:
>>
>>
>> the same error msg Couldn't find operation 'getType()' for uml::Property.
>>
>>
>> thorque wrote:
>> >
>> > hmm, schould work...
>> >
>> > works this.getType()?
>> >
>> > On 4/10/07, Roberts V < [EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> hmm this what i get: ERROR - Couldn't find operation 'getType ()' for
>> >> uml::Property.
>> >>
>> >>
>> >>
>> >> thorque wrote:
>> >> >
>> >> > Hello,
>> >> >
>> >> > try
>> >> >
>> >> > «DEFINE property FOR Property»
>> >> >   «this.getType().getName()»
>> >> > «ENDDEFINE»
>> >> >
>> >> > Thorsten
>> >> >
>> >> > On 4/10/07, Roberts V <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> >> >> Hello,
>> >> >>
>> >> >> i'm not sure whether this question has something to do with
>> hibernate
>> >> >> cartridge, actually more with oaw.
>> >> >> but anyway i'm working with hibernate cartridge so i will ask :)
>> >> >>
>> >> >> this is working (to my mind - it should not work), no exceptions
>> >> >> «DEFINE property FOR Property»
>> >> >>    «this.type.name»
>> >> >> «ENDDEFINE»
>> >> >>
>> >> >> but this not.
>> >> >> i get error - "couldn't find operation 'getDatatype()' for
>> >> uml::Property"
>> >> >> but according to Eclipse help there should be method getDatatype()
>> for
>> >> >> property
>> >> >> «DEFINE property FOR Property»
>> >> >>    «this.getDatatype().getName()»
>> >> >> «ENDDEFINE»
>> >> >>
>> >> >> i'm sure - that i'm doing something wrong :|
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/uml%3A%3AProperty-question- tf3552540s17564.html#a9918175 >> >> >> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> >>
>> ---------------------------------------------------------------------- ---
>> >> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> >> share
>> >> >> your
>> >> >> opinions on IT & business topics through brief surveys-and earn
>> cash
>> >> >>
>> >>
>> http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
>> >> >> _______________________________________________
>> >> >> Fornax-developer mailing list
>> >> >> [email protected]
>> >> >> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Thorsten Kamann
>> >> > Software-Architect, Consultant, Coaching
>> >> > Germany, NRW
>> >> >
>> >> > Business:
>> >> > itemis products and solutions GmbH & Co. KG
>> >> > Heinrichstraße 51
>> >> > 44536 Lünen
>> >> >
>> >> > Rechtlicher Hinweis:
>> >> > Amtsgericht Dortmund, HRA 15841
>> >> > P.h.G.:
>> >> > Komplementär: itemis management GmbH, Amtsgericht Dortmund HRB 18939
>> >> > Geschäftsführer Jürgen Rödl
>> >> >
>> >> > Personal:
>> >> > [EMAIL PROTECTED]
>> >> > http://www.thorsten-kamann.de/
>> >> > callto://thorque
>> >> >
>> >> >
>> >>
>> ---------------------------------------------------------------------- ---
>> >> > Take Surveys. Earn Cash. Influence the Future of IT
>> >> > Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >> > your
>> >> > opinions on IT & business topics through brief surveys-and earn cash
>> >> >
>> >>
>> http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
>> >> > _______________________________________________
>> >> > Fornax-developer mailing list
>> >> > [email protected]
>> >> > https://lists.sourceforge.net/lists/listinfo/fornax-developer
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/uml%3A%3AProperty-question- tf3552540s17564.html#a9918684 >> >> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> ---------------------------------------------------------------------- ---
>> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >> your
>> >> opinions on IT & business topics through brief surveys-and earn cash
>> >>
>> http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
>> >> _______________________________________________
>> >> Fornax-developer mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>> >>
>> >
>> >
>> >
>> > --
>> > Thorsten Kamann
>> > Software-Architect, Consultant, Coaching
>> > Germany, NRW
>> >
>> > Business:
>> > itemis products and solutions GmbH & Co. KG
>> > Heinrichstraße 51
>> > 44536 Lünen
>> >
>> > Rechtlicher Hinweis:
>> > Amtsgericht Dortmund, HRA 15841
>> > P.h.G.:
>> > Komplementär: itemis management GmbH, Amtsgericht Dortmund HRB 18939
>> > Geschäftsführer Jürgen Rödl
>> >
>> > Personal:
>> > [EMAIL PROTECTED]
>> > http://www.thorsten-kamann.de/
>> > callto://thorque
>> >
>> >
>> ---------------------------------------------------------------------- ---
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to share
>> > your
>> > opinions on IT & business topics through brief surveys-and earn cash
>> >
>> http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
>> > _______________________________________________
>> > Fornax-developer mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/fornax-developer
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/uml%3A%3AProperty-question- tf3552540s17564.html#a9918801
>> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------- ---
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Fornax-developer mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>>
>
>
>
> --
> Thorsten Kamann
> Software-Architect, Consultant, Coaching
> Germany, NRW
>
> Business:
> itemis products and solutions GmbH & Co. KG
> Heinrichstraße 51
> 44536 Lünen
>
> Rechtlicher Hinweis:
> Amtsgericht Dortmund, HRA 15841
> P.h.G.:
> Komplementär: itemis management GmbH, Amtsgericht Dortmund HRB 18939
> Geschäftsführer Jürgen Rödl
>
> Personal:
> [EMAIL PROTECTED]
> http://www.thorsten-kamann.de/
> callto://thorque
>
> ---------------------------------------------------------------------- ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Fornax-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>
>

--
View this message in context: http://www.nabble.com/uml%3A% 3AProperty-question-tf3552540s17564.html#a9919242
Sent from the Fornax-Platform mailing list archive at Nabble.com.


---------------------------------------------------------------------- ---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer



--
Thorsten Kamann
Software-Architect, Consultant, Coaching
Germany, NRW

Business:
itemis products and solutions GmbH & Co. KG
Heinrichstraße 51
44536 Lünen

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRA 15841
P.h.G.:
Komplementär: itemis management GmbH, Amtsgericht Dortmund HRB 18939
Geschäftsführer Jürgen Rödl

Personal:
[EMAIL PROTECTED]
http://www.thorsten-kamann.de/
callto://thorque
---------------------------------------------------------------------- ---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV________________________________ _______________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

____________________________

Dipl.-Inf. (FH) Karsten Thoms
Software-Architekt und Coach

Telefon: +49 (0) 231 / 98 60-213
Telefax: +49 (0) 231 / 98 60-211
Mobil: +49 (0) 163/4979708

http://www.itemis.de
[EMAIL PROTECTED]

itemis GmbH & Co. KG
Heinrich Str. 51
44536 Lünen

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRA 15248
P.h.G.:
itemis Verwaltungs GmbH, Amtsgericht Dortmund HRB 18216
Geschäftsführer: Wolfgang Neuhaus, Jens Wagener


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to