Table of Contents

Module: elements ./src/peak/model/elements.py

Basic implementation of a domain metamodel (minus enumerations)

This module implements base classes for "Elements" and "Features" in the sense of the "Service-Element-Feature" pattern. By subclassing from them, you get a wide variety of services automatically provided, ranging from automatic generation of getter/setter/mutator methods, metadata such as ordered lists of features provided by a class, well-defined hookpoints for "event" trapping, persistence support, and more.

Imported modules   
from interfaces import *
from peak.api import *
from peak.binding.components import _Base
from peak.persistence import Persistent
from peak.storage.lazy_loader import LazyLoader
from peak.util import fmtparse
from peak.util.hashcmp import HashAndCompare
from types import FunctionType
Classes   

Element

A persistent domain element

ElementClass

Immutable

ImmutableClass

Namespace

Abstract base class for packages and types
DEPRECATED

PrimitiveType

A primitive type (e.g. Boolean, String, etc.)

PrimitiveTypeClass

Struct

An immutable data structure type

Type

TypeClass

Basis for all flavors


Table of Contents

This document was automatically generated on Tue Feb 17 19:55:45 2004 by HappyDoc version 2.1