Class Index | File Index

Classes


Class nnjl.licurgo.PrimitiveType


Defined in: nnjl.licurgo.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new Primitive Type.
Field Summary
Field Attributes Field Name and Description
 
Name of the field
 
boolean if the type is nullable or nor
 
Name of type as it is definied by the RDBMS
 
Size of the field
Method Summary
Method Attributes Method Name and Description
 
Return if the type is nullable
 
setNullable(nullable)
Set if it's nullable or not
 
setSize(size)
Set type size
 
Transform from RDBMS native value
 
Transform to RDBMS native value
Class Detail
nnjl.licurgo.PrimitiveType()
Creates a new Primitive Type.
Field Detail
{string} name
Name of the field

{boolean} nullable
boolean if the type is nullable or nor

{string} rdbmsType
Name of type as it is definied by the RDBMS

{int} size
Size of the field
Method Detail
{boolean} isNullable()
Return if the type is nullable
Returns:
{boolean} true if its nullable type

setNullable(nullable)
Set if it's nullable or not
Parameters:
{boolean} nullable

setSize(size)
Set type size
Parameters:
{int} size

transformNativeValue(value)
Transform from RDBMS native value
Parameters:
value
Returns:
transformed value

transformValue(value)
Transform to RDBMS native value
Parameters:
value
Returns:
transformed value TODO - not sure if this is too much power for js

Documentation generated by JsDoc Toolkit 2.3.2 on Wed Sep 29 2010 11:46:25 GMT+0200 (CEST)