Specifies a
Namespace: FileNet.Api.Admin
Assembly: FileNet.Api (in filenet.api.dll)
Cardinality
constant, which indicates whether an object property can hold a single value (single cardinality) or a collection of multiple values (list or enumeration cardinality). You can only set the Cardinality
property when you create a new property template. When you create a property definition from a property template, its Cardinality
property will be automatically populated with the same value as that of the property template on which it is based. Once you have instantiated an object from the class to which the property definition belongs, the property defined by the property definition will have the specified cardinality. For
and
object types, this property is read-only:
- For
andPropertyDescriptionObject
objects only, this property can have anyPropertyDefinitionObject
constant value:Cardinality
,SINGLE
, orENUM
.LIST - For all other
andPropertyDescription
object types, this property must have a value ofPropertyDefinition
orSINGLE
.LIST
For
object types, this property is settable on create:
- For
objects only, this property must have a value ofPropertyTemplateObject
orSINGLE
. You can only create a custom object-valued property that has single or enumeration cardinality; list cardinality is allowed for system object-valued properties only.ENUM - For all other
object types, this property must have a value ofPropertyTemplate
orSINGLE
.LIST
Namespace: FileNet.Api.Admin
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
ReadOnly Property Cardinality As Cardinality |
C# |
---|
Cardinality Cardinality { get; } |
C++ |
---|
property Cardinality Cardinality abstract { Cardinality get(); } |
J# |
---|
/** property */ public Cardinality get_Cardinality(); |
JScript |
---|
public function get Cardinality() : Cardinality |
Remarks
Metadata
AllowsDefaultChange: false
Cardinality: SINGLE
CopyToReservation: false
Datatype: LONG
IsHidden: false
IsOrderable: false
IsSearchable: false
IsValueRequired: true
ModificationAccessRequired: WRITE
PersistenceType: NOT_PERSISTENT
PropertyDefaultInteger32: null
PropertyMaximumInteger32: null
PropertyMinimumInteger32: null
RequiresUniqueElements: false
Settability: READ_ONLY
TargetAccessRequired: READ