Compiere 3.1

org.compiere.model
Class X_AD_Workflow

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_AD_Workflow
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee
Direct Known Subclasses:
MWorkflow

public class X_AD_Workflow
extends PO

Generated Model for AD_Workflow

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
static int ACCESSLEVEL_AD_Reference_ID
          AccessLevel AD_Reference_ID=5
static String ACCESSLEVEL_All
          All = 7
static String ACCESSLEVEL_Organization
          Organization = 1
static String ACCESSLEVEL_SystemOnly
          System only = 4
static String ACCESSLEVEL_SystemPlusTenant
          System+Tenant = 6
static String ACCESSLEVEL_TenantOnly
          Tenant only = 2
static String ACCESSLEVEL_TenantPlusOrganization
          Tenant+Organization = 3
static int DURATIONUNIT_AD_Reference_ID
          DurationUnit AD_Reference_ID=299
static String DURATIONUNIT_Day
          Day = D
static String DURATIONUNIT_Hour
          hour = h
static String DURATIONUNIT_Minute
          minute = m
static String DURATIONUNIT_Month
          Month = M
static String DURATIONUNIT_Second
          second = s
static String DURATIONUNIT_Year
          Year = Y
static int ENTITYTYPE_AD_Reference_ID
          EntityType AD_Reference_ID=389
protected static KeyNamePair Model
           
static int PUBLISHSTATUS_AD_Reference_ID
          PublishStatus AD_Reference_ID=310
static String PUBLISHSTATUS_Released
          Released = R
static String PUBLISHSTATUS_Test
          Test = T
static String PUBLISHSTATUS_UnderRevision
          Under Revision = U
static String PUBLISHSTATUS_Void
          Void = V
static int Table_ID
          AD_Table_ID=117
static String Table_Name
          TableName=AD_Workflow
static long updatedMS
          Last Updated Timestamp 2008-06-10 15:12:06.0
static int WORKFLOWTYPE_AD_Reference_ID
          WorkflowType AD_Reference_ID=328
static String WORKFLOWTYPE_DocumentProcess
          Document Process = P
static String WORKFLOWTYPE_DocumentValue
          Document Value = V
static String WORKFLOWTYPE_General
          General = G
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
X_AD_Workflow(Ctx ctx, int AD_Workflow_ID, String trxName)
          Standard Constructor
X_AD_Workflow(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 String getAccessLevel()
          Get Data Access Level.
 int getAD_Table_ID()
          Get Table.
 int getAD_WF_Node_ID()
          Get Node.
 int getAD_WF_Responsible_ID()
          Get Workflow Responsible.
 int getAD_Workflow_ID()
          Get Workflow.
 int getAD_WorkflowProcessor_ID()
          Get Workflow Processor.
 String getAuthor()
          Get Author.
 BigDecimal getCost()
          Get Cost.
 String getDescription()
          Get Description.
 String getDocValueLogic()
          Get Document Value Logic.
 int getDuration()
          Get Duration.
 int getDurationLimit()
          Get Duration Limit.
 String getDurationUnit()
          Get Duration Unit.
 String getEntityType()
          Get Entity Type.
 String getHelp()
          Get Comment.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getName()
          Get Name.
 int getPriority()
          Get Priority.
 String getPublishStatus()
          Get Publication Status.
 String getValidateWorkflow()
          Get Validate Workflow.
 Timestamp getValidFrom()
          Get Valid from.
 Timestamp getValidTo()
          Get Valid to.
 String getValue()
          Get Search Key.
 int getVersion()
          Get Version.
 int getWaitingTime()
          Get Waiting Time.
 String getWorkflowType()
          Get Workflow Type.
 int getWorkingTime()
          Get Working Time.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isAccessLevelValid(String test)
          Is test a valid value.
 boolean isDefault()
          Get Default.
 boolean isDurationUnitValid(String test)
          Is test a valid value.
 boolean isPublishStatusValid(String test)
          Is test a valid value.
 boolean isValid()
          Get Valid.
 boolean isWorkflowTypeValid(String test)
          Is test a valid value.
 void setAccessLevel(String AccessLevel)
          Set Data Access Level.
 void setAD_Table_ID(int AD_Table_ID)
          Set Table.
 void setAD_WF_Node_ID(int AD_WF_Node_ID)
          Set Node.
 void setAD_WF_Responsible_ID(int AD_WF_Responsible_ID)
          Set Workflow Responsible.
 void setAD_Workflow_ID(int AD_Workflow_ID)
          Set Workflow.
 void setAD_WorkflowProcessor_ID(int AD_WorkflowProcessor_ID)
          Set Workflow Processor.
 void setAuthor(String Author)
          Set Author.
 void setCost(BigDecimal Cost)
          Set Cost.
 void setDescription(String Description)
          Set Description.
 void setDocValueLogic(String DocValueLogic)
          Set Document Value Logic.
 void setDuration(int Duration)
          Set Duration.
 void setDurationLimit(int DurationLimit)
          Set Duration Limit.
 void setDurationUnit(String DurationUnit)
          Set Duration Unit.
 void setEntityType(String EntityType)
          Set Entity Type.
 void setHelp(String Help)
          Set Comment.
 void setIsDefault(boolean IsDefault)
          Set Default.
 void setIsValid(boolean IsValid)
          Set Valid.
 void setName(String Name)
          Set Name.
 void setPriority(int Priority)
          Set Priority.
 void setPublishStatus(String PublishStatus)
          Set Publication Status.
 void setValidateWorkflow(String ValidateWorkflow)
          Set Validate Workflow.
 void setValidFrom(Timestamp ValidFrom)
          Set Valid from.
 void setValidTo(Timestamp ValidTo)
          Set Valid to.
 void setValue(String Value)
          Set Search Key.
 void setVersion(int Version)
          Set Version.
 void setWaitingTime(int WaitingTime)
          Set Waiting Time.
 void setWorkflowType(String WorkflowType)
          Set Workflow Type.
 void setWorkingTime(int WorkingTime)
          Set Working Time.
 String toString()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=117

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=AD_Workflow

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

ACCESSLEVEL_AD_Reference_ID

public static final int ACCESSLEVEL_AD_Reference_ID
AccessLevel AD_Reference_ID=5

See Also:
Constant Field Values

ACCESSLEVEL_Organization

public static final String ACCESSLEVEL_Organization
Organization = 1

See Also:
Constant Field Values

ACCESSLEVEL_TenantOnly

public static final String ACCESSLEVEL_TenantOnly
Tenant only = 2

See Also:
Constant Field Values

ACCESSLEVEL_TenantPlusOrganization

public static final String ACCESSLEVEL_TenantPlusOrganization
Tenant+Organization = 3

See Also:
Constant Field Values

ACCESSLEVEL_SystemOnly

public static final String ACCESSLEVEL_SystemOnly
System only = 4

See Also:
Constant Field Values

ACCESSLEVEL_SystemPlusTenant

public static final String ACCESSLEVEL_SystemPlusTenant
System+Tenant = 6

See Also:
Constant Field Values

ACCESSLEVEL_All

public static final String ACCESSLEVEL_All
All = 7

See Also:
Constant Field Values

DURATIONUNIT_AD_Reference_ID

public static final int DURATIONUNIT_AD_Reference_ID
DurationUnit AD_Reference_ID=299

See Also:
Constant Field Values

DURATIONUNIT_Day

public static final String DURATIONUNIT_Day
Day = D

See Also:
Constant Field Values

DURATIONUNIT_Month

public static final String DURATIONUNIT_Month
Month = M

See Also:
Constant Field Values

DURATIONUNIT_Year

public static final String DURATIONUNIT_Year
Year = Y

See Also:
Constant Field Values

DURATIONUNIT_Hour

public static final String DURATIONUNIT_Hour
hour = h

See Also:
Constant Field Values

DURATIONUNIT_Minute

public static final String DURATIONUNIT_Minute
minute = m

See Also:
Constant Field Values

DURATIONUNIT_Second

public static final String DURATIONUNIT_Second
second = s

See Also:
Constant Field Values

ENTITYTYPE_AD_Reference_ID

public static final int ENTITYTYPE_AD_Reference_ID
EntityType AD_Reference_ID=389

See Also:
Constant Field Values

PUBLISHSTATUS_AD_Reference_ID

public static final int PUBLISHSTATUS_AD_Reference_ID
PublishStatus AD_Reference_ID=310

See Also:
Constant Field Values

PUBLISHSTATUS_Released

public static final String PUBLISHSTATUS_Released
Released = R

See Also:
Constant Field Values

PUBLISHSTATUS_Test

public static final String PUBLISHSTATUS_Test
Test = T

See Also:
Constant Field Values

PUBLISHSTATUS_UnderRevision

public static final String PUBLISHSTATUS_UnderRevision
Under Revision = U

See Also:
Constant Field Values

PUBLISHSTATUS_Void

public static final String PUBLISHSTATUS_Void
Void = V

See Also:
Constant Field Values

WORKFLOWTYPE_AD_Reference_ID

public static final int WORKFLOWTYPE_AD_Reference_ID
WorkflowType AD_Reference_ID=328

See Also:
Constant Field Values

WORKFLOWTYPE_General

public static final String WORKFLOWTYPE_General
General = G

See Also:
Constant Field Values

WORKFLOWTYPE_DocumentProcess

public static final String WORKFLOWTYPE_DocumentProcess
Document Process = P

See Also:
Constant Field Values

WORKFLOWTYPE_DocumentValue

public static final String WORKFLOWTYPE_DocumentValue
Document Value = V

See Also:
Constant Field Values
Constructor Detail

X_AD_Workflow

public X_AD_Workflow(Ctx ctx,
                     int AD_Workflow_ID,
                     String trxName)
Standard Constructor

Parameters:
ctx - context
AD_Workflow_ID - id
trxName - transaction

X_AD_Workflow

public X_AD_Workflow(Ctx ctx,
                     ResultSet rs,
                     String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
6 - System - Client

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
PO Info

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAD_Table_ID

public void setAD_Table_ID(int AD_Table_ID)
Set Table.

Parameters:
AD_Table_ID - Database Table information

getAD_Table_ID

public int getAD_Table_ID()
Get Table.

Returns:
Database Table information

setAD_WF_Node_ID

public void setAD_WF_Node_ID(int AD_WF_Node_ID)
Set Node.

Parameters:
AD_WF_Node_ID - Workflow Node (activity), step or process

getAD_WF_Node_ID

public int getAD_WF_Node_ID()
Get Node.

Returns:
Workflow Node (activity), step or process

setAD_WF_Responsible_ID

public void setAD_WF_Responsible_ID(int AD_WF_Responsible_ID)
Set Workflow Responsible.

Parameters:
AD_WF_Responsible_ID - Responsible for Workflow Execution

getAD_WF_Responsible_ID

public int getAD_WF_Responsible_ID()
Get Workflow Responsible.

Returns:
Responsible for Workflow Execution

setAD_WorkflowProcessor_ID

public void setAD_WorkflowProcessor_ID(int AD_WorkflowProcessor_ID)
Set Workflow Processor.

Parameters:
AD_WorkflowProcessor_ID - Workflow Processor Server

getAD_WorkflowProcessor_ID

public int getAD_WorkflowProcessor_ID()
Get Workflow Processor.

Returns:
Workflow Processor Server

setAD_Workflow_ID

public void setAD_Workflow_ID(int AD_Workflow_ID)
Set Workflow.

Parameters:
AD_Workflow_ID - Workflow or combination of tasks

getAD_Workflow_ID

public int getAD_Workflow_ID()
Get Workflow.

Returns:
Workflow or combination of tasks

isAccessLevelValid

public boolean isAccessLevelValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setAccessLevel

public void setAccessLevel(String AccessLevel)
Set Data Access Level.

Parameters:
AccessLevel - Access Level required

getAccessLevel

public String getAccessLevel()
Get Data Access Level.

Returns:
Access Level required

setAuthor

public void setAuthor(String Author)
Set Author.

Parameters:
Author - Author/Creator of the Entity

getAuthor

public String getAuthor()
Get Author.

Returns:
Author/Creator of the Entity

setCost

public void setCost(BigDecimal Cost)
Set Cost.

Parameters:
Cost - Cost information

getCost

public BigDecimal getCost()
Get Cost.

Returns:
Cost information

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

setDocValueLogic

public void setDocValueLogic(String DocValueLogic)
Set Document Value Logic.

Parameters:
DocValueLogic - Logic to determine Workflow Start - If true, a workflow process is started for the document

getDocValueLogic

public String getDocValueLogic()
Get Document Value Logic.

Returns:
Logic to determine Workflow Start - If true, a workflow process is started for the document

setDuration

public void setDuration(int Duration)
Set Duration.

Parameters:
Duration - Normal Duration in Duration Unit

getDuration

public int getDuration()
Get Duration.

Returns:
Normal Duration in Duration Unit

setDurationLimit

public void setDurationLimit(int DurationLimit)
Set Duration Limit.

Parameters:
DurationLimit - Maximum Duration in Duration Unit

getDurationLimit

public int getDurationLimit()
Get Duration Limit.

Returns:
Maximum Duration in Duration Unit

isDurationUnitValid

public boolean isDurationUnitValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setDurationUnit

public void setDurationUnit(String DurationUnit)
Set Duration Unit.

Parameters:
DurationUnit - Unit of Duration

getDurationUnit

public String getDurationUnit()
Get Duration Unit.

Returns:
Unit of Duration

setEntityType

public void setEntityType(String EntityType)
Set Entity Type.

Parameters:
EntityType - Dictionary Entity Type; Determines ownership and synchronization

getEntityType

public String getEntityType()
Get Entity Type.

Returns:
Dictionary Entity Type; Determines ownership and synchronization

setHelp

public void setHelp(String Help)
Set Comment.

Parameters:
Help - Comment, Help or Hint

getHelp

public String getHelp()
Get Comment.

Returns:
Comment, Help or Hint

setIsDefault

public void setIsDefault(boolean IsDefault)
Set Default.

Parameters:
IsDefault - Default value

isDefault

public boolean isDefault()
Get Default.

Returns:
Default value

setIsValid

public void setIsValid(boolean IsValid)
Set Valid.

Parameters:
IsValid - Element is valid

isValid

public boolean isValid()
Get Valid.

Returns:
Element is valid

setName

public void setName(String Name)
Set Name.

Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setPriority

public void setPriority(int Priority)
Set Priority.

Parameters:
Priority - Indicates if this request is of a high, medium or low priority.

getPriority

public int getPriority()
Get Priority.

Returns:
Indicates if this request is of a high, medium or low priority.

isPublishStatusValid

public boolean isPublishStatusValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setPublishStatus

public void setPublishStatus(String PublishStatus)
Set Publication Status.

Parameters:
PublishStatus - Status of Publication

getPublishStatus

public String getPublishStatus()
Get Publication Status.

Returns:
Status of Publication

setValidFrom

public void setValidFrom(Timestamp ValidFrom)
Set Valid from.

Parameters:
ValidFrom - Valid from including this date (first day)

getValidFrom

public Timestamp getValidFrom()
Get Valid from.

Returns:
Valid from including this date (first day)

setValidTo

public void setValidTo(Timestamp ValidTo)
Set Valid to.

Parameters:
ValidTo - Valid to including this date (last day)

getValidTo

public Timestamp getValidTo()
Get Valid to.

Returns:
Valid to including this date (last day)

setValidateWorkflow

public void setValidateWorkflow(String ValidateWorkflow)
Set Validate Workflow.

Parameters:
ValidateWorkflow - Validate Workflow

getValidateWorkflow

public String getValidateWorkflow()
Get Validate Workflow.

Returns:
Validate Workflow

setValue

public void setValue(String Value)
Set Search Key.

Parameters:
Value - Search key for the record in the format required - must be unique

getValue

public String getValue()
Get Search Key.

Returns:
Search key for the record in the format required - must be unique

setVersion

public void setVersion(int Version)
Set Version.

Parameters:
Version - Version of the table definition

getVersion

public int getVersion()
Get Version.

Returns:
Version of the table definition

setWaitingTime

public void setWaitingTime(int WaitingTime)
Set Waiting Time.

Parameters:
WaitingTime - Workflow Simulation Waiting time

getWaitingTime

public int getWaitingTime()
Get Waiting Time.

Returns:
Workflow Simulation Waiting time

isWorkflowTypeValid

public boolean isWorkflowTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setWorkflowType

public void setWorkflowType(String WorkflowType)
Set Workflow Type.

Parameters:
WorkflowType - Type of Workflow

getWorkflowType

public String getWorkflowType()
Get Workflow Type.

Returns:
Type of Workflow

setWorkingTime

public void setWorkingTime(int WorkingTime)
Set Working Time.

Parameters:
WorkingTime - Workflow Simulation Execution Time

getWorkingTime

public int getWorkingTime()
Get Working Time.

Returns:
Workflow Simulation Execution Time

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.