AttributeDefinition¶
- class caris.AttributeDefinition¶
The attribute definition.
- __init__((object)arg1, (Type)type, (str)code, (str)name, (str)description[, (bool)read_only=False[, (int)min_occurs=0[, (int)max_occurs=1]]]) object : ¶
Constructor
- Parameters
type (
Type
) – The attribute typecode (
str
) – The attribute codedescription (
str
) – The attribute descriptionread_only (
bool
, optional) – flag indicating if attribute is read onlymin_occurs (
int
, optional) – The minimum occurence of the attributemax_occurs (
int
, optional) – The maximum occurence of the attribute