Class TSubMap
TSubMap class defines a submapping value and the corresponding <resultMap>
The Value property is used for comparison with the discriminator column value. When the Value matches that of the discriminator column value, the corresponding ResultMapping is used inplace of the current result map.
Method Summary |
string
|
The result map to use when the Value matches the discriminator column value.
|
string
|
|
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 |
getResultMapping
public string getResultMapping |
() |
The result map to use when the Value matches the discriminator column value.
Output |
string
| ID of a result map |
Exception |
|
getValue
public string getValue |
() |
Output |
string
| value for comparison with discriminator column value. |
Exception |
|
setResultMapping
public void setResultMapping |
(string $value ) |
Input |
string | $value | ID of a result map |
Output |
Exception |
|
setValue
public void setValue |
(string $value ) |
Input |
string | $value | value for comparison with discriminator column value. |
Output |
Exception |
|
|