ObjectType Class Reference
[Supported meta-types]

Inheritance diagram for ObjectType:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($className)
 getClass ()
 
Returns:
MetaClass

 getClassName ()
 getDeclaration ()
 isGeneric ()
 isMeasurable ()
 toMethods (MetaClass $class, MetaClassProperty $property, MetaClassProperty $holder=null)
 toGetter (MetaClass $class, MetaClassProperty $property, MetaClassProperty $holder=null)
 toSetter (MetaClass $class, MetaClassProperty $property, MetaClassProperty $holder=null)
 toDropper (MetaClass $class, MetaClassProperty $property, MetaClassProperty $holder=null)
 toPrimitive ()
 toXsdType ()
 toColumnType ()
 getHint ()

Private Attributes

 $className = null


Detailed Description

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


Constructor & Destructor Documentation

ObjectType::__construct ( className  ) 

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

References $className.


Member Function Documentation

ObjectType::getClass (  ) 

Returns:
MetaClass

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

References MetaConfiguration::me().

Here is the call graph for this function:

ObjectType::getClassName (  ) 

Definition at line 33 of file ObjectType.class.php.

ObjectType::getDeclaration (  ) 

Reimplemented from BasePropertyType.

Definition at line 38 of file ObjectType.class.php.

ObjectType::isGeneric (  ) 

Reimplemented from BasePropertyType.

Reimplemented in DateType, InternalType, and TimeType.

Definition at line 43 of file ObjectType.class.php.

ObjectType::isMeasurable (  ) 

Reimplemented from BasePropertyType.

Definition at line 48 of file ObjectType.class.php.

ObjectType::toMethods ( MetaClass class,
MetaClassProperty property,
MetaClassProperty holder = null 
)

Reimplemented from BasePropertyType.

Definition at line 53 of file ObjectType.class.php.

ObjectType::toGetter ( MetaClass class,
MetaClassProperty property,
MetaClassProperty holder = null 
)

Returns:
{$class}

{$containerName}

{$class->getName()}

Reimplemented from BasePropertyType.

Definition at line 64 of file ObjectType.class.php.

References EOT, MetaClassProperty::getName(), and MetaClassProperty::getType().

Here is the call graph for this function:

ObjectType::toSetter ( MetaClass class,
MetaClassProperty property,
MetaClassProperty holder = null 
)

Returns:
{$holder->getClass()->getName()}

{$class->getName()}

{$class->getName()}

{$class->getName()}

Reimplemented from BasePropertyType.

Definition at line 203 of file ObjectType.class.php.

References EOT, MetaClassProperty::getName(), MetaClassProperty::getType(), MetaRelation::MANY_TO_MANY, and MetaRelation::ONE_TO_MANY.

Here is the call graph for this function:

ObjectType::toDropper ( MetaClass class,
MetaClassProperty property,
MetaClassProperty holder = null 
)

Returns:
{$holder->getClass()->getName()}

{$class->getName()}

{$classNamePrefix}{$class->getName()}

Definition at line 290 of file ObjectType.class.php.

References EOT, MetaClassProperty::getName(), MetaRelation::MANY_TO_MANY, and MetaRelation::ONE_TO_MANY.

Here is the call graph for this function:

ObjectType::toPrimitive (  ) 

Reimplemented from BasePropertyType.

Reimplemented in DateRangeType, DateType, RangeType, TimestampRangeType, TimestampType, and TimeType.

Definition at line 362 of file ObjectType.class.php.

ObjectType::toXsdType (  ) 

Reimplemented in DateType, InternalType, TimestampRangeType, and TimeType.

Definition at line 367 of file ObjectType.class.php.

ObjectType::toColumnType (  ) 

Reimplemented from BasePropertyType.

Reimplemented in DateType, RangeType, TimestampType, and TimeType.

Definition at line 372 of file ObjectType.class.php.

ObjectType::getHint (  ) 

Returns:
{$this->getClassName()}

Reimplemented from BasePropertyType.

Definition at line 377 of file ObjectType.class.php.

References EOT.


Member Data Documentation

ObjectType::$className = null [private]

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

Referenced by __construct().


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