on 12-19-2013 8:38 AM
Hi All,
Can you please explain me occuranceSometimes I get confused when to use 0..1,)..unbound and 1..1
It would be great if you can explain with an exmaple.
Thanks,
Sudheer
Hi Sudheer,
In Simple word If I have to tell you :-
I hope you are clear now.
Regards,
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It's really simple:
0..1 is an optional element that can either occur once, or not at all
1..1 is a mandatory element that always has to occur once
0..unbounded - least restrictive definition, optional element that can be completely ommited, occur once or more than once (in fact: any number of times)
1..unbounded - mandatory element, has to occur at least once, can occur more than once (any number of times, but at least once)
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.