예제 #1
0
 def fset(pointer, value):
     """Set the keyvalue for the entity to the given value."""
     getattr(baseentity_from_pointer(
         pointer), 'set_key_value_' + type_name)(name, value)
예제 #2
0
 def fset(pointer, value):
     """Set the keyvalue for the entity to the given value."""
     getattr(baseentity_from_pointer(pointer),
             'set_key_value_' + type_name)(name, value)
예제 #3
0
 def fget(pointer):
     """Retrieve the keyvalue for the entity."""
     return getattr(baseentity_from_pointer(
         pointer), 'get_key_value_' + type_name)(name)
예제 #4
0
 def fget(pointer):
     """Retrieve the keyvalue for the entity."""
     return getattr(baseentity_from_pointer(pointer),
                    'get_key_value_' + type_name)(name)