LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.sql
Class LySqlColumnField

java.lang.Object
  extended by leon.peer.LyPeerField
      extended by leon.peer.util.LyColumnField
          extended by leon.peer.sql.LySqlColumnField
All Implemented Interfaces:
LyField
Direct Known Subclasses:
LyPostgresqlField

public class LySqlColumnField
extends LyColumnField

This class provides the SQL implementation of LyField.


Nested Class Summary
 
Nested classes/interfaces inherited from class leon.peer.util.LyColumnField
LyColumnField.CONSTRAINT
 
Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LySqlColumnField()
          Default Constructor.
 
Method Summary
 java.lang.String getClassBinding()
          To get the CLASS binding -table on top of this field binding-.
 int getDateType()
          To get the date type of this field.
 java.lang.String getFullId()
          Gets qualified identifier of this field.
 void setClassBinding(java.lang.String classBinding)
          To set the CLASS binding -table on top of this field binding-.
 void setDateType(int type)
          To set the date type of this field.
 java.lang.String toString()
          Returns this peer field as a String.
 
Methods inherited from class leon.peer.util.LyColumnField
addContraint, getDefault, getFormat, getId, getPeerType, getValueClass, hasContraint, removeContraint, setDefault, setFormat, setId, setPeerType, setValueClass
 
Methods inherited from class leon.peer.LyPeerField
buildFieldValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LySqlColumnField

public LySqlColumnField()
Default Constructor.

Method Detail

setDateType

public void setDateType(int type)
To set the date type of this field.

Parameters:
type - the date type of this field.

getDateType

public int getDateType()
To get the date type of this field.

Returns:
the date type of this field.

getClassBinding

public java.lang.String getClassBinding()
To get the CLASS binding -table on top of this field binding-.

Returns:
specified the class binding (table name) in RDBMS or null if not specified

setClassBinding

public void setClassBinding(java.lang.String classBinding)
To set the CLASS binding -table on top of this field binding-.

Parameters:
specified - the class binding (table name) in RDBMS

getFullId

public java.lang.String getFullId()
Gets qualified identifier of this field. Defaults return getId()

Returns:
Identifier of this field.

toString

public java.lang.String toString()
Returns this peer field as a String.

Overrides:
toString in class LyColumnField
Returns:
This peer field returned as a string.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com