fr.paris.lutece.plugins.adminsql.business
Class Table

java.lang.Object
  extended by fr.paris.lutece.plugins.adminsql.business.Table

public class Table
extends java.lang.Object

Creates a new instance of Table


Constructor Summary
Table()
           
 
Method Summary
 java.lang.String getComment()
          Gets some comments
 java.lang.String getIndex()
          Returns the Index
 int getNumberOfFields()
          Gets number of fields of the table
 java.lang.String getPrimaryKey()
          Returns the PrimaryKey
 java.lang.String getTableName()
          Gets the name of the table
 void setComment(java.lang.String strComment)
          Sets comments on a table
 void setFieldName(java.lang.String strFieldName)
           
 void setFieldNull(java.lang.String strFieldName)
           
 void setIndex(java.lang.String strIndex)
          Sets the Index
 void setNumberOfFields(int nNumberOfFields)
          Sets the number of fields
 void setPrimaryKey(java.lang.String strPrimaryKey)
          Sets the PrimaryKey
 void setTableName(java.lang.String strTableName)
          Sets the name of the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table

public Table()
Method Detail

getTableName

public java.lang.String getTableName()
Gets the name of the table

Returns:
the name of the table

setTableName

public void setTableName(java.lang.String strTableName)
Sets the name of the table

Parameters:
strTableName - the name of the table

setFieldName

public void setFieldName(java.lang.String strFieldName)

setFieldNull

public void setFieldNull(java.lang.String strFieldName)

getComment

public java.lang.String getComment()
Gets some comments

Returns:
comments on table

setComment

public void setComment(java.lang.String strComment)
Sets comments on a table

Parameters:
strComment - comments on a table

getPrimaryKey

public java.lang.String getPrimaryKey()
Returns the PrimaryKey

Returns:
The PrimaryKey

setPrimaryKey

public void setPrimaryKey(java.lang.String strPrimaryKey)
Sets the PrimaryKey

Parameters:
strPrimaryKey - The PrimaryKey

getIndex

public java.lang.String getIndex()
Returns the Index

Returns:
The Index

setIndex

public void setIndex(java.lang.String strIndex)
Sets the Index

Parameters:
strIndex - The Index

getNumberOfFields

public int getNumberOfFields()
Gets number of fields of the table

Returns:
the number of fields

setNumberOfFields

public void setNumberOfFields(int nNumberOfFields)
Sets the number of fields

Parameters:
nNumberOfFields - the number of fields


Copyright © 2010 Mairie de Paris. All Rights Reserved.