org.rcfaces.core.component.capability
Interface ICheckCardinalityCapability

All Superinterfaces:
ICardinality
All Known Implementing Classes:
DataGridComponent, TreeComponent

public interface ICheckCardinalityCapability
extends ICardinality

An int value indicating the cardinality (number of check allowed) for this componenent.

Version:
$Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
Author:
Olivier Oeuillot (latest modification by $Author: jbmeslin $)

Field Summary
static int DEFAULT_CARDINALITY
          Default cardinality for check feature.
 
Fields inherited from interface org.rcfaces.core.component.capability.ICardinality
ONE_CARDINALITY, ONEMANY_CARDINALITY, OPTIONAL_CARDINALITY, ZEROMANY_CARDINALITY
 
Method Summary
 int getCheckCardinality()
          Returns an int value indicating the cardinality (number of check allowed) for this componenent.
 void setCheckCardinality(int checkCardinality)
          Sets an int value indicating the cardinality (number of check allowed) for this componenent.
 

Field Detail

DEFAULT_CARDINALITY

static final int DEFAULT_CARDINALITY
Default cardinality for check feature.

See Also:
Constant Field Values
Method Detail

getCheckCardinality

int getCheckCardinality()
Returns an int value indicating the cardinality (number of check allowed) for this componenent.

Returns:
1:?,optional|2:*,zeroMany|3:1,one+|4:+,oneMany

setCheckCardinality

void setCheckCardinality(int checkCardinality)
Sets an int value indicating the cardinality (number of check allowed) for this componenent.

Parameters:
checkCardinality - 1:?,optional|2:*,zeroMany|3:1,one+|4:+,oneMany default=zeroMany


Copyright © 2006-2011 Vedana. All Rights Reserved.