Table of Contents

Class: Data oops/core.py

Storage for string type (8 bit strings).

An alias for Data is String.

Base Classes   
Unit
    object
Methods   
__get__
__set__
default
validate
  __get__ 
__get__ (
        self,
        obj,
        oftype=None,
        )

Property hook for attribute retrieval.

Unit uses its __key__ to access the correct data row from obj.

  __set__ 
__set__ (
        self,
        obj,
        value,
        )

Property hook for attribute assignment.

Unit uses its __key__ to store value in the correct data row in obj.

  default 
default ( self )

Default value to return if the database contains no data in this unit's row.

Return empty string.

  validate 
validate ( self,  value )

Validate value

Overloaded to convert data to str if value isn't a StringType.


Table of Contents

This document was automatically generated on Mon Feb 18 01:32:24 2002 by HappyDoc version 2.0.1