org.rimudb.configuration
Class FieldEntry

java.lang.Object
  extended by org.rimudb.ColumnMetaData
      extended by org.rimudb.configuration.FieldEntry

public class FieldEntry
extends ColumnMetaData


Constructor Summary
FieldEntry()
          FieldEntry constructor comment.
FieldEntry(ColumnMetaData columnMetaData)
           
FieldEntry(int primaryKeyNbr, boolean autoincrement, java.lang.String propertyName, java.lang.String columnName, int columnType, int columnSize, int decimalDigits, boolean nullable, boolean rightJustify, boolean version, java.lang.String sequence)
          FieldEntry constructor comment.
 
Method Summary
 java.lang.String buildGetter()
           
 java.lang.String buildSetter()
          Builds a string in the format: setPropertyName(
 java.lang.String getColumnTypeAsJavaClassOrPrimitive()
           
 java.lang.String getColumnTypeAsWrapperClass()
          Return the column wrapper class matching the column type
 java.lang.String getPropertyNameInPrimitiveWrapper()
           
 java.lang.String getSQLColumnType()
           
 java.lang.String getStaticPropertyName()
          Return the static property name for the property
 java.lang.String getUpperCaseFirstChar(java.lang.String s)
           
 java.lang.String getUpperCasePropertyName()
           
 boolean sequenceExists()
           
 void setSQLColumnType(java.lang.String newColumnType)
           
 
Methods inherited from class org.rimudb.ColumnMetaData
getColumnName, getColumnNbr, getColumnSize, getColumnType, getDecimalDigits, getPrimaryKeyNbr, getPropertyName, getSequenceName, isAutoIncrement, isNullCapable, isRightJustify, isVersion, setAutoIncrement, setColumnName, setColumnNbr, setColumnSize, setColumnType, setDecimalDigits, setNullCapable, setPrimaryKeyNbr, setPropertyName, setRightJustify, setSequenceName, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldEntry

public FieldEntry()
FieldEntry constructor comment.


FieldEntry

public FieldEntry(ColumnMetaData columnMetaData)

FieldEntry

public FieldEntry(int primaryKeyNbr,
                  boolean autoincrement,
                  java.lang.String propertyName,
                  java.lang.String columnName,
                  int columnType,
                  int columnSize,
                  int decimalDigits,
                  boolean nullable,
                  boolean rightJustify,
                  boolean version,
                  java.lang.String sequence)
FieldEntry constructor comment.

Method Detail

buildGetter

public java.lang.String buildGetter()

buildSetter

public java.lang.String buildSetter()
Builds a string in the format: setPropertyName(


getStaticPropertyName

public java.lang.String getStaticPropertyName()
Return the static property name for the property


getPropertyNameInPrimitiveWrapper

public java.lang.String getPropertyNameInPrimitiveWrapper()

getSQLColumnType

public java.lang.String getSQLColumnType()

getUpperCaseFirstChar

public java.lang.String getUpperCaseFirstChar(java.lang.String s)

getUpperCasePropertyName

public java.lang.String getUpperCasePropertyName()

setSQLColumnType

public void setSQLColumnType(java.lang.String newColumnType)

sequenceExists

public boolean sequenceExists()

getColumnTypeAsJavaClassOrPrimitive

public java.lang.String getColumnTypeAsJavaClassOrPrimitive()

getColumnTypeAsWrapperClass

public java.lang.String getColumnTypeAsWrapperClass()
Return the column wrapper class matching the column type

Returns:
String


Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.