KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > setup > impl > dl > dbloader > ColumnMetaData


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.setup.impl.dl.dbloader;
10
11
12 /**
13  * @author <a HREF="mailto:palber@novell.com">Polina Alber</a>
14  * Date: Apr 14, 2005; Time: 3:55:51 PM
15  * @since JBoss portal 2.0
16  * Class org.jboss.portal.setup.impl.dl.dbloader.ColumnMetaData
17  */

18 public class ColumnMetaData
19 {
20    private String JavaDoc m_columnName;
21    private String JavaDoc m_javaType;
22    private int m_columnSize = -1;
23
24    public ColumnMetaData(String JavaDoc columnName, String JavaDoc javaType, int columnSize)
25    {
26       this.m_columnName = columnName;
27       this.m_javaType = javaType;
28       this.m_columnSize = columnSize;
29    }
30
31    public String JavaDoc getColumnName()
32    {
33       return m_columnName;
34    }
35
36    public String JavaDoc getJavaType()
37    {
38       return m_javaType;
39    }
40
41    public int getColumnSize()
42    {
43       return m_columnSize;
44    }
45
46 }
47
Popular Tags