Interval
Interval()
luaTable
- to store named parameters
pCategoryInterval
: CategoryInterval
- CategoryInterval this interval belongs to
valueFrom
: same type as its attribute
- left (starting) interval value. Ignored if bInfinityFrom= true
valueTo
: same type as its attribute
- left (starting) interval value. Ignored if bInfinityTo= true
bInfinityFrom
: boolean
- true if starting in -infinity
bInfinityTo
: boolean
- true if ending in +infinity
CategoryInterval | the CategoryInterval, this interval belongs to |
ID | Unique identifier (primary key) of the object |
Name | Unique name of this object. Cannot be empty. |
Note | Text comment to this object (up to 255 characters) |
ValueFrom | Left (starting) value of interval |
ValueTo | Right (ending) value of interval |
canDel () | Returns true if the object could be deleted (is not used) |
getCategoryInterval () | Returns the CategoryInterval this interval belongs to, the value of CategoryInterval property |
getID () | Returns unique identifier (primary key) of the object |
getLeftBracketTypeCode () | Returns code of left interval-boundary type, see LeftBracketType codes |
getLeftBracketTypeKey () | Returns unique string key of left interval-boundary type |
getLeftBracketTypeName () | Returns string representation of left interval-boundary type |
getName () | Returns the value of Name property, name of this object |
getNote () | Returns the value of Note property |
getRightBracketTypeCode () | Returns code of right interval-boundary type, see RightBracketType codes |
getRightBracketTypeKey () | Returns unique string key of right interval-boundary type |
getRightBracketTypeName () | Returns string representation of right interval-boundary type |
getValueFrom () | Returns left (starting) value of interval. Could be 'nil' for -infinity. |
getValueTo () | Returns right (ending) value of interval. Could be 'nil' for +infinity. |
onAdd () | Store the newly created object into metabase |
onDel () | Delete the object from metabase (fails if canDel returns false) |
onUpdate () | Save changes made to the object into metabase |
setLeftBracketTypeCode () | Sets code of left interval-boundary type, see LeftBracketType codes |
setName () | Sets the value of Name property, name of this object (must be unique) |
setNote () | Sets the value of Note property |
setRightBracketTypeCode () | Sets code of right interval-boundary type, see RightBracketType codes |
setValueFrom () | Sets left (starting) value of interval |
setValueTo () | Sets right (ending) value of interval |
CategoryInterval
(read-only) : CategoryIntervalID
(read-only) : integerName
: stringNote
: stringValueFrom
(read-only) : same type as its attributeValueTo
(read-only) : same type as its attributecanDel() : boolean
boolean
getCategoryInterval() : CategoryInterval
getID() : integer
integer
getLeftBracketTypeCode() : integer
integer
getLeftBracketTypeKey() : string
string
getLeftBracketTypeName() : string
string
getName() : string
string
getNote() : string
string
getRightBracketTypeCode() : integer
integer
getRightBracketTypeKey() : string
string
getRightBracketTypeName() : string
string
getValueFrom()
value
- left (starting) interval value. Could be 'nil' for -infinity.
getValueTo()
value
- right (ending) interval value. Could be 'nil' for +infinity.
onAdd()
onDel()
onUpdate()
setLeftBracketTypeCode( integer )
integer
setName( string )
string
- cannot be emptysetNote( string )
string
setRightBracketTypeCode( integer )
integer
setValueFrom()
value
: same type as its attribute
- a value to set the left (starting) interval value. Ignored if bInfinity= true.
bInfinity
: boolean
- true if starting in -infinity
setValueTo()
value
: same type as its attribute
- a value to set the right (ending) interval value. Ignored if bInfinity= true.
bInfinity
: boolean
- true if ending in +infinity