1 /*
2 * $Id: ICardinality.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3 *
4 */
5 package org.rcfaces.core.component.capability;
6
7 /**
8 * A int indicating the cardinality (number of check allowed) for this
9 * component. Authorized values are :
10 * ?|+|*|1|one|zeroMany|oneMany|optional|default (default=zeroMany)
11 *
12 * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
13 * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
14 */
15 public interface ICardinality {
16
17 int OPTIONAL_CARDINALITY = 1;
18
19 int ZEROMANY_CARDINALITY = 2;
20
21 int ONE_CARDINALITY = 3;
22
23 int ONEMANY_CARDINALITY = 4;
24
25 int DEFAULT_CARDINALITY = ZEROMANY_CARDINALITY;
26 }