All custom Entity classes must inherit from this one.
Note that subclasses *must not* override __init__ or __new__ as it is
absolutely undefined when these objects will be created or destroyed. All
persistent state of Entities must be stored in the underlying XML. If you
really need to initialize the object after creation, you can implement an
``_init(self)`` method that will be called after object creation.
Method Summary |
|
__new__ (T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
Inherited from object |
|
__init__ (...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
|
__delattr__ (...)
x.__delattr__('name') <==> del x.name |
|
__getattribute__ (...)
x.__getattribute__('name') <==> x.name |
|
__hash__ (x)
x.__hash__() <==> hash(x) |
|
__reduce__ (...)
helper for pickle |
|
__reduce_ex__ (...)
helper for pickle |
|
__setattr__ (...)
x.__setattr__('name', value) <==> x.name = value |
|
__str__ (x)
x.__str__() <==> str(x) |