PHP Class Prado\Data\SqlMap\Configuration\TSubMap

The {@link Value setValue()} property is used for comparison with the discriminator column value. When the {@link Value setValue()} matches that of the discriminator column value, the corresponding {@link ResultMapping setResultMapping} is used inplace of the current result map.
Since: 3.1
Inheritance: extends Prado\TComponent
Datei anzeigen Open project: pradosoft/prado

Public Methods

Method Description
getResultMapping ( ) : string The result map to use when the Value matches the discriminator column value.
getValue ( ) : string
setResultMapping ( $value )
setValue ( $value )

Method Details

getResultMapping() public method

The result map to use when the Value matches the discriminator column value.
public getResultMapping ( ) : string
return string ID of a result map

getValue() public method

public getValue ( ) : string
return string value for comparison with discriminator column value.

setResultMapping() public method

public setResultMapping ( $value )

setValue() public method

public setValue ( $value )