Class TParameterProperty
TParameterProperty corresponds to the <property> tag and defines one object property for the <parameterMap>
The NullValue attribute can be set to any valid value (based on property type). The NullValue attribute is used to specify an inbound null value replacement. What this means is that when the value is detected in the object property, a NULL will be written to the database (the opposite behavior of an inbound null value replacement). This allows you to use a magic null number in your application for types that do not support null values (such as int, double, float). When these types of properties contain a matching null value (for example, say, -9999), a NULL will be written to the database instead of the value.
Method Summary |
string
|
|
string
|
|
mixed
|
|
string
|
|
string
|
|
string
|
|
void
|
|
void
|
|
void
|
The nullValue attribute is used to specify an outgoing null value replacement.
|
void
|
|
void
|
|
void
|
|
Methods Inherited From TComponent |
TComponent::addParsedObject(), TComponent::attachEventHandler(), TComponent::canGetProperty(), TComponent::canSetProperty(), TComponent::createdOnTemplate(), TComponent::detachEventHandler(), TComponent::evaluateExpression(), TComponent::evaluateStatements(), TComponent::getEventHandlers(), TComponent::getSubProperty(), TComponent::hasEvent(), TComponent::hasEventHandler(), TComponent::hasProperty(), TComponent::raiseEvent(), TComponent::setSubProperty(), TComponent::__get(), TComponent::__set()
|
Method Details |
getColumn
public string getColumn |
() |
Output |
string
| name of a parameter to be used in the SQL statement. |
Exception |
|
getDbType
public string getDbType |
() |
Output |
string
| the database column type of the parameter to be set by this property. |
Exception |
|
getNullValue
public mixed getNullValue |
() |
Output |
mixed
| null value replacement |
Exception |
|
getProperty
public string getProperty |
() |
Output |
string
| name of a property of the parameter object. |
Exception |
|
getType
Output |
string
| type of the parameter's property |
Exception |
|
getTypeHandler
public string getTypeHandler |
() |
Output |
string
| class name of a custom type handler. |
Exception |
|
setColumn
public void setColumn |
(string $value ) |
Input |
string | $value | name of a parameter to be used in the SQL statement. |
Output |
Exception |
|
setDbType
public void setDbType |
(string $value ) |
Input |
string | $value | the database column type of the parameter to be set by this property. |
Output |
Exception |
|
setNullValue
public void setNullValue |
(mixed $value ) |
The nullValue attribute is used to specify an outgoing null value replacement.
Input |
mixed | $value | null value replacement. |
Output |
Exception |
|
setProperty
public void setProperty |
(string $value ) |
Input |
string | $value | name of a property of the parameter object. |
Output |
Exception |
|
setType
public void setType |
(string $value ) |
Input |
string | $value | type of the parameter's property |
Output |
Exception |
|
setTypeHandler
public void setTypeHandler |
(string $value ) |
Input |
string | $value | class name of a custom type handler. |
Output |
Exception |
|
|