Merged in qronald/processmaker/HOR-1329 (pull request #4447)

HOR-1329
This commit is contained in:
Julio Cesar Laura Avendaño
2016-06-23 10:26:10 -04:00
18 changed files with 393 additions and 463 deletions

View File

@@ -33,6 +33,18 @@ abstract class BaseProcess extends BaseObject implements Persistent
*/
protected $pro_uid = '';
/**
* The value for the pro_title field.
* @var string
*/
protected $pro_title;
/**
* The value for the pro_description field.
* @var string
*/
protected $pro_description;
/**
* The value for the pro_parent field.
* @var string
@@ -262,6 +274,28 @@ abstract class BaseProcess extends BaseObject implements Persistent
return $this->pro_uid;
}
/**
* Get the [pro_title] column value.
*
* @return string
*/
public function getProTitle()
{
return $this->pro_title;
}
/**
* Get the [pro_description] column value.
*
* @return string
*/
public function getProDescription()
{
return $this->pro_description;
}
/**
* Get the [pro_parent] column value.
*
@@ -700,6 +734,50 @@ abstract class BaseProcess extends BaseObject implements Persistent
} // setProUid()
/**
* Set the value of [pro_title] column.
*
* @param string $v new value
* @return void
*/
public function setProTitle($v)
{
// Since the native PHP type for this column is string,
// we will cast the input to a string (if it is not).
if ($v !== null && !is_string($v)) {
$v = (string) $v;
}
if ($this->pro_title !== $v) {
$this->pro_title = $v;
$this->modifiedColumns[] = ProcessPeer::PRO_TITLE;
}
} // setProTitle()
/**
* Set the value of [pro_description] column.
*
* @param string $v new value
* @return void
*/
public function setProDescription($v)
{
// Since the native PHP type for this column is string,
// we will cast the input to a string (if it is not).
if ($v !== null && !is_string($v)) {
$v = (string) $v;
}
if ($this->pro_description !== $v) {
$this->pro_description = $v;
$this->modifiedColumns[] = ProcessPeer::PRO_DESCRIPTION;
}
} // setProDescription()
/**
* Set the value of [pro_parent] column.
*
@@ -1469,80 +1547,84 @@ abstract class BaseProcess extends BaseObject implements Persistent
$this->pro_uid = $rs->getString($startcol + 0);
$this->pro_parent = $rs->getString($startcol + 1);
$this->pro_title = $rs->getString($startcol + 1);
$this->pro_time = $rs->getFloat($startcol + 2);
$this->pro_description = $rs->getString($startcol + 2);
$this->pro_timeunit = $rs->getString($startcol + 3);
$this->pro_parent = $rs->getString($startcol + 3);
$this->pro_status = $rs->getString($startcol + 4);
$this->pro_time = $rs->getFloat($startcol + 4);
$this->pro_type_day = $rs->getString($startcol + 5);
$this->pro_timeunit = $rs->getString($startcol + 5);
$this->pro_type = $rs->getString($startcol + 6);
$this->pro_status = $rs->getString($startcol + 6);
$this->pro_assignment = $rs->getString($startcol + 7);
$this->pro_type_day = $rs->getString($startcol + 7);
$this->pro_show_map = $rs->getInt($startcol + 8);
$this->pro_type = $rs->getString($startcol + 8);
$this->pro_show_message = $rs->getInt($startcol + 9);
$this->pro_assignment = $rs->getString($startcol + 9);
$this->pro_subprocess = $rs->getInt($startcol + 10);
$this->pro_show_map = $rs->getInt($startcol + 10);
$this->pro_tri_open = $rs->getString($startcol + 11);
$this->pro_show_message = $rs->getInt($startcol + 11);
$this->pro_tri_deleted = $rs->getString($startcol + 12);
$this->pro_subprocess = $rs->getInt($startcol + 12);
$this->pro_tri_canceled = $rs->getString($startcol + 13);
$this->pro_tri_open = $rs->getString($startcol + 13);
$this->pro_tri_paused = $rs->getString($startcol + 14);
$this->pro_tri_deleted = $rs->getString($startcol + 14);
$this->pro_tri_reassigned = $rs->getString($startcol + 15);
$this->pro_tri_canceled = $rs->getString($startcol + 15);
$this->pro_tri_unpaused = $rs->getString($startcol + 16);
$this->pro_tri_paused = $rs->getString($startcol + 16);
$this->pro_type_process = $rs->getString($startcol + 17);
$this->pro_tri_reassigned = $rs->getString($startcol + 17);
$this->pro_show_delegate = $rs->getInt($startcol + 18);
$this->pro_tri_unpaused = $rs->getString($startcol + 18);
$this->pro_show_dynaform = $rs->getInt($startcol + 19);
$this->pro_type_process = $rs->getString($startcol + 19);
$this->pro_category = $rs->getString($startcol + 20);
$this->pro_show_delegate = $rs->getInt($startcol + 20);
$this->pro_sub_category = $rs->getString($startcol + 21);
$this->pro_show_dynaform = $rs->getInt($startcol + 21);
$this->pro_industry = $rs->getInt($startcol + 22);
$this->pro_category = $rs->getString($startcol + 22);
$this->pro_update_date = $rs->getTimestamp($startcol + 23, null);
$this->pro_sub_category = $rs->getString($startcol + 23);
$this->pro_create_date = $rs->getTimestamp($startcol + 24, null);
$this->pro_industry = $rs->getInt($startcol + 24);
$this->pro_create_user = $rs->getString($startcol + 25);
$this->pro_update_date = $rs->getTimestamp($startcol + 25, null);
$this->pro_height = $rs->getInt($startcol + 26);
$this->pro_create_date = $rs->getTimestamp($startcol + 26, null);
$this->pro_width = $rs->getInt($startcol + 27);
$this->pro_create_user = $rs->getString($startcol + 27);
$this->pro_title_x = $rs->getInt($startcol + 28);
$this->pro_height = $rs->getInt($startcol + 28);
$this->pro_title_y = $rs->getInt($startcol + 29);
$this->pro_width = $rs->getInt($startcol + 29);
$this->pro_debug = $rs->getInt($startcol + 30);
$this->pro_title_x = $rs->getInt($startcol + 30);
$this->pro_dynaforms = $rs->getString($startcol + 31);
$this->pro_title_y = $rs->getInt($startcol + 31);
$this->pro_derivation_screen_tpl = $rs->getString($startcol + 32);
$this->pro_debug = $rs->getInt($startcol + 32);
$this->pro_cost = $rs->getFloat($startcol + 33);
$this->pro_dynaforms = $rs->getString($startcol + 33);
$this->pro_unit_cost = $rs->getString($startcol + 34);
$this->pro_derivation_screen_tpl = $rs->getString($startcol + 34);
$this->pro_cost = $rs->getFloat($startcol + 35);
$this->pro_unit_cost = $rs->getString($startcol + 36);
$this->resetModified();
$this->setNew(false);
// FIXME - using NUM_COLUMNS may be clearer.
return $startcol + 35; // 35 = ProcessPeer::NUM_COLUMNS - ProcessPeer::NUM_LAZY_LOAD_COLUMNS).
return $startcol + 37; // 37 = ProcessPeer::NUM_COLUMNS - ProcessPeer::NUM_LAZY_LOAD_COLUMNS).
} catch (Exception $e) {
throw new PropelException("Error populating Process object", $e);
@@ -1750,105 +1832,111 @@ abstract class BaseProcess extends BaseObject implements Persistent
return $this->getProUid();
break;
case 1:
return $this->getProParent();
return $this->getProTitle();
break;
case 2:
return $this->getProTime();
return $this->getProDescription();
break;
case 3:
return $this->getProTimeunit();
return $this->getProParent();
break;
case 4:
return $this->getProStatus();
return $this->getProTime();
break;
case 5:
return $this->getProTypeDay();
return $this->getProTimeunit();
break;
case 6:
return $this->getProType();
return $this->getProStatus();
break;
case 7:
return $this->getProAssignment();
return $this->getProTypeDay();
break;
case 8:
return $this->getProShowMap();
return $this->getProType();
break;
case 9:
return $this->getProShowMessage();
return $this->getProAssignment();
break;
case 10:
return $this->getProSubprocess();
return $this->getProShowMap();
break;
case 11:
return $this->getProTriOpen();
return $this->getProShowMessage();
break;
case 12:
return $this->getProTriDeleted();
return $this->getProSubprocess();
break;
case 13:
return $this->getProTriCanceled();
return $this->getProTriOpen();
break;
case 14:
return $this->getProTriPaused();
return $this->getProTriDeleted();
break;
case 15:
return $this->getProTriReassigned();
return $this->getProTriCanceled();
break;
case 16:
return $this->getProTriUnpaused();
return $this->getProTriPaused();
break;
case 17:
return $this->getProTypeProcess();
return $this->getProTriReassigned();
break;
case 18:
return $this->getProShowDelegate();
return $this->getProTriUnpaused();
break;
case 19:
return $this->getProShowDynaform();
return $this->getProTypeProcess();
break;
case 20:
return $this->getProCategory();
return $this->getProShowDelegate();
break;
case 21:
return $this->getProSubCategory();
return $this->getProShowDynaform();
break;
case 22:
return $this->getProIndustry();
return $this->getProCategory();
break;
case 23:
return $this->getProUpdateDate();
return $this->getProSubCategory();
break;
case 24:
return $this->getProCreateDate();
return $this->getProIndustry();
break;
case 25:
return $this->getProCreateUser();
return $this->getProUpdateDate();
break;
case 26:
return $this->getProHeight();
return $this->getProCreateDate();
break;
case 27:
return $this->getProWidth();
return $this->getProCreateUser();
break;
case 28:
return $this->getProTitleX();
return $this->getProHeight();
break;
case 29:
return $this->getProTitleY();
return $this->getProWidth();
break;
case 30:
return $this->getProDebug();
return $this->getProTitleX();
break;
case 31:
return $this->getProDynaforms();
return $this->getProTitleY();
break;
case 32:
return $this->getProDerivationScreenTpl();
return $this->getProDebug();
break;
case 33:
return $this->getProCost();
return $this->getProDynaforms();
break;
case 34:
return $this->getProDerivationScreenTpl();
break;
case 35:
return $this->getProCost();
break;
case 36:
return $this->getProUnitCost();
break;
default:
@@ -1872,40 +1960,42 @@ abstract class BaseProcess extends BaseObject implements Persistent
$keys = ProcessPeer::getFieldNames($keyType);
$result = array(
$keys[0] => $this->getProUid(),
$keys[1] => $this->getProParent(),
$keys[2] => $this->getProTime(),
$keys[3] => $this->getProTimeunit(),
$keys[4] => $this->getProStatus(),
$keys[5] => $this->getProTypeDay(),
$keys[6] => $this->getProType(),
$keys[7] => $this->getProAssignment(),
$keys[8] => $this->getProShowMap(),
$keys[9] => $this->getProShowMessage(),
$keys[10] => $this->getProSubprocess(),
$keys[11] => $this->getProTriOpen(),
$keys[12] => $this->getProTriDeleted(),
$keys[13] => $this->getProTriCanceled(),
$keys[14] => $this->getProTriPaused(),
$keys[15] => $this->getProTriReassigned(),
$keys[16] => $this->getProTriUnpaused(),
$keys[17] => $this->getProTypeProcess(),
$keys[18] => $this->getProShowDelegate(),
$keys[19] => $this->getProShowDynaform(),
$keys[20] => $this->getProCategory(),
$keys[21] => $this->getProSubCategory(),
$keys[22] => $this->getProIndustry(),
$keys[23] => $this->getProUpdateDate(),
$keys[24] => $this->getProCreateDate(),
$keys[25] => $this->getProCreateUser(),
$keys[26] => $this->getProHeight(),
$keys[27] => $this->getProWidth(),
$keys[28] => $this->getProTitleX(),
$keys[29] => $this->getProTitleY(),
$keys[30] => $this->getProDebug(),
$keys[31] => $this->getProDynaforms(),
$keys[32] => $this->getProDerivationScreenTpl(),
$keys[33] => $this->getProCost(),
$keys[34] => $this->getProUnitCost(),
$keys[1] => $this->getProTitle(),
$keys[2] => $this->getProDescription(),
$keys[3] => $this->getProParent(),
$keys[4] => $this->getProTime(),
$keys[5] => $this->getProTimeunit(),
$keys[6] => $this->getProStatus(),
$keys[7] => $this->getProTypeDay(),
$keys[8] => $this->getProType(),
$keys[9] => $this->getProAssignment(),
$keys[10] => $this->getProShowMap(),
$keys[11] => $this->getProShowMessage(),
$keys[12] => $this->getProSubprocess(),
$keys[13] => $this->getProTriOpen(),
$keys[14] => $this->getProTriDeleted(),
$keys[15] => $this->getProTriCanceled(),
$keys[16] => $this->getProTriPaused(),
$keys[17] => $this->getProTriReassigned(),
$keys[18] => $this->getProTriUnpaused(),
$keys[19] => $this->getProTypeProcess(),
$keys[20] => $this->getProShowDelegate(),
$keys[21] => $this->getProShowDynaform(),
$keys[22] => $this->getProCategory(),
$keys[23] => $this->getProSubCategory(),
$keys[24] => $this->getProIndustry(),
$keys[25] => $this->getProUpdateDate(),
$keys[26] => $this->getProCreateDate(),
$keys[27] => $this->getProCreateUser(),
$keys[28] => $this->getProHeight(),
$keys[29] => $this->getProWidth(),
$keys[30] => $this->getProTitleX(),
$keys[31] => $this->getProTitleY(),
$keys[32] => $this->getProDebug(),
$keys[33] => $this->getProDynaforms(),
$keys[34] => $this->getProDerivationScreenTpl(),
$keys[35] => $this->getProCost(),
$keys[36] => $this->getProUnitCost(),
);
return $result;
}
@@ -1941,105 +2031,111 @@ abstract class BaseProcess extends BaseObject implements Persistent
$this->setProUid($value);
break;
case 1:
$this->setProParent($value);
$this->setProTitle($value);
break;
case 2:
$this->setProTime($value);
$this->setProDescription($value);
break;
case 3:
$this->setProTimeunit($value);
$this->setProParent($value);
break;
case 4:
$this->setProStatus($value);
$this->setProTime($value);
break;
case 5:
$this->setProTypeDay($value);
$this->setProTimeunit($value);
break;
case 6:
$this->setProType($value);
$this->setProStatus($value);
break;
case 7:
$this->setProAssignment($value);
$this->setProTypeDay($value);
break;
case 8:
$this->setProShowMap($value);
$this->setProType($value);
break;
case 9:
$this->setProShowMessage($value);
$this->setProAssignment($value);
break;
case 10:
$this->setProSubprocess($value);
$this->setProShowMap($value);
break;
case 11:
$this->setProTriOpen($value);
$this->setProShowMessage($value);
break;
case 12:
$this->setProTriDeleted($value);
$this->setProSubprocess($value);
break;
case 13:
$this->setProTriCanceled($value);
$this->setProTriOpen($value);
break;
case 14:
$this->setProTriPaused($value);
$this->setProTriDeleted($value);
break;
case 15:
$this->setProTriReassigned($value);
$this->setProTriCanceled($value);
break;
case 16:
$this->setProTriUnpaused($value);
$this->setProTriPaused($value);
break;
case 17:
$this->setProTypeProcess($value);
$this->setProTriReassigned($value);
break;
case 18:
$this->setProShowDelegate($value);
$this->setProTriUnpaused($value);
break;
case 19:
$this->setProShowDynaform($value);
$this->setProTypeProcess($value);
break;
case 20:
$this->setProCategory($value);
$this->setProShowDelegate($value);
break;
case 21:
$this->setProSubCategory($value);
$this->setProShowDynaform($value);
break;
case 22:
$this->setProIndustry($value);
$this->setProCategory($value);
break;
case 23:
$this->setProUpdateDate($value);
$this->setProSubCategory($value);
break;
case 24:
$this->setProCreateDate($value);
$this->setProIndustry($value);
break;
case 25:
$this->setProCreateUser($value);
$this->setProUpdateDate($value);
break;
case 26:
$this->setProHeight($value);
$this->setProCreateDate($value);
break;
case 27:
$this->setProWidth($value);
$this->setProCreateUser($value);
break;
case 28:
$this->setProTitleX($value);
$this->setProHeight($value);
break;
case 29:
$this->setProTitleY($value);
$this->setProWidth($value);
break;
case 30:
$this->setProDebug($value);
$this->setProTitleX($value);
break;
case 31:
$this->setProDynaforms($value);
$this->setProTitleY($value);
break;
case 32:
$this->setProDerivationScreenTpl($value);
$this->setProDebug($value);
break;
case 33:
$this->setProCost($value);
$this->setProDynaforms($value);
break;
case 34:
$this->setProDerivationScreenTpl($value);
break;
case 35:
$this->setProCost($value);
break;
case 36:
$this->setProUnitCost($value);
break;
} // switch()
@@ -2070,139 +2166,147 @@ abstract class BaseProcess extends BaseObject implements Persistent
}
if (array_key_exists($keys[1], $arr)) {
$this->setProParent($arr[$keys[1]]);
$this->setProTitle($arr[$keys[1]]);
}
if (array_key_exists($keys[2], $arr)) {
$this->setProTime($arr[$keys[2]]);
$this->setProDescription($arr[$keys[2]]);
}
if (array_key_exists($keys[3], $arr)) {
$this->setProTimeunit($arr[$keys[3]]);
$this->setProParent($arr[$keys[3]]);
}
if (array_key_exists($keys[4], $arr)) {
$this->setProStatus($arr[$keys[4]]);
$this->setProTime($arr[$keys[4]]);
}
if (array_key_exists($keys[5], $arr)) {
$this->setProTypeDay($arr[$keys[5]]);
$this->setProTimeunit($arr[$keys[5]]);
}
if (array_key_exists($keys[6], $arr)) {
$this->setProType($arr[$keys[6]]);
$this->setProStatus($arr[$keys[6]]);
}
if (array_key_exists($keys[7], $arr)) {
$this->setProAssignment($arr[$keys[7]]);
$this->setProTypeDay($arr[$keys[7]]);
}
if (array_key_exists($keys[8], $arr)) {
$this->setProShowMap($arr[$keys[8]]);
$this->setProType($arr[$keys[8]]);
}
if (array_key_exists($keys[9], $arr)) {
$this->setProShowMessage($arr[$keys[9]]);
$this->setProAssignment($arr[$keys[9]]);
}
if (array_key_exists($keys[10], $arr)) {
$this->setProSubprocess($arr[$keys[10]]);
$this->setProShowMap($arr[$keys[10]]);
}
if (array_key_exists($keys[11], $arr)) {
$this->setProTriOpen($arr[$keys[11]]);
$this->setProShowMessage($arr[$keys[11]]);
}
if (array_key_exists($keys[12], $arr)) {
$this->setProTriDeleted($arr[$keys[12]]);
$this->setProSubprocess($arr[$keys[12]]);
}
if (array_key_exists($keys[13], $arr)) {
$this->setProTriCanceled($arr[$keys[13]]);
$this->setProTriOpen($arr[$keys[13]]);
}
if (array_key_exists($keys[14], $arr)) {
$this->setProTriPaused($arr[$keys[14]]);
$this->setProTriDeleted($arr[$keys[14]]);
}
if (array_key_exists($keys[15], $arr)) {
$this->setProTriReassigned($arr[$keys[15]]);
$this->setProTriCanceled($arr[$keys[15]]);
}
if (array_key_exists($keys[16], $arr)) {
$this->setProTriUnpaused($arr[$keys[16]]);
$this->setProTriPaused($arr[$keys[16]]);
}
if (array_key_exists($keys[17], $arr)) {
$this->setProTypeProcess($arr[$keys[17]]);
$this->setProTriReassigned($arr[$keys[17]]);
}
if (array_key_exists($keys[18], $arr)) {
$this->setProShowDelegate($arr[$keys[18]]);
$this->setProTriUnpaused($arr[$keys[18]]);
}
if (array_key_exists($keys[19], $arr)) {
$this->setProShowDynaform($arr[$keys[19]]);
$this->setProTypeProcess($arr[$keys[19]]);
}
if (array_key_exists($keys[20], $arr)) {
$this->setProCategory($arr[$keys[20]]);
$this->setProShowDelegate($arr[$keys[20]]);
}
if (array_key_exists($keys[21], $arr)) {
$this->setProSubCategory($arr[$keys[21]]);
$this->setProShowDynaform($arr[$keys[21]]);
}
if (array_key_exists($keys[22], $arr)) {
$this->setProIndustry($arr[$keys[22]]);
$this->setProCategory($arr[$keys[22]]);
}
if (array_key_exists($keys[23], $arr)) {
$this->setProUpdateDate($arr[$keys[23]]);
$this->setProSubCategory($arr[$keys[23]]);
}
if (array_key_exists($keys[24], $arr)) {
$this->setProCreateDate($arr[$keys[24]]);
$this->setProIndustry($arr[$keys[24]]);
}
if (array_key_exists($keys[25], $arr)) {
$this->setProCreateUser($arr[$keys[25]]);
$this->setProUpdateDate($arr[$keys[25]]);
}
if (array_key_exists($keys[26], $arr)) {
$this->setProHeight($arr[$keys[26]]);
$this->setProCreateDate($arr[$keys[26]]);
}
if (array_key_exists($keys[27], $arr)) {
$this->setProWidth($arr[$keys[27]]);
$this->setProCreateUser($arr[$keys[27]]);
}
if (array_key_exists($keys[28], $arr)) {
$this->setProTitleX($arr[$keys[28]]);
$this->setProHeight($arr[$keys[28]]);
}
if (array_key_exists($keys[29], $arr)) {
$this->setProTitleY($arr[$keys[29]]);
$this->setProWidth($arr[$keys[29]]);
}
if (array_key_exists($keys[30], $arr)) {
$this->setProDebug($arr[$keys[30]]);
$this->setProTitleX($arr[$keys[30]]);
}
if (array_key_exists($keys[31], $arr)) {
$this->setProDynaforms($arr[$keys[31]]);
$this->setProTitleY($arr[$keys[31]]);
}
if (array_key_exists($keys[32], $arr)) {
$this->setProDerivationScreenTpl($arr[$keys[32]]);
$this->setProDebug($arr[$keys[32]]);
}
if (array_key_exists($keys[33], $arr)) {
$this->setProCost($arr[$keys[33]]);
$this->setProDynaforms($arr[$keys[33]]);
}
if (array_key_exists($keys[34], $arr)) {
$this->setProUnitCost($arr[$keys[34]]);
$this->setProDerivationScreenTpl($arr[$keys[34]]);
}
if (array_key_exists($keys[35], $arr)) {
$this->setProCost($arr[$keys[35]]);
}
if (array_key_exists($keys[36], $arr)) {
$this->setProUnitCost($arr[$keys[36]]);
}
}
@@ -2220,6 +2324,14 @@ abstract class BaseProcess extends BaseObject implements Persistent
$criteria->add(ProcessPeer::PRO_UID, $this->pro_uid);
}
if ($this->isColumnModified(ProcessPeer::PRO_TITLE)) {
$criteria->add(ProcessPeer::PRO_TITLE, $this->pro_title);
}
if ($this->isColumnModified(ProcessPeer::PRO_DESCRIPTION)) {
$criteria->add(ProcessPeer::PRO_DESCRIPTION, $this->pro_description);
}
if ($this->isColumnModified(ProcessPeer::PRO_PARENT)) {
$criteria->add(ProcessPeer::PRO_PARENT, $this->pro_parent);
}
@@ -2410,6 +2522,10 @@ abstract class BaseProcess extends BaseObject implements Persistent
public function copyInto($copyObj, $deepCopy = false)
{
$copyObj->setProTitle($this->pro_title);
$copyObj->setProDescription($this->pro_description);
$copyObj->setProParent($this->pro_parent);
$copyObj->setProTime($this->pro_time);

View File

@@ -25,7 +25,7 @@ abstract class BaseProcessPeer
const CLASS_DEFAULT = 'classes.model.Process';
/** The total number of columns. */
const NUM_COLUMNS = 35;
const NUM_COLUMNS = 37;
/** The number of lazy-loaded columns. */
const NUM_LAZY_LOAD_COLUMNS = 0;
@@ -34,6 +34,12 @@ abstract class BaseProcessPeer
/** the column name for the PRO_UID field */
const PRO_UID = 'PROCESS.PRO_UID';
/** the column name for the PRO_TITLE field */
const PRO_TITLE = 'PROCESS.PRO_TITLE';
/** the column name for the PRO_DESCRIPTION field */
const PRO_DESCRIPTION = 'PROCESS.PRO_DESCRIPTION';
/** the column name for the PRO_PARENT field */
const PRO_PARENT = 'PROCESS.PRO_PARENT';
@@ -147,10 +153,10 @@ abstract class BaseProcessPeer
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
*/
private static $fieldNames = array (
BasePeer::TYPE_PHPNAME => array ('ProUid', 'ProParent', 'ProTime', 'ProTimeunit', 'ProStatus', 'ProTypeDay', 'ProType', 'ProAssignment', 'ProShowMap', 'ProShowMessage', 'ProSubprocess', 'ProTriOpen', 'ProTriDeleted', 'ProTriCanceled', 'ProTriPaused', 'ProTriReassigned', 'ProTriUnpaused', 'ProTypeProcess', 'ProShowDelegate', 'ProShowDynaform', 'ProCategory', 'ProSubCategory', 'ProIndustry', 'ProUpdateDate', 'ProCreateDate', 'ProCreateUser', 'ProHeight', 'ProWidth', 'ProTitleX', 'ProTitleY', 'ProDebug', 'ProDynaforms', 'ProDerivationScreenTpl', 'ProCost', 'ProUnitCost', ),
BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID, ProcessPeer::PRO_PARENT, ProcessPeer::PRO_TIME, ProcessPeer::PRO_TIMEUNIT, ProcessPeer::PRO_STATUS, ProcessPeer::PRO_TYPE_DAY, ProcessPeer::PRO_TYPE, ProcessPeer::PRO_ASSIGNMENT, ProcessPeer::PRO_SHOW_MAP, ProcessPeer::PRO_SHOW_MESSAGE, ProcessPeer::PRO_SUBPROCESS, ProcessPeer::PRO_TRI_OPEN, ProcessPeer::PRO_TRI_DELETED, ProcessPeer::PRO_TRI_CANCELED, ProcessPeer::PRO_TRI_PAUSED, ProcessPeer::PRO_TRI_REASSIGNED, ProcessPeer::PRO_TRI_UNPAUSED, ProcessPeer::PRO_TYPE_PROCESS, ProcessPeer::PRO_SHOW_DELEGATE, ProcessPeer::PRO_SHOW_DYNAFORM, ProcessPeer::PRO_CATEGORY, ProcessPeer::PRO_SUB_CATEGORY, ProcessPeer::PRO_INDUSTRY, ProcessPeer::PRO_UPDATE_DATE, ProcessPeer::PRO_CREATE_DATE, ProcessPeer::PRO_CREATE_USER, ProcessPeer::PRO_HEIGHT, ProcessPeer::PRO_WIDTH, ProcessPeer::PRO_TITLE_X, ProcessPeer::PRO_TITLE_Y, ProcessPeer::PRO_DEBUG, ProcessPeer::PRO_DYNAFORMS, ProcessPeer::PRO_DERIVATION_SCREEN_TPL, ProcessPeer::PRO_COST, ProcessPeer::PRO_UNIT_COST, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID', 'PRO_PARENT', 'PRO_TIME', 'PRO_TIMEUNIT', 'PRO_STATUS', 'PRO_TYPE_DAY', 'PRO_TYPE', 'PRO_ASSIGNMENT', 'PRO_SHOW_MAP', 'PRO_SHOW_MESSAGE', 'PRO_SUBPROCESS', 'PRO_TRI_OPEN', 'PRO_TRI_DELETED', 'PRO_TRI_CANCELED', 'PRO_TRI_PAUSED', 'PRO_TRI_REASSIGNED', 'PRO_TRI_UNPAUSED', 'PRO_TYPE_PROCESS', 'PRO_SHOW_DELEGATE', 'PRO_SHOW_DYNAFORM', 'PRO_CATEGORY', 'PRO_SUB_CATEGORY', 'PRO_INDUSTRY', 'PRO_UPDATE_DATE', 'PRO_CREATE_DATE', 'PRO_CREATE_USER', 'PRO_HEIGHT', 'PRO_WIDTH', 'PRO_TITLE_X', 'PRO_TITLE_Y', 'PRO_DEBUG', 'PRO_DYNAFORMS', 'PRO_DERIVATION_SCREEN_TPL', 'PRO_COST', 'PRO_UNIT_COST', ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, )
BasePeer::TYPE_PHPNAME => array ('ProUid', 'ProTitle', 'ProDescription', 'ProParent', 'ProTime', 'ProTimeunit', 'ProStatus', 'ProTypeDay', 'ProType', 'ProAssignment', 'ProShowMap', 'ProShowMessage', 'ProSubprocess', 'ProTriOpen', 'ProTriDeleted', 'ProTriCanceled', 'ProTriPaused', 'ProTriReassigned', 'ProTriUnpaused', 'ProTypeProcess', 'ProShowDelegate', 'ProShowDynaform', 'ProCategory', 'ProSubCategory', 'ProIndustry', 'ProUpdateDate', 'ProCreateDate', 'ProCreateUser', 'ProHeight', 'ProWidth', 'ProTitleX', 'ProTitleY', 'ProDebug', 'ProDynaforms', 'ProDerivationScreenTpl', 'ProCost', 'ProUnitCost', ),
BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID, ProcessPeer::PRO_TITLE, ProcessPeer::PRO_DESCRIPTION, ProcessPeer::PRO_PARENT, ProcessPeer::PRO_TIME, ProcessPeer::PRO_TIMEUNIT, ProcessPeer::PRO_STATUS, ProcessPeer::PRO_TYPE_DAY, ProcessPeer::PRO_TYPE, ProcessPeer::PRO_ASSIGNMENT, ProcessPeer::PRO_SHOW_MAP, ProcessPeer::PRO_SHOW_MESSAGE, ProcessPeer::PRO_SUBPROCESS, ProcessPeer::PRO_TRI_OPEN, ProcessPeer::PRO_TRI_DELETED, ProcessPeer::PRO_TRI_CANCELED, ProcessPeer::PRO_TRI_PAUSED, ProcessPeer::PRO_TRI_REASSIGNED, ProcessPeer::PRO_TRI_UNPAUSED, ProcessPeer::PRO_TYPE_PROCESS, ProcessPeer::PRO_SHOW_DELEGATE, ProcessPeer::PRO_SHOW_DYNAFORM, ProcessPeer::PRO_CATEGORY, ProcessPeer::PRO_SUB_CATEGORY, ProcessPeer::PRO_INDUSTRY, ProcessPeer::PRO_UPDATE_DATE, ProcessPeer::PRO_CREATE_DATE, ProcessPeer::PRO_CREATE_USER, ProcessPeer::PRO_HEIGHT, ProcessPeer::PRO_WIDTH, ProcessPeer::PRO_TITLE_X, ProcessPeer::PRO_TITLE_Y, ProcessPeer::PRO_DEBUG, ProcessPeer::PRO_DYNAFORMS, ProcessPeer::PRO_DERIVATION_SCREEN_TPL, ProcessPeer::PRO_COST, ProcessPeer::PRO_UNIT_COST, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID', 'PRO_TITLE', 'PRO_DESCRIPTION', 'PRO_PARENT', 'PRO_TIME', 'PRO_TIMEUNIT', 'PRO_STATUS', 'PRO_TYPE_DAY', 'PRO_TYPE', 'PRO_ASSIGNMENT', 'PRO_SHOW_MAP', 'PRO_SHOW_MESSAGE', 'PRO_SUBPROCESS', 'PRO_TRI_OPEN', 'PRO_TRI_DELETED', 'PRO_TRI_CANCELED', 'PRO_TRI_PAUSED', 'PRO_TRI_REASSIGNED', 'PRO_TRI_UNPAUSED', 'PRO_TYPE_PROCESS', 'PRO_SHOW_DELEGATE', 'PRO_SHOW_DYNAFORM', 'PRO_CATEGORY', 'PRO_SUB_CATEGORY', 'PRO_INDUSTRY', 'PRO_UPDATE_DATE', 'PRO_CREATE_DATE', 'PRO_CREATE_USER', 'PRO_HEIGHT', 'PRO_WIDTH', 'PRO_TITLE_X', 'PRO_TITLE_Y', 'PRO_DEBUG', 'PRO_DYNAFORMS', 'PRO_DERIVATION_SCREEN_TPL', 'PRO_COST', 'PRO_UNIT_COST', ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, )
);
/**
@@ -160,10 +166,10 @@ abstract class BaseProcessPeer
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
*/
private static $fieldKeys = array (
BasePeer::TYPE_PHPNAME => array ('ProUid' => 0, 'ProParent' => 1, 'ProTime' => 2, 'ProTimeunit' => 3, 'ProStatus' => 4, 'ProTypeDay' => 5, 'ProType' => 6, 'ProAssignment' => 7, 'ProShowMap' => 8, 'ProShowMessage' => 9, 'ProSubprocess' => 10, 'ProTriOpen' => 11, 'ProTriDeleted' => 12, 'ProTriCanceled' => 13, 'ProTriPaused' => 14, 'ProTriReassigned' => 15, 'ProTriUnpaused' => 16, 'ProTypeProcess' => 17, 'ProShowDelegate' => 18, 'ProShowDynaform' => 19, 'ProCategory' => 20, 'ProSubCategory' => 21, 'ProIndustry' => 22, 'ProUpdateDate' => 23, 'ProCreateDate' => 24, 'ProCreateUser' => 25, 'ProHeight' => 26, 'ProWidth' => 27, 'ProTitleX' => 28, 'ProTitleY' => 29, 'ProDebug' => 30, 'ProDynaforms' => 31, 'ProDerivationScreenTpl' => 32, 'ProCost' => 33, 'ProUnitCost' => 34, ),
BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID => 0, ProcessPeer::PRO_PARENT => 1, ProcessPeer::PRO_TIME => 2, ProcessPeer::PRO_TIMEUNIT => 3, ProcessPeer::PRO_STATUS => 4, ProcessPeer::PRO_TYPE_DAY => 5, ProcessPeer::PRO_TYPE => 6, ProcessPeer::PRO_ASSIGNMENT => 7, ProcessPeer::PRO_SHOW_MAP => 8, ProcessPeer::PRO_SHOW_MESSAGE => 9, ProcessPeer::PRO_SUBPROCESS => 10, ProcessPeer::PRO_TRI_OPEN => 11, ProcessPeer::PRO_TRI_DELETED => 12, ProcessPeer::PRO_TRI_CANCELED => 13, ProcessPeer::PRO_TRI_PAUSED => 14, ProcessPeer::PRO_TRI_REASSIGNED => 15, ProcessPeer::PRO_TRI_UNPAUSED => 16, ProcessPeer::PRO_TYPE_PROCESS => 17, ProcessPeer::PRO_SHOW_DELEGATE => 18, ProcessPeer::PRO_SHOW_DYNAFORM => 19, ProcessPeer::PRO_CATEGORY => 20, ProcessPeer::PRO_SUB_CATEGORY => 21, ProcessPeer::PRO_INDUSTRY => 22, ProcessPeer::PRO_UPDATE_DATE => 23, ProcessPeer::PRO_CREATE_DATE => 24, ProcessPeer::PRO_CREATE_USER => 25, ProcessPeer::PRO_HEIGHT => 26, ProcessPeer::PRO_WIDTH => 27, ProcessPeer::PRO_TITLE_X => 28, ProcessPeer::PRO_TITLE_Y => 29, ProcessPeer::PRO_DEBUG => 30, ProcessPeer::PRO_DYNAFORMS => 31, ProcessPeer::PRO_DERIVATION_SCREEN_TPL => 32, ProcessPeer::PRO_COST => 33, ProcessPeer::PRO_UNIT_COST => 34, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID' => 0, 'PRO_PARENT' => 1, 'PRO_TIME' => 2, 'PRO_TIMEUNIT' => 3, 'PRO_STATUS' => 4, 'PRO_TYPE_DAY' => 5, 'PRO_TYPE' => 6, 'PRO_ASSIGNMENT' => 7, 'PRO_SHOW_MAP' => 8, 'PRO_SHOW_MESSAGE' => 9, 'PRO_SUBPROCESS' => 10, 'PRO_TRI_OPEN' => 11, 'PRO_TRI_DELETED' => 12, 'PRO_TRI_CANCELED' => 13, 'PRO_TRI_PAUSED' => 14, 'PRO_TRI_REASSIGNED' => 15, 'PRO_TRI_UNPAUSED' => 16, 'PRO_TYPE_PROCESS' => 17, 'PRO_SHOW_DELEGATE' => 18, 'PRO_SHOW_DYNAFORM' => 19, 'PRO_CATEGORY' => 20, 'PRO_SUB_CATEGORY' => 21, 'PRO_INDUSTRY' => 22, 'PRO_UPDATE_DATE' => 23, 'PRO_CREATE_DATE' => 24, 'PRO_CREATE_USER' => 25, 'PRO_HEIGHT' => 26, 'PRO_WIDTH' => 27, 'PRO_TITLE_X' => 28, 'PRO_TITLE_Y' => 29, 'PRO_DEBUG' => 30, 'PRO_DYNAFORMS' => 31, 'PRO_DERIVATION_SCREEN_TPL' => 32, 'PRO_COST' => 33, 'PRO_UNIT_COST' => 34, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, )
BasePeer::TYPE_PHPNAME => array ('ProUid' => 0, 'ProTitle' => 1, 'ProDescription' => 2, 'ProParent' => 3, 'ProTime' => 4, 'ProTimeunit' => 5, 'ProStatus' => 6, 'ProTypeDay' => 7, 'ProType' => 8, 'ProAssignment' => 9, 'ProShowMap' => 10, 'ProShowMessage' => 11, 'ProSubprocess' => 12, 'ProTriOpen' => 13, 'ProTriDeleted' => 14, 'ProTriCanceled' => 15, 'ProTriPaused' => 16, 'ProTriReassigned' => 17, 'ProTriUnpaused' => 18, 'ProTypeProcess' => 19, 'ProShowDelegate' => 20, 'ProShowDynaform' => 21, 'ProCategory' => 22, 'ProSubCategory' => 23, 'ProIndustry' => 24, 'ProUpdateDate' => 25, 'ProCreateDate' => 26, 'ProCreateUser' => 27, 'ProHeight' => 28, 'ProWidth' => 29, 'ProTitleX' => 30, 'ProTitleY' => 31, 'ProDebug' => 32, 'ProDynaforms' => 33, 'ProDerivationScreenTpl' => 34, 'ProCost' => 35, 'ProUnitCost' => 36, ),
BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID => 0, ProcessPeer::PRO_TITLE => 1, ProcessPeer::PRO_DESCRIPTION => 2, ProcessPeer::PRO_PARENT => 3, ProcessPeer::PRO_TIME => 4, ProcessPeer::PRO_TIMEUNIT => 5, ProcessPeer::PRO_STATUS => 6, ProcessPeer::PRO_TYPE_DAY => 7, ProcessPeer::PRO_TYPE => 8, ProcessPeer::PRO_ASSIGNMENT => 9, ProcessPeer::PRO_SHOW_MAP => 10, ProcessPeer::PRO_SHOW_MESSAGE => 11, ProcessPeer::PRO_SUBPROCESS => 12, ProcessPeer::PRO_TRI_OPEN => 13, ProcessPeer::PRO_TRI_DELETED => 14, ProcessPeer::PRO_TRI_CANCELED => 15, ProcessPeer::PRO_TRI_PAUSED => 16, ProcessPeer::PRO_TRI_REASSIGNED => 17, ProcessPeer::PRO_TRI_UNPAUSED => 18, ProcessPeer::PRO_TYPE_PROCESS => 19, ProcessPeer::PRO_SHOW_DELEGATE => 20, ProcessPeer::PRO_SHOW_DYNAFORM => 21, ProcessPeer::PRO_CATEGORY => 22, ProcessPeer::PRO_SUB_CATEGORY => 23, ProcessPeer::PRO_INDUSTRY => 24, ProcessPeer::PRO_UPDATE_DATE => 25, ProcessPeer::PRO_CREATE_DATE => 26, ProcessPeer::PRO_CREATE_USER => 27, ProcessPeer::PRO_HEIGHT => 28, ProcessPeer::PRO_WIDTH => 29, ProcessPeer::PRO_TITLE_X => 30, ProcessPeer::PRO_TITLE_Y => 31, ProcessPeer::PRO_DEBUG => 32, ProcessPeer::PRO_DYNAFORMS => 33, ProcessPeer::PRO_DERIVATION_SCREEN_TPL => 34, ProcessPeer::PRO_COST => 35, ProcessPeer::PRO_UNIT_COST => 36, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID' => 0, 'PRO_TITLE' => 1, 'PRO_DESCRIPTION' => 2, 'PRO_PARENT' => 3, 'PRO_TIME' => 4, 'PRO_TIMEUNIT' => 5, 'PRO_STATUS' => 6, 'PRO_TYPE_DAY' => 7, 'PRO_TYPE' => 8, 'PRO_ASSIGNMENT' => 9, 'PRO_SHOW_MAP' => 10, 'PRO_SHOW_MESSAGE' => 11, 'PRO_SUBPROCESS' => 12, 'PRO_TRI_OPEN' => 13, 'PRO_TRI_DELETED' => 14, 'PRO_TRI_CANCELED' => 15, 'PRO_TRI_PAUSED' => 16, 'PRO_TRI_REASSIGNED' => 17, 'PRO_TRI_UNPAUSED' => 18, 'PRO_TYPE_PROCESS' => 19, 'PRO_SHOW_DELEGATE' => 20, 'PRO_SHOW_DYNAFORM' => 21, 'PRO_CATEGORY' => 22, 'PRO_SUB_CATEGORY' => 23, 'PRO_INDUSTRY' => 24, 'PRO_UPDATE_DATE' => 25, 'PRO_CREATE_DATE' => 26, 'PRO_CREATE_USER' => 27, 'PRO_HEIGHT' => 28, 'PRO_WIDTH' => 29, 'PRO_TITLE_X' => 30, 'PRO_TITLE_Y' => 31, 'PRO_DEBUG' => 32, 'PRO_DYNAFORMS' => 33, 'PRO_DERIVATION_SCREEN_TPL' => 34, 'PRO_COST' => 35, 'PRO_UNIT_COST' => 36, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, )
);
/**
@@ -266,6 +272,10 @@ abstract class BaseProcessPeer
$criteria->addSelectColumn(ProcessPeer::PRO_UID);
$criteria->addSelectColumn(ProcessPeer::PRO_TITLE);
$criteria->addSelectColumn(ProcessPeer::PRO_DESCRIPTION);
$criteria->addSelectColumn(ProcessPeer::PRO_PARENT);
$criteria->addSelectColumn(ProcessPeer::PRO_TIME);