KickJava   Java API By Example, From Geeks To Geeks.

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


1 /******************************************************************************
2  * The contents of this file are subject to the Compiere License Version 1.1
3  * ("License"); You may not use this file except in compliance with the License
4  * You may obtain a copy of the License at http://www.compiere.org/license.html
5  * Software distributed under the License is distributed on an "AS IS" basis,
6  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
7  * the specific language governing rights and limitations under the License.
8  * The Original Code is Compiere ERP & CRM Smart Business Solution
9  * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc.
10  * Portions created by Jorg Janke are Copyright (C) 1999-2003 Jorg Janke, parts
11  * created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved.
12  * Contributor(s): ______________________________________.
13  *****************************************************************************/

14 package org.compiere.model;
15
16 import java.util.*;
17 import java.sql.*;
18
19 /**
20  * Product Attribute Value
21  *
22  * @author Jorg Janke
23  * @version $Id: MAttributeValue.java,v 1.1 2003/08/26 17:30:35 jjanke Exp $
24  */

25 public class MAttributeValue extends X_M_AttributeValue
26 {
27     public MAttributeValue (Properties ctx, int M_AttributeValue_ID)
28     {
29         super (ctx, M_AttributeValue_ID);
30         /** if (M_AttributeValue_ID == 0)
31         {
32         setM_AttributeValue_ID (0);
33         setM_Attribute_ID (0);
34         setName (null);
35         setValue (null);
36         }
37         **/

38     } // MAttributeValue
39

40     public MAttributeValue (Properties ctx, ResultSet rs)
41     {
42         super (ctx, rs);
43     } // MAttributeValue
44

45     /**
46      * String Representation
47      * @return info
48      */

49     public String JavaDoc toString()
50     {
51         return getName();
52     } // toString
53

54 } // MAttributeValue
55
Popular Tags