AttributeDefinition

class caris.AttributeDefinition

The attribute definition.

code

str – The unique code of the attribute

name

str – The name of the attribute

description

str – The description of the attribute

readOnly

bool – Flag indicating whether attribute is readonly

minOccurs

int – The minimum occurence of an attribute

maxOccurs

int – The maximum occurence of an attribute

readOnly

bool – Flag indicating whether attribute is readonly

type

Type – The type of the attribute

__init__((object)arg1, (Type)type, (str)code, (str)name, (str)description[, (bool)read_only=False[, (int)min_occurs=0[, (object)max_occurs=None]]]) → object :

Constructor

Parameters:
  • type (Type) – The attribute type
  • code (str) – The attribute code
  • description (str) – The attribute description
  • read_only (bool, optional) – flag indicating if attribute is read only
  • min_occurs (int, optional) – The minimum occurence of the attribute
  • max_occurs (int, optional) – The maximum occurence of the attribute