KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > compiere > model > X_AD_Attribute_Value


1 /** Generated Model - DO NOT CHANGE - Copyright (C) 1999-2003 Jorg Janke **/
2 package org.compiere.model;
3 import java.util.*;
4 import java.sql.*;
5 import java.math.*;
6 import java.io.Serializable JavaDoc;
7 import org.compiere.util.*;
8 /** Generated Model for AD_Attribute_Value
9  ** @version $Id: X_AD_Attribute_Value.java,v 1.27 2003/10/31 05:30:54 jjanke Exp $ **/

10 public class X_AD_Attribute_Value extends PO
11 {
12 /** Standard Constructor **/
13 public X_AD_Attribute_Value (Properties ctx, int AD_Attribute_Value_ID)
14 {
15 super (ctx, AD_Attribute_Value_ID);
16 /** if (AD_Attribute_Value_ID == 0)
17 {
18 setAD_Attribute_ID (0);
19 setRecord_ID (0);
20 }
21  **/

22 }
23 /** Load Constructor **/
24 public X_AD_Attribute_Value (Properties ctx, ResultSet rs)
25 {
26 super (ctx, rs);
27 }
28 /** Load Meta Data **/
29 protected POInfo initPO (Properties ctx)
30 {
31 int AD_Table_ID = 406;
32 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID);
33 return poi;
34 }
35 public String JavaDoc toString()
36 {
37 StringBuffer JavaDoc sb = new StringBuffer JavaDoc ("X_AD_Attribute_Value[").append(getID()).append("]");
38 return sb.toString();
39 }
40 void setAD_Attribute_ID (int AD_Attribute_ID)
41 {
42 setValueNoCheck ("AD_Attribute_ID", new Integer JavaDoc(AD_Attribute_ID));
43 }
44 public int getAD_Attribute_ID()
45 {
46 Integer JavaDoc ii = (Integer JavaDoc)getValue("AD_Attribute_ID");
47 if (ii == null) return 0;
48 return ii.intValue();
49 }
50 void setRecord_ID (int Record_ID)
51 {
52 setValueNoCheck ("Record_ID", new Integer JavaDoc(Record_ID));
53 }
54 public int getRecord_ID()
55 {
56 Integer JavaDoc ii = (Integer JavaDoc)getValue("Record_ID");
57 if (ii == null) return 0;
58 return ii.intValue();
59 }
60 public void setV_Date (Timestamp V_Date)
61 {
62 setValue ("V_Date", V_Date);
63 }
64 public Timestamp getV_Date()
65 {
66 return (Timestamp)getValue("V_Date");
67 }
68 public void setV_Number (String JavaDoc V_Number)
69 {
70 setValue ("V_Number", V_Number);
71 }
72 public String JavaDoc getV_Number()
73 {
74 return (String JavaDoc)getValue("V_Number");
75 }
76 public void setV_String (String JavaDoc V_String)
77 {
78 setValue ("V_String", V_String);
79 }
80 public String JavaDoc getV_String()
81 {
82 return (String JavaDoc)getValue("V_String");
83 }
84 }
85
Popular Tags