Transforms the property value based on its type.
Follows the Descriptor protocol defined at
http://docs.python.org/reference/datamodel.html#descriptors
|
__init__(self,
id,
type,
transformer)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
source code
|
|
|
|
|
__set__(self,
instance,
value)
Transforms the value and sets it. |
source code
|
|
|
__delete__(self,
instance)
Delete the property. |
source code
|
|
|
_migrate(self,
instance)
If the id is in __dict__ then move the value to the
_propertyValues dictionary. |
source code
|
|
|
_set(self,
instance,
value)
Transform and set the value in the _propertyValues dictionary. |
source code
|
|
|
_transform(self,
instance,
value,
method)
Lookup the transformer for the type and transform the value. |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|