AttributeDefinition

class caris.AttributeDefinition

The attribute definition.

code

The unique code of the attribute

Type

str

name

The name of the attribute

Type

str

description

The description of the attribute

Type

str

readOnly

Flag indicating whether attribute is readonly

Type

bool

minOccurs

The minimum occurence of an attribute

Type

int

maxOccurs

The maximum occurence of an attribute

Type

int

type

The type of the attribute

Type

Type

__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 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