Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.javahispano.dbmt.fields
Class Field  view Field download Field.java

java.lang.Object
  extended byorg.javahispano.dbmt.fields.Field

public class Field
extends java.lang.Object

Encapsulates a Field to be migrated (from, to, type, etc).

Since:
22 February 2003

Field Summary
private  java.lang.String from
          Description of the Field
private  org.javahispano.dbmt.functions.Function function
           
private  FieldSetter setter
          Description of the Field
private  java.lang.String to
          Description of the Field
private  java.lang.String value
          Description of the Field
 
Constructor Summary
Field(java.lang.String from, java.lang.String to, java.lang.String type, java.lang.String value)
          Constructor for the Field object
 
Method Summary
 java.lang.String getFrom()
          Gets the from attribute of the Field object
 java.lang.String getTo()
          Gets the to attribute of the Field object
 void setFieldValue(java.sql.PreparedStatement ps, java.sql.ResultSet src, int pos)
          Sets the fieldValue attribute of the Field object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

from

private java.lang.String from
Description of the Field


to

private java.lang.String to
Description of the Field


value

private java.lang.String value
Description of the Field


setter

private FieldSetter setter
Description of the Field


function

private org.javahispano.dbmt.functions.Function function
Constructor Detail

Field

public Field(java.lang.String from,
             java.lang.String to,
             java.lang.String type,
             java.lang.String value)
Constructor for the Field object

Method Detail

setFieldValue

public void setFieldValue(java.sql.PreparedStatement ps,
                          java.sql.ResultSet src,
                          int pos)
                   throws java.lang.Exception
Sets the fieldValue attribute of the Field object


getTo

public java.lang.String getTo()
Gets the to attribute of the Field object


getFrom

public java.lang.String getFrom()
Gets the from attribute of the Field object