on 09-06-2010 12:33 PM
Hi,
I have the Following Structures
Sender
Node1---- 0...Unbounded
A1 --1.1
A2---1..1
Node2---- 0...Unbounded
B1 --1.1
B2---1..1
Node3---- 0...Unbounded
C1 --1.1
C2---1..1
Receiver
Node11---- 0...Unbounded
X --1.1
Node21---- 0...Unbounded
Y --1.1
Node31---- 0...Unbounded
Z --1.1
Mapping:
X-----Counter of Node1 ( if the Node repeats 3 , it should display 1 ,2 ,3 )
Y----Counter of Node2 starting from Next to X Counter ( eg if X ends with 3 then it should starts from 4 till it ends )
Z---Counter of Node 3 starting from Next to XYCounter ( eg if Y ends with6 then it should starts from 7 till it ends )
Can Any one help in Designing the Graphical mapping Logic or UDF..
Hello,
Does this help you?
X Node1->index(No change in properties)-> X
Y UDF getY type Context
arguments:
a: Node1-> counter*
b: Node2-> counter*
for(int i=a1;i<=(a.lengthb.length);i++)
result.addValue(i);
Z UDF getZ type Context
arguments:
a: Node2-> counter*
b: Node3-> counter*
for(int i=a1;i<=(a.lengthb.length);i++)
result.addValue(i);
Do let us know.
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.