on 12-04-2007 7:03 AM
what is cardinality?
explain with example
Hi
If a node or valueattribute has the contextRoot node as it's immediate parent then it is called as Indipendent node or attribute.
Otherwise it iscalled as dependant node or attribute.
All the nodes r collections
A node collection is composition of elements.
An element is an aggrigation of it's immediate childern(either subnode or attribute)
Cardinality property controls the no of elements a context node hold at runtime.
Every node has the cardinality property
It has 4 values
1)0 to 1(min value)
2)0 to n
3)1 to 1
4)1 to n(max value)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi srikanth josyula ,
The following websites contain details about cardinality with example :
The Structural Concepts of Web Dynpro Components
Web Dynpro:Context Mapping & Model Binding
http://wendtstud1.hpi.uni-potsdam.de/sysmod-seminar/SS2005/presentations/14-Web_Dynpro_dataflow.pdf
Web Dynpro:Getting Involved
Web Dynpro for ABAP
http://www.vnsg.nl/temp/508773747/A1-WDA_Themadag.pdf
cheers!
gyanaraj
Message was edited by:
Armin Reichert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi srikanth,
Cardinality
Any node or attribute that has the context root node as its immediate parent, is known as an independent node or attribute.
Any node or attribute that has some other node as its immediate parent, is known as a dependent node or attribute. All context nodes are collections.
A node collection is composed of elements, where an element is an aggregation of the nodes immediate children (attributes and/or other nodes).
The cardinality property controls the number of elements a node collection may hold at runtime.
Every context node has a property called Cardinality. This property is composed of two values that taken together, describe the maximum and minimum number of elements the node collection may hold at runtime.
Cardinality Minimum: 0 or 1
Cardinality Maximum: 1 or n
Therefore, there are four possible cardinality values
(specified as <Min>..<Max>)
0..1 Zero or one elements permitted
0..n Zero or more elements permitted
1..1 One and only one element permitted
1..n One or more elements permitted
Regards,
karthik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srikanth
There are well explained threads already in this forum regarding Cardinality .
Please search the forumn before posting questions..
Best Regards
Chaitanya.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.