1 2 package org.compiere.model; 3 import java.util.*; 4 import java.sql.*; 5 import java.math.*; 6 import java.io.Serializable ; 7 import org.compiere.util.*; 8 10 public class X_AD_WF_NodeNext extends PO 11 { 12 13 public X_AD_WF_NodeNext (Properties ctx, int AD_WF_NodeNext_ID) 14 { 15 super (ctx, AD_WF_NodeNext_ID); 16 23 } 24 25 public X_AD_WF_NodeNext (Properties ctx, ResultSet rs) 26 { 27 super (ctx, rs); 28 } 29 30 protected POInfo initPO (Properties ctx) 31 { 32 int AD_Table_ID = 131; 33 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID); 34 return poi; 35 } 36 public String toString() 37 { 38 StringBuffer sb = new StringBuffer ("X_AD_WF_NodeNext[").append(getID()).append("]"); 39 return sb.toString(); 40 } 41 public void setAD_WF_Next_ID (int AD_WF_Next_ID) 42 { 43 setValue ("AD_WF_Next_ID", new Integer (AD_WF_Next_ID)); 44 } 45 public int getAD_WF_Next_ID() 46 { 47 Integer ii = (Integer )getValue("AD_WF_Next_ID"); 48 if (ii == null) return 0; 49 return ii.intValue(); 50 } 51 void setAD_WF_Node_ID (int AD_WF_Node_ID) 52 { 53 setValueNoCheck ("AD_WF_Node_ID", new Integer (AD_WF_Node_ID)); 54 } 55 public int getAD_WF_Node_ID() 56 { 57 Integer ii = (Integer )getValue("AD_WF_Node_ID"); 58 if (ii == null) return 0; 59 return ii.intValue(); 60 } 61 public void setCondition (String Condition) 62 { 63 if (Condition == null) throw new IllegalArgumentException ("Condition is mandatory"); 64 setValue ("Condition", Condition); 65 } 66 public String getCondition() 67 { 68 return (String )getValue("Condition"); 69 } 70 } 71
| Popular Tags
|