|
@@ -45,7 +45,7 @@ class abstract_reference(ABC):
|
|
def name(self, value: str):
|
|
def name(self, value: str):
|
|
value = value.strip()
|
|
value = value.strip()
|
|
validator.check_type(value, str)
|
|
validator.check_type(value, str)
|
|
- validator.check_length_greater(0)
|
|
|
|
|
|
+ validator.check_length_bound(value, 1, 50)
|
|
|
|
|
|
self.__name = value
|
|
self.__name = value
|
|
|
|
|