Skip to Content
avatar image
Former Member

what are the cardinality in web dynpro.

Hi Expert,

actual i want to know to different kind of cardnality and explain each of them and where it will use and how to use in diffferent situation

please tell me

thanks

subodha

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 11, 2009 at 04:18 AM

    Hi Expert,

    actualy cardinality is nothing but it is selection of value as well as instatiation of node..

    4 type of cardinality are there....

    0:1----it behaves as not instatiated but may be created upto 1 element...

    1:1-beahaves as it is instatiated but will create upto 1 element.

    0:n--as it is not intatiated and will create upto nth element

    1:n--as it is instatiated but will create upto nth element..

    Actualy it is used in Value node at time of creation of any collection of data...it is one of the property of value node in contetx...before doing any thng of node..you have to set cardinality value as above....

    thanks

    jati

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 11, 2009 at 03:45 AM

    Hi Subhoda,

    CARDINALITY tells the min. and max. numbers of elements a node may contain.

    Theare are 4 properties for this.

    0:1 - The node contains zero or one element.

    1:1 - The node contains only one element.

    0:n - The node contains n elements

    1:n - The node contains one or n elements.

    In webdynpro the context node act as an Internal table. To control the number of elements in the context node, the cardinality properties are used. If you want to store only one element, use 1:1, the same way with others.

    Hope this answers your query. If not reply back...

    Regards,

    Naresh

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 10, 2009 at 02:07 PM
    Add comment
    10|10000 characters needed characters exceeded