Types¶
-
class
caris.Type¶
-
class
caris.StringType¶ string type
-
__init__()¶ Constructor
Parameters: - code (
str) – The code of the string type - name (
str) – The name of the string type - description (
str) – The description of the string type - default_value (
str, optional) – The default value of the string type - min_length (
int, optional) – The minimum string length - max_length (
int, optional) – The maximum string length
- code (
-
-
class
caris.DateType¶ date type
-
min_value¶ datetime.date– The minimum value
-
max_value¶ datetime.date– The maximum value
-
default_value¶ datetime.date– The default value
-
__init__()¶ Constructor
Parameters: - code (
str) – The code of the date type - name (
str) – The name of the date type - description (
str) – The description of the date type - default_value (
datetime.date, optional) – The default value of the date type - min_value (
datetime.date, optional) – The minimum value - max_value (
datetime.date, optional) – The maximum value
- code (
-
-
class
caris.DateTimeType¶ date & time type
-
min_value¶ datetime.datetime– The minimum value
-
max_value¶ datetime.datetime– The maximum value
-
default_value¶ datetime.datetime– The default value
-
__init__()¶ Constructor
Parameters: - code (
str) – The code of the datetime type - name (
str) – The name of the datetime type - description (
str) – The description of the datetime type - default_value (
datetime.dateTime, optional) – The default value of the datetime type - min_value (
datetime.dateTime, optional) – The minimum value - max_value (
datetime.dateTime, optional) – The maximum value
- code (
-
-
class
caris.BoolType¶ bool type
-
class
caris.DoubleType¶ double type
-
__init__()¶ Constructor
Parameters: - code (
str) – The code of the double type - name (
str) – The name of the double type - description (
str) – The description of the double type - default_value (
float, optional) – The default value of the double type - min_value (
float, optional) – The minimum value - max_value (
float, optional) – The maximum value
- code (
-
-
class
caris.IntegerType¶ integer type
-
__init__()¶ Constructor
Parameters: - code (
str) – The code of the integer type - name (
str) – The name of the integer type - description (
str) – The description of the integer type - default_value (
int, optional) – The default value of the integer type - min_value (
int, optional) – The minimum value - max_value (
int, optional) – The maximum value
- code (
-
-
class
caris.EnumType¶ enum type
-
possible_values¶ dict(int, str) – The possible values
-
default_value¶ int – The default value
-
-
class
caris.FileType¶ file type
-
class
caris.QuantityType¶ quantity type
-
__init__()¶ Constructor
Parameters: - code (
str) – The code of the quantity type - name (
str) – The name of the quantity type - description (
str) – The description of the quantity type - default_value (
Quantity, optional) – The default value of the quantity type - min_value (
Quantity, optional) – The minimum value - max_value (
Quantity, optional) – The maximum value
- code (
-
-
class
caris.ComplexType¶ A complex type
-
attributes¶ AttributeDefinitionDictionary– The definitions of the attributes defined for this type
-
__init__()¶ Constructor
Parameters:
-
add()¶ TODO
-
get_definition()¶ TODO
-
-
class
caris.MeasurementType¶ measurement type
-
__init__()¶ Constructor
Parameters: - code (
str) – The code of the measurement type - name (
str) – The name of the measurement type - description (
str) – The description of the measurement type - default_value (
Quantity, optional) – The default value of the measurement type - min_value (
Quantity, optional) – The minimum value - max_value (
Quantity, optional) – The maximum value
- code (
-