Package pyamf :: Package adapters :: Module _google_appengine_ext_db :: Class DataStoreClassAlias
[hide private]
[frames] | no frames]

Class DataStoreClassAlias

source code


Instance Methods [hide private]
 
getAttrs(self, obj)
Returns a tuple of lists, static and dynamic attrs to encode.
source code
 
getAttributes(self, obj)
Returns a collection of attributes for an object Returns a tuple containing a dict of static and dynamic attributes for obj
source code
 
createInstance(self)
Creates an instance of the klass.
source code
 
applyAttributes(self, obj, attrs)
Applies the collection of attributes attrs to aliased object obj.
source code

Inherited from ClassAlias: __eq__, __hash__, __init__, __repr__, __str__

Inherited from ClassAlias (private): _getAttrs

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from ClassAlias: checkClass

Class Variables [hide private]
  KEY_ATTR = '_key'
  INTERNAL_ATTRS = ['_entity', '_parent', '_key_name', '_app', '...
Instance Variables [hide private]

Inherited from ClassAlias: attrs, metadata

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getAttrs(self, obj)

source code 

Returns a tuple of lists, static and dynamic attrs to encode.

Overrides: ClassAlias.getAttrs

Since: 0.4

getAttributes(self, obj)

source code 

Returns a collection of attributes for an object Returns a tuple containing a dict of static and dynamic attributes for obj

Overrides: ClassAlias.getAttributes
(inherited documentation)

createInstance(self)

source code 

Creates an instance of the klass.

Returns:
Instance of self.klass.
Overrides: ClassAlias.createInstance
(inherited documentation)

applyAttributes(self, obj, attrs)

source code 

Applies the collection of attributes attrs to aliased object obj. It is mainly used when reading aliased objects from an AMF byte stream.

Overrides: ClassAlias.applyAttributes
(inherited documentation)

Class Variable Details [hide private]

INTERNAL_ATTRS

Value:
['_entity', '_parent', '_key_name', '_app', '_parent_key']