📄 mwfnodenext.java
字号:
/******************************************************************************
* The contents of this file are subject to the Compiere License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* You may obtain a copy of the License at http://www.compiere.org/license.html
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
* The Original Code is Compiere ERP & CRM Business Solution
* The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc.
* Portions created by Jorg Janke are Copyright (C) 1999-2002 Jorg Janke, parts
* created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved.
* Contributor(s): ______________________________________.
*****************************************************************************/
package org.compiere.model;
import java.util.*;
import java.sql.*;
/**
* Workflow Node Next
*
* @author Jorg Janke
* @version $Id: MWFNodeNext.java,v 1.1 2002/12/05 05:41:31 jjanke Exp $
*/
public class MWFNodeNext extends PO
{
/**
* Default Constructor
* @param ctx context
* @param rs result set to load info from
*/
public MWFNodeNext (Properties ctx, ResultSet rs)
{
super (ctx, rs);
} // MWFNodeNext
/**
* Create new
* @param ctx context
* @param AD_WF_Node_ID Node
* @param AD_WF_Next_ID Next
* @param condition Condition
*/
public MWFNodeNext (Properties ctx, int AD_WF_Node_ID, int AD_WF_Next_ID, String condition)
{
super (ctx, 0);
setValue ("AD_WF_Node_ID", new Integer(AD_WF_Node_ID));
setValue ("AD_WF_Next_ID", new Integer(AD_WF_Next_ID));
setCondition (condition);
save();
} // MWFNodeNext
/*************************************************************************/
/**
* Initialize and return PO_Info
* @param ctx context
* @return POInfo
*/
protected POInfo initPO (Properties ctx)
{
int AD_Table_ID = 131;
POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID);
return poi;
} // initPO
/*************************************************************************/
/**
* Get Node ID
* @return node id
*/
public int getAD_WF_Node_ID()
{
Integer ii = (Integer)getValue("AD_WF_Node_ID");
if (ii != null)
return ii.intValue();
return 0;
} // getAD_WF_Node_ID
/**
* Get Next Node ID
* @return Next AD_WF_Node_ID
*/
public int getAD_WF_Next_ID()
{
Integer ii = (Integer)getValue("AD_WF_Next_ID");
if (ii != null)
return ii.intValue();
return 0;
} // getAD_WF_Next_ID
/**
* Get Condition
* @return Condition
*/
public String getCondition()
{
return (String)getValue("Condition");
} // getCondition
/**
* Set Condition
* @param condition Condition
*/
public void setCondition (String condition)
{
setValue("Condition", condition);
} // setCondition
} // MWFNodeNext
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -