MetaRelation Class Reference
[MetaConfiguration's base classes]

Inheritance diagram for MetaRelation:

Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static getAnyId ()
 must return any existent ID 1 should be ok for most enumerations

Public Attributes

const ONE_TO_ONE = 'OneToOne'
const ONE_TO_MANY = 'OneToMany'
const MANY_TO_MANY = 'ManyToMany'

Protected Attributes

 $names


Detailed Description

Definition at line 16 of file MetaRelation.class.php.


Member Function Documentation

static MetaRelation::getAnyId (  )  [static]

must return any existent ID 1 should be ok for most enumerations

Reimplemented from Enumeration.

Definition at line 28 of file MetaRelation.class.php.


Member Data Documentation

const MetaRelation::ONE_TO_ONE = 'OneToOne'

Definition at line 18 of file MetaRelation.class.php.

Referenced by MetaConfiguration::buildContainers(), BaseBuilder::buildFillers(), SchemaBuilder::buildTable(), AbstractProtoClass::getMapping(), Criteria::joinProperties(), MetaConfiguration::load(), MetaClassProperty::toDaoField(), MetaClassProperty::toDaoSetter(), and MetaClassProperty::toPrimitive().

const MetaRelation::ONE_TO_MANY = 'OneToMany'

Definition at line 19 of file MetaRelation.class.php.

Referenced by DTOClassBuilder::build(), SchemaBuilder::buildRelations(), ProtoDAO::fetchCollections(), ProtoDAO::processPath(), MetaClassProperty::toDaoField(), MetaClassProperty::toDaoSetter(), ObjectType::toDropper(), and ObjectType::toSetter().

const MetaRelation::MANY_TO_MANY = 'ManyToMany'

Definition at line 20 of file MetaRelation.class.php.

Referenced by SchemaBuilder::buildRelations(), ProtoDAO::fetchCollections(), MetaClassProperty::getRelationColumnName(), ProtoDAO::processPath(), MetaClassProperty::toDaoField(), MetaClassProperty::toDaoSetter(), ObjectType::toDropper(), and ObjectType::toSetter().

MetaRelation::$names [protected]

Initial value:

 array(
            self::ONE_TO_ONE        => 'OneToOne',
            self::ONE_TO_MANY       => 'OneToMany',
            self::MANY_TO_MANY      => 'ManyToMany'
        )

Reimplemented from Enumeration.

Definition at line 22 of file MetaRelation.class.php.


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:57:56 2007 for onPHP by  doxygen 1.5.4