📄 x_ad_wf_node.java
字号:
DynPriorityUnit = DynPriorityUnit.substring(0,0);
}
set_Value ("DynPriorityUnit", DynPriorityUnit);
}
/** Get Dynamic Priority Unit.
Change of priority when Activity is suspended waiting for user */
public String getDynPriorityUnit()
{
return (String)get_Value("DynPriorityUnit");
}
/** Set EMail Address.
Electronic Mail Address */
public void setEMail (String EMail)
{
if (EMail != null && EMail.length() > 60)
{
log.warning("Length > 60 - truncated");
EMail = EMail.substring(0,59);
}
set_Value ("EMail", EMail);
}
/** Get EMail Address.
Electronic Mail Address */
public String getEMail()
{
return (String)get_Value("EMail");
}
/** EMailRecipient AD_Reference_ID=363 */
public static final int EMAILRECIPIENT_AD_Reference_ID=363;
/** Document Business Partner = B */
public static final String EMAILRECIPIENT_DocumentBusinessPartner = "B";
/** Document Owner = D */
public static final String EMAILRECIPIENT_DocumentOwner = "D";
/** WF Responsible = R */
public static final String EMAILRECIPIENT_WFResponsible = "R";
/** Set EMail Recipient.
Recipient of the EMail */
public void setEMailRecipient (String EMailRecipient)
{
if (EMailRecipient == null) throw new IllegalArgumentException ("EMailRecipient is mandatory");
if (EMailRecipient == null || EMailRecipient.equals("B") || EMailRecipient.equals("D") || EMailRecipient.equals("R"));
else throw new IllegalArgumentException ("EMailRecipient Invalid value - " + EMailRecipient + " - Reference_ID=363 - B - D - R");
if (EMailRecipient != null && EMailRecipient.length() > 1)
{
log.warning("Length > 1 - truncated");
EMailRecipient = EMailRecipient.substring(0,0);
}
set_Value ("EMailRecipient", EMailRecipient);
}
/** Get EMail Recipient.
Recipient of the EMail */
public String getEMailRecipient()
{
return (String)get_Value("EMailRecipient");
}
/** EntityType AD_Reference_ID=245 */
public static final int ENTITYTYPE_AD_Reference_ID=245;
/** Applications = A */
public static final String ENTITYTYPE_Applications = "A";
/** Compiere = C */
public static final String ENTITYTYPE_Compiere = "C";
/** Customization = CUST */
public static final String ENTITYTYPE_Customization = "CUST";
/** Dictionary = D */
public static final String ENTITYTYPE_Dictionary = "D";
/** User maintained = U */
public static final String ENTITYTYPE_UserMaintained = "U";
/** Set Entity Type.
Dictionary Entity Type;
Determines ownership and synchronization */
public void setEntityType (String EntityType)
{
if (EntityType == null) throw new IllegalArgumentException ("EntityType is mandatory");
if (EntityType.length() > 4)
{
log.warning("Length > 4 - truncated");
EntityType = EntityType.substring(0,3);
}
set_Value ("EntityType", EntityType);
}
/** Get Entity Type.
Dictionary Entity Type;
Determines ownership and synchronization */
public String getEntityType()
{
return (String)get_Value("EntityType");
}
/** FinishMode AD_Reference_ID=303 */
public static final int FINISHMODE_AD_Reference_ID=303;
/** Automatic = A */
public static final String FINISHMODE_Automatic = "A";
/** Manual = M */
public static final String FINISHMODE_Manual = "M";
/** Set Finish Mode.
Workflow Activity Finish Mode */
public void setFinishMode (String FinishMode)
{
if (FinishMode == null) throw new IllegalArgumentException ("FinishMode is mandatory");
if (FinishMode == null || FinishMode.equals("A") || FinishMode.equals("M"));
else throw new IllegalArgumentException ("FinishMode Invalid value - " + FinishMode + " - Reference_ID=303 - A - M");
if (FinishMode != null && FinishMode.length() > 1)
{
log.warning("Length > 1 - truncated");
FinishMode = FinishMode.substring(0,0);
}
set_Value ("FinishMode", FinishMode);
}
/** Get Finish Mode.
Workflow Activity Finish Mode */
public String getFinishMode()
{
return (String)get_Value("FinishMode");
}
/** Set Comment/Help.
Comment or Hint */
public void setHelp (String Help)
{
if (Help != null && Help.length() > 2000)
{
log.warning("Length > 2000 - truncated");
Help = Help.substring(0,1999);
}
set_Value ("Help", Help);
}
/** Get Comment/Help.
Comment or Hint */
public String getHelp()
{
return (String)get_Value("Help");
}
/** Set Centrally maintained.
Information maintained in System Element table */
public void setIsCentrallyMaintained (boolean IsCentrallyMaintained)
{
set_Value ("IsCentrallyMaintained", new Boolean(IsCentrallyMaintained));
}
/** Get Centrally maintained.
Information maintained in System Element table */
public boolean isCentrallyMaintained()
{
Object oo = get_Value("IsCentrallyMaintained");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** JoinElement AD_Reference_ID=301 */
public static final int JOINELEMENT_AD_Reference_ID=301;
/** AND = A */
public static final String JOINELEMENT_AND = "A";
/** XOR = X */
public static final String JOINELEMENT_XOR = "X";
/** Set Join Element.
Semantics for multiple incoming Transitions */
public void setJoinElement (String JoinElement)
{
if (JoinElement == null) throw new IllegalArgumentException ("JoinElement is mandatory");
if (JoinElement.equals("A") || JoinElement.equals("X"));
else throw new IllegalArgumentException ("JoinElement Invalid value - " + JoinElement + " - Reference_ID=301 - A - X");
if (JoinElement.length() > 1)
{
log.warning("Length > 1 - truncated");
JoinElement = JoinElement.substring(0,0);
}
set_Value ("JoinElement", JoinElement);
}
/** Get Join Element.
Semantics for multiple incoming Transitions */
public String getJoinElement()
{
return (String)get_Value("JoinElement");
}
/** Set Duration Limit.
Maximum Duration in Duration Unit */
public void setLimit (int Limit)
{
set_Value ("Limit", new Integer(Limit));
}
/** Get Duration Limit.
Maximum Duration in Duration Unit */
public int getLimit()
{
Integer ii = (Integer)get_Value("Limit");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Name.
Alphanumeric identifier of the entity */
public void setName (String Name)
{
if (Name == null) throw new IllegalArgumentException ("Name is mandatory.");
if (Name.length() > 60)
{
log.warning("Length > 60 - truncated");
Name = Name.substring(0,59);
}
set_Value ("Name", Name);
}
/** Get Name.
Alphanumeric identifier of the entity */
public String getName()
{
return (String)get_Value("Name");
}
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getName());
}
/** Set Priority.
Indicates if this request is of a high, medium or low priority. */
public void setPriority (int Priority)
{
set_Value ("Priority", new Integer(Priority));
}
/** Get Priority.
Indicates if this request is of a high, medium or low priority. */
public int getPriority()
{
Integer ii = (Integer)get_Value("Priority");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Mail Template.
Text templates for mailings */
public void setR_MailText_ID (int R_MailText_ID)
{
if (R_MailText_ID <= 0) set_Value ("R_MailText_ID", null);
else
set_Value ("R_MailText_ID", new Integer(R_MailText_ID));
}
/** Get Mail Template.
Text templates for mailings */
public int getR_MailText_ID()
{
Integer ii = (Integer)get_Value("R_MailText_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** SplitElement AD_Reference_ID=301 */
public static final int SPLITELEMENT_AD_Reference_ID=301;
/** AND = A */
public static final String SPLITELEMENT_AND = "A";
/** XOR = X */
public static final String SPLITELEMENT_XOR = "X";
/** Set Split Element.
Semantics for multiple outgoing Transitions */
public void setSplitElement (String SplitElement)
{
if (SplitElement == null) throw new IllegalArgumentException ("SplitElement is mandatory");
if (SplitElement.equals("A") || SplitElement.equals("X"));
else throw new IllegalArgumentException ("SplitElement Invalid value - " + SplitElement + " - Reference_ID=301 - A - X");
if (SplitElement.length() > 1)
{
log.warning("Length > 1 - truncated");
SplitElement = SplitElement.substring(0,0);
}
set_Value ("SplitElement", SplitElement);
}
/** Get Split Element.
Semantics for multiple outgoing Transitions */
public String getSplitElement()
{
return (String)get_Value("SplitElement");
}
/** StartMode AD_Reference_ID=303 */
public static final int STARTMODE_AD_Reference_ID=303;
/** Automatic = A */
public static final String STARTMODE_Automatic = "A";
/** Manual = M */
public static final String STARTMODE_Manual = "M";
/** Set Start Mode.
Workflow Activity Start Mode */
public void setStartMode (String StartMode)
{
if (StartMode == null) throw new IllegalArgumentException ("StartMode is mandatory");
if (StartMode == null || StartMode.equals("A") || StartMode.equals("M"));
else throw new IllegalArgumentException ("StartMode Invalid value - " + StartMode + " - Reference_ID=303 - A - M");
if (StartMode != null && StartMode.length() > 1)
{
log.warning("Length > 1 - truncated");
StartMode = StartMode.substring(0,0);
}
set_Value ("StartMode", StartMode);
}
/** Get Start Mode.
Workflow Activity Start Mode */
public String getStartMode()
{
return (String)get_Value("StartMode");
}
/** SubflowExecution AD_Reference_ID=307 */
public static final int SUBFLOWEXECUTION_AD_Reference_ID=307;
/** Asynchronously = A */
public static final String SUBFLOWEXECUTION_Asynchronously = "A";
/** Synchronously = S */
public static final String SUBFLOWEXECUTION_Synchronously = "S";
/** Set Subflow Execution.
Mode how the sub-workflow is executed */
public void setSubflowExecution (String SubflowExecution)
{
if (SubflowExecution == null) throw new IllegalArgumentException ("SubflowExecution is mandatory");
if (SubflowExecution == null || SubflowExecution.equals("A") || SubflowExecution.equals("S"));
else throw new IllegalArgumentException ("SubflowExecution Invalid value - " + SubflowExecution + " - Reference_ID=307 - A - S");
if (SubflowExecution != null && SubflowExecution.length() > 1)
{
log.warning("Length > 1 - truncated");
SubflowExecution = SubflowExecution.substring(0,0);
}
set_Value ("SubflowExecution", SubflowExecution);
}
/** Get Subflow Execution.
Mode how the sub-workflow is executed */
public String getSubflowExecution()
{
return (String)get_Value("SubflowExecution");
}
/** Set Search Key.
Search key for the record in the format required - must be unique */
public void setValue (String Value)
{
if (Value == null) throw new IllegalArgumentException ("Value is mandatory.");
if (Value.length() > 40)
{
log.warning("Length > 40 - truncated");
Value = Value.substring(0,39);
}
set_Value ("Value", Value);
}
/** Get Search Key.
Search key for the record in the format required - must be unique */
public String getValue()
{
return (String)get_Value("Value");
}
/** Set Wait Time.
Time in minutes to wait (sleep) */
public void setWaitTime (int WaitTime)
{
set_Value ("WaitTime", new Integer(WaitTime));
}
/** Get Wait Time.
Time in minutes to wait (sleep) */
public int getWaitTime()
{
Integer ii = (Integer)get_Value("WaitTime");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Waiting Time.
Workflow Simulation Waiting time */
public void setWaitingTime (int WaitingTime)
{
set_Value ("WaitingTime", new Integer(WaitingTime));
}
/** Get Waiting Time.
Workflow Simulation Waiting time */
public int getWaitingTime()
{
Integer ii = (Integer)get_Value("WaitingTime");
if (ii == null) return 0;
return ii.intValue();
}
/** Workflow_ID AD_Reference_ID=174 */
public static final int WORKFLOW_ID_AD_Reference_ID=174;
/** Set Workflow.
Workflow or tasks */
public void setWorkflow_ID (int Workflow_ID)
{
if (Workflow_ID <= 0) set_Value ("Workflow_ID", null);
else
set_Value ("Workflow_ID", new Integer(Workflow_ID));
}
/** Get Workflow.
Workflow or tasks */
public int getWorkflow_ID()
{
Integer ii = (Integer)get_Value("Workflow_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Working Time.
Workflow Simulation Execution Time */
public void setWorkingTime (int WorkingTime)
{
set_Value ("WorkingTime", new Integer(WorkingTime));
}
/** Get Working Time.
Workflow Simulation Execution Time */
public int getWorkingTime()
{
Integer ii = (Integer)get_Value("WorkingTime");
if (ii == null) return 0;
return ii.intValue();
}
/** Set X Position.
Absolute X (horizontal) position in 1/72 of an inch */
public void setXPosition (int XPosition)
{
set_Value ("XPosition", new Integer(XPosition));
}
/** Get X Position.
Absolute X (horizontal) position in 1/72 of an inch */
public int getXPosition()
{
Integer ii = (Integer)get_Value("XPosition");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Y Position.
Absolute Y (vertical) position in 1/72 of an inch */
public void setYPosition (int YPosition)
{
set_Value ("YPosition", new Integer(YPosition));
}
/** Get Y Position.
Absolute Y (vertical) position in 1/72 of an inch */
public int getYPosition()
{
Integer ii = (Integer)get_Value("YPosition");
if (ii == null) return 0;
return ii.intValue();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -