View Javadoc

1   /*
2    * $Id: IAdditionalInformationCardinalityCapability.java,v 1.2 2007/07/31 13:37:12 oeuillot Exp $
3    * 
4    */
5   package org.rcfaces.core.component.capability;
6   
7   /**
8    * An int value indicating the cardinality (number of additional-informations
9    * allowed) for this component.
10   * 
11   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
12   * @version $Revision: 1.2 $ $Date: 2007/07/31 13:37:12 $
13   */
14  public interface IAdditionalInformationCardinalityCapability extends
15          ICardinality {
16  
17      /**
18       * Default cardinality for additional information feature.
19       */
20      int DEFAULT_CARDINALITY = ICardinality.ZEROMANY_CARDINALITY;
21  
22      /**
23       * Returns an int value indicating the cardinality (number of
24       * additional-informations allowed) for this component.
25       * 
26       * @return 1:?,optional|2:*,zeroMany|3:1,one+|4:+,oneMany
27       */
28      int getAdditionalInformationCardinality();
29  
30      /**
31       * Sets an int value indicating the cardinality (number of
32       * additional-informations allowed) for this component.
33       * 
34       * @param additionalInformationCardinality
35       *            1:?,optional|2:*,zeroMany|3:1,one+|4:+,oneMany
36       *            default=zeroMany
37       */
38      void setAdditionalInformationCardinality(int additionalInformationCardinality);
39  }