App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine.ext.db.metadata.Property Class Reference
Inheritance diagram for google.appengine.ext.db.metadata.Property:
google.appengine.ext.db.metadata.BaseMetadata google.appengine.ext.db.Model

Public Member Functions

def property_name
 
def kind_name
 
def key_for_kind
 
def key_for_property
 
def key_to_kind
 
def key_to_property
 
- Public Member Functions inherited from google.appengine.ext.db.Model
def __new__
 
def __init__
 
def key
 
def put
 
def delete
 
def is_saved
 
def has_key
 
def dynamic_properties
 
def instance_properties
 
def parent
 
def parent_key
 
def to_xml
 
def get
 
def get_by_key_name
 
def get_by_id
 
def get_or_insert
 
def all
 
def gql
 
def from_entity
 
def kind
 
def entity_type
 
def properties
 
def fields
 

Static Public Attributes

string KIND_NAME = '__property__'
 
tuple property_representation = db.StringListProperty()
 
- Static Public Attributes inherited from google.appengine.ext.db.Model
 save = put
 

Detailed Description

Model for __property__ metadata query results.

Member Function Documentation

def google.appengine.ext.db.metadata.Property.key_for_kind (   cls,
  kind 
)
Return the __property__ key for kind.

Args:
  kind: kind whose key is requested.

Returns:
  The parent key for __property__ keys of kind.
def google.appengine.ext.db.metadata.Property.key_for_property (   cls,
  kind,
  property 
)
Return the __property__ key for property of kind.

Args:
  kind: kind whose key is requested.
  property: property whose key is requested.

Returns:
  The key for property of kind.
def google.appengine.ext.db.metadata.Property.key_to_kind (   cls,
  key 
)
Return the kind specified by a given __property__ key.

Args:
  key: key whose kind name is requested.

Returns:
  The kind specified by key.
def google.appengine.ext.db.metadata.Property.key_to_property (   cls,
  key 
)
Return the property specified by a given __property__ key.

Args:
  key: key whose property name is requested.

Returns:
  property specified by key, or None if the key specified only a kind.
def google.appengine.ext.db.metadata.Property.kind_name (   self)
Return the kind name specified by this entity's key.
def google.appengine.ext.db.metadata.Property.property_name (   self)
Return the property name specified by this entity's key.

The documentation for this class was generated from the following file: