Function Summary |
|
add_entityName (aClass,
entity)
Adds to the new class the method entityName() suitable for entity |
|
add_getter (aClass,
prop)
Builds and adds to aClass the getter for property prop |
|
add_getters (aClass,
entity)
Adds getters to aClass, one for each entity.classProperties() |
|
add_init (aClass,
entity)
Adds to the class the method __init__() suitable for entity |
|
add_properties(aClass,
entity)
|
|
add_setter (aClass,
prop)
Builds and adds to aClass the setter for property prop |
|
add_setters (aClass,
entity)
Adds setters to aClass, one for each entity.classProperties() |
|
addCustomObject(bases)
|
|
build (model,
define_properties)
Takes a model and builds the corresponding package and modules |
|
build_with_metaclass(model,
define_properties,
verbose)
|
|
check_oldinit (classname,
oldinit,
entity)
Check that the already defined __init__ can be called without any arguments |
|
checkEntityName(classname,
bases,
classdict)
|
|
define_entityName(aClass,
entity)
|
|
define_getter(prop,
classdict)
|
|
define_getters(entity,
classname,
classdict)
|
|
define_init(entity,
classname,
classdict)
|
|
define_properties(entity,
classname,
classdict)
|
|
define_setter(prop,
classdict)
|
|
define_setters(entity,
classname,
classdict)
|
|
function_for_code(c,
func_name)
|
|
getter_code(prop)
|
|
info(classdict,
msg)
|
|
init_code (entity,
init)
init: the original __init__, if available |
|
instance_method(aClass,
c,
func_name)
|
|
setters_code (prop)
returns: ( (name, code_string), ... |