public final function MapPropertyFetchExpression(Expression $ObjectValueExpression = null, $Name)
{
$MapperMethodName = 'Prop_' . $Name;
if (!method_exists($this, $MapperMethodName)) {
throw new \Storm\Core\NotSupportedException('Data type does not support property %s::$%s', $this->ClassType, $Name);
}
$IsStatic = $ObjectValueExpression === null;
if ($IsStatic) {
return $this->{$MapperMethodName}();
} else {
return $this->{$MapperMethodName}($ObjectValueExpression);
}
}