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