de.ispsoft.jaxme.generator
Class SqlField

java.lang.Object
  extended byde.ispsoft.jaxme.generator.SqlField

public class SqlField
extends java.lang.Object

An extension of the SchemaSimpleElement with additional information for JDBC.

Author:
Jochen Wiedmann

Constructor Summary
SqlField(SchemaAbstractSimpleElement pSchemaElement)
          Creates a new instance of SqlField
 
Method Summary
 void addContext(SchemaComplexElement pElement)
          Adds an element to the context.
 void clearContext()
          Clears the current context.
 java.lang.String getColumnName()
          Returns the column name.
 java.util.Iterator getContext()
          Returns an iterator to the context.
 SchemaAbstractSimpleElement getSchemaElement()
          Creates the SchemaElement managed by this SqlField.
 SchemaSimpleType getSchemaType()
          Returns the SchemaElements type.
 java.lang.String getTableName()
          Returns the table name.
 void setColumnName(java.lang.String pColumnName)
          Sets the column name.
 void setTableName(java.lang.String pTableName)
          Sets the table name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlField

public SqlField(SchemaAbstractSimpleElement pSchemaElement)
Creates a new instance of SqlField

Method Detail

getSchemaElement

public SchemaAbstractSimpleElement getSchemaElement()

Creates the SchemaElement managed by this SqlField.


getSchemaType

public SchemaSimpleType getSchemaType()

Returns the SchemaElements type.


setTableName

public void setTableName(java.lang.String pTableName)

Sets the table name.


getTableName

public java.lang.String getTableName()

Returns the table name.


setColumnName

public void setColumnName(java.lang.String pColumnName)

Sets the column name.


getColumnName

public java.lang.String getColumnName()

Returns the column name.


addContext

public void addContext(SchemaComplexElement pElement)

Adds an element to the context.


getContext

public java.util.Iterator getContext()

Returns an iterator to the context.


clearContext

public void clearContext()

Clears the current context.