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_C_CyclePhase extends PO 11 { 12 13 public X_C_CyclePhase (Properties ctx, int C_CyclePhase_ID) 14 { 15 super (ctx, C_CyclePhase_ID); 16 22 } 23 24 public X_C_CyclePhase (Properties ctx, ResultSet rs) 25 { 26 super (ctx, rs); 27 } 28 29 protected POInfo initPO (Properties ctx) 30 { 31 int AD_Table_ID = 433; 32 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID); 33 return poi; 34 } 35 public String toString() 36 { 37 StringBuffer sb = new StringBuffer ("X_C_CyclePhase[").append(getID()).append("]"); 38 return sb.toString(); 39 } 40 void setC_CycleStep_ID (int C_CycleStep_ID) 41 { 42 setValueNoCheck ("C_CycleStep_ID", new Integer (C_CycleStep_ID)); 43 } 44 public int getC_CycleStep_ID() 45 { 46 Integer ii = (Integer )getValue("C_CycleStep_ID"); 47 if (ii == null) return 0; 48 return ii.intValue(); 49 } 50 void setC_Phase_ID (int C_Phase_ID) 51 { 52 setValueNoCheck ("C_Phase_ID", new Integer (C_Phase_ID)); 53 } 54 public int getC_Phase_ID() 55 { 56 Integer ii = (Integer )getValue("C_Phase_ID"); 57 if (ii == null) return 0; 58 return ii.intValue(); 59 } 60 } 61
| Popular Tags
|