daniel sti

Avatar
  • Total activity 283
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 6
  • Subscriptions 81
  • Created

    Why do i not get an mps error?

    As one can see above, i have forgotten a return statement in the second if(). The current statement does not lead to an error - should n t it be one? I already stumbled over forgetting the return s...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Very strange behaviour of smodel lang.

    Hi,if i write the following code in a $LOOP$ macro:(node, genContext, operationContext)->sequence<node< >> {   sequence<node<BusinessProperty>> props = node.getGivenBusinessObject().getPersistentBu...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    no null pointer exception

    Hi,i m using the list<> type from the collection language. As described i do not get a null pointer exception when executing the statements ..list<position> mylist;mylist.add(new position());althou...
    • 2 followers
    • 6 comments
    • 0 votes
  • Created

    Strange behaviour of $LOOP$

    Hi,when i use the LOOP macro as in the attached file, i get the following output ...     {      int id = object2Save.getId();    }    {      int kopfId = object2Save.getKopfId();    }    {      int...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    using "can be parent"

    Hi,i derived a PersistantProperty from baselang.Property. I could restrict the user to only use int and String for the type field by using childConcept... e.g.    can be parent     (operationContex...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    mps.baselang.statemachine usage

    Hi,when defining a simple class like thispublic class TestClass extends <none> implements <none> {   <<static fields>>   <<static initializer>>   <<fields>>   <<properties>>   <<initializer>>   <<...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Problem with generator context and mps.baselang.statemachine

    Hi,i developed a OfBean concept, which extends the class concept. Actually, i do not need to extend the class concept, but i want to add a mps.baselang.statemachine to my OfBean. I figured out how ...
    • 2 followers
    • 3 comments
    • 0 votes
  • Created

    Importing generated classes in another tempalte

    Hi,i m generating a couple of entities as Pojo s with MPS, what is quite easy to do. MPS does generate all necessary imports automatically.Now i m looking for a simple java class (with a main()) wh...
    • 3 followers
    • 4 comments
    • 0 votes
  • Created

    Looping over certain type of sub-nodes ..

    Hi,i have another newbie question regarding generation. I have to select some subnodes out of a collection, where node.attributes is a collection of OfAttribute. OfEntityAttribute extends OfAttribu...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Identifier instead of INamedConcept?

    Hi,i m a newbe to MPS - just read the lwc11 documentation (which is by the way very useful). However i run into to questions..(1) How can i change the INamedConcept so that only identifiers are all...
    • 2 followers
    • 3 comments
    • 1 vote