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_FieldGroup extends PO 11 { 12 13 public X_AD_FieldGroup (Properties ctx, int AD_FieldGroup_ID) 14 { 15 super (ctx, AD_FieldGroup_ID); 16 22 } 23 24 public X_AD_FieldGroup (Properties ctx, ResultSet rs) 25 { 26 super (ctx, rs); 27 } 28 29 protected POInfo initPO (Properties ctx) 30 { 31 int AD_Table_ID = 414; 32 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID); 33 return poi; 34 } 35 public String toString() 36 { 37 StringBuffer sb = new StringBuffer ("X_AD_FieldGroup[").append(getID()).append("]"); 38 return sb.toString(); 39 } 40 void setAD_FieldGroup_ID (int AD_FieldGroup_ID) 41 { 42 setValueNoCheck ("AD_FieldGroup_ID", new Integer (AD_FieldGroup_ID)); 43 } 44 public int getAD_FieldGroup_ID() 45 { 46 Integer ii = (Integer )getValue("AD_FieldGroup_ID"); 47 if (ii == null) return 0; 48 return ii.intValue(); 49 } 50 public void setName (String Name) 51 { 52 if (Name == null) throw new IllegalArgumentException ("Name is mandatory"); 53 setValue ("Name", Name); 54 } 55 public String getName() 56 { 57 return (String )getValue("Name"); 58 } 59 } 60
| Popular Tags
|