BasePropertyType Class Reference
[Supported meta-types]

Inheritance diagram for BasePropertyType:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 getDeclaration ()
 isMeasurable ()
 toColumnType ()
 toPrimitive ()
 isGeneric ()
 toMethods (MetaClass $class, MetaClassProperty $property, MetaClassProperty $holder=null)
 hasDefault ()
 getDefault ()
 setDefault ($default)
 toGetter (MetaClass $class, MetaClassProperty $property, MetaClassProperty $holder=null)
 toSetter (MetaClass $class, MetaClassProperty $property, MetaClassProperty $holder=null)
 getHint ()

Protected Attributes

 $default = null


Detailed Description

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


Member Function Documentation

BasePropertyType::getDeclaration (  )  [abstract]

Reimplemented in BooleanType, IntegerType, ObjectType, and StringType.

BasePropertyType::isMeasurable (  )  [abstract]

Reimplemented in BooleanType, IntegerType, NumericType, ObjectType, and StringType.

BasePropertyType::toColumnType (  )  [abstract]

Reimplemented in BigIntegerType, BooleanType, DateType, DoubleType, FloatType, IntegerType, NumericType, ObjectType, RangeType, SmallIntegerType, TimestampType, TimeType, UnsignedBigIntegerType, UnsignedIntegerType, and UnsignedSmallIntegerType.

BasePropertyType::toPrimitive (  )  [abstract]

Reimplemented in BooleanType, DateRangeType, DateType, FloatType, InetType, IntegerType, ObjectType, RangeType, StringType, TimestampRangeType, TimestampType, and TimeType.

BasePropertyType::isGeneric (  ) 

Reimplemented in DateType, InternalType, ObjectType, and TimeType.

Definition at line 25 of file BasePropertyType.class.php.

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

Reimplemented in ObjectType.

Definition at line 30 of file BasePropertyType.class.php.

References toGetter().

Here is the call graph for this function:

BasePropertyType::hasDefault (  ) 

Definition at line 41 of file BasePropertyType.class.php.

Referenced by StringType::getDeclaration(), IntegerType::getDeclaration(), and BooleanType::getDeclaration().

BasePropertyType::getDefault (  ) 

Definition at line 46 of file BasePropertyType.class.php.

BasePropertyType::setDefault ( default  ) 

Reimplemented in BooleanType, FloatType, InetType, IntegerType, and StringType.

Definition at line 51 of file BasePropertyType.class.php.

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

Reimplemented in BooleanType, and ObjectType.

Definition at line 58 of file BasePropertyType.class.php.

References EOT, and MetaClassProperty::getName().

Referenced by toMethods().

Here is the call graph for this function:

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

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

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

Reimplemented in BooleanType, FixedLengthStringType, and ObjectType.

Definition at line 81 of file BasePropertyType.class.php.

References EOT, and MetaClassProperty::getName().

Here is the call graph for this function:

BasePropertyType::getHint (  ) 

Reimplemented in ObjectType.

Definition at line 128 of file BasePropertyType.class.php.


Member Data Documentation

BasePropertyType::$default = null [protected]

Definition at line 23 of file BasePropertyType.class.php.

Referenced by StringType::setDefault(), IntegerType::setDefault(), InetType::setDefault(), FloatType::setDefault(), and BooleanType::setDefault().


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