Types

class caris.Type
class caris.StringType

string type

code

str – The code

name

str – The name

description

str – The description

min_length

int – The minimum string length

max_length

int – The maximum string length

default_value

str – The default value

class caris.DateType

date type

code

str – The code

name

str – The name

description

str – The description

min_value

datetime.date – The minimum value

max_value

datetime.date – The maximum value

default_value

datetime.date – The default value

class caris.DateTimeType

date & time type

code

str – The code

name

str – The name

description

str – The description

min_value

datetime.datetime – The minimum value

max_value

datetime.datetime – The maximum value

default_value

datetime.datetime – The default value

class caris.BoolType

bool type

code

str – The code

name

str – The name

description

str – The description

class caris.DoubleType

double type

code

str – The code

name

str – The name

description

str – The description

min_value

float – The minimum value

max_value

float – The maximum value

default_value

float – The default value

class caris.IntegerType

integer type

code

str – The code

name

str – The name

description

str – The description

min_value

int – The minimum value

max_value

int – The maximum value

default_value

int – The default value

class caris.EnumType

enum type

code

str – The code

name

str – The name

description

str – The description

possible_values

dict(int, str) – The possible values

default_value

int – The default value

class caris.FileType

file type

code

str – The code

name

str – The name

description

str – The description

default_value

str – The default value

class caris.QuantityType

quantity type

code

str – The code

name

str – The name

description

str – The description

min_value

Quantity – The minimum value

max_value

Quantity – The maximum value

default_value

Quantity – The default value

class caris.ComplexType

A complex type

code

str – The code of the complex type

name

str – The name of the complex type

description

str – The description of the complex type

attributes

AttributeDefinitionDictionary – The definitions of the attributes defined for this type

add()

TODO

get_definition()

TODO

class caris.MeasurementType

measurement type

code

str – The code

name

str – The name

description

str – The description

min_value

Quantity – The minimum value

max_value

Quantity – The maximum value

default_value

Quantity – The default value