jDaoProperty

Container for properties of a dao property

package

jelix

subpackage

dao

Methods

Properties

the name of the property of the object

name : 

Type(s)

the name of the field in table

fieldName : 

Type(s)

give the regular expression that needs to be matched against.

regExp : string
var

Type(s)

string

says if the field is required when doing a check

required : boolean
var

Type(s)

boolean

says if the value of the field is required when construct SQL conditions

requiredInConditions : boolean
var

Type(s)

boolean

Says if it's a primary key.

isPK : boolean
var

Type(s)

boolean

Says if it's a foreign key

isFK : boolean
var

Type(s)

boolean

datatype

datatype : 

Type(s)

unifiedType

unifiedType : 

Type(s)

table

table : 

Type(s)

updatePattern

updatePattern : 

Type(s)

insertPattern

insertPattern : 

Type(s)

selectPattern

selectPattern : 

Type(s)

sequenceName

sequenceName : 

Type(s)

the maxlength of the key if given

maxlength : integer
var

Type(s)

integer

minlength

minlength : 

Type(s)

ofPrimaryTable

ofPrimaryTable : 

Type(s)

defaultValue

defaultValue : 

Type(s)

autoIncrement

autoIncrement : 

Type(s)

comment field / eg : use to form's label

comment : string
var

Type(s)

string