String (hwx.inspire.core)¶
Store string value
Public Methods¶
castForSet (self, obj, value) create (self, obj)
Method Details¶
-
castForSet(self, obj, value)¶
Converts and validates the specified string value before setting the value.
| param obj: | Object this attribute belongs to. |
|---|---|
| type obj: | GeneralObject |
| param value: | Value of the attribute to set. |
| type value: | str |
| returns: | Validated and converted value. |
| rtype: | str |
-
create(self, obj)
Creates a string attribute for the specified object.