| |
3050 |
3050 |
- nx: factor out method createFromParameterSpec |
| |
3051 |
3051 |
- method variable: |
| |
3052 |
3052 |
* check default value |
| |
3053 |
3053 |
* added shortcut, when no slot object is needed |
| |
3054 |
3054 |
* extended regression test |
| |
3055 |
3055 |
|
| |
3056 |
3056 |
- nx::Attribute: changed method 'checkInstVar' to 'setCheckedInstVar' |
| |
3057 |
3057 |
- set only fresh variables via per-object method "variable" and "attribute" |
| |
3058 |
3058 |
- added flag -concomplain to per-object method "variable" and "attribute" |
| |
3059 |
3059 |
- extended regression test |
| |
3060 |
3060 |
- added support for "class variable" |
| |
3061 |
3061 |
- added tests for "variable" + multiplicity and "class variable" |
| |
3062 |
3062 |
- provide error message, when method variable is a noop |
| |
3063 |
3063 |
(e.g. no value provided and no accessor is wanted) |
| |
3064 |
3064 |
- added tests for object specific "variable" and "attribute |
| |
3065 |
3065 |
+ application defined value checker |
| |
3066 |
3066 |
|
| |
3067 |
3067 |
- library/mongodb: |
| |
3068 |
3068 |
* updated to current interface in git HEAD |
| |
3069 |
3069 |
|
| |
|
3070 |
- nx.tcl: added switch "incremental" to "variable" and "attribute" |
| |
|
3071 |
- added regression test |
| |
|
3072 |
|
| |
|
3073 |
|
| |
3070 |
3074 |
TODO: |
| |
3071 |
|
- variable and incremental |
| |
|
3075 |
- more regression tests for incremental + variable/attribute |
| |
|
3076 |
|
| |
|
3077 |
- placement of switched and parameters: |
| |
|
3078 |
currently we have: |
| |
|
3079 |
/obj/ attribute ?-incremental? ?-nocomplain? spec ?-class value? ?initblock? |
| |
|
3080 |
/obj/ variable ?-class value? ?-initblock value? ?-accessor boolean? ?-array? ?-incremental? ?-nocomplain? spec ?value? |
| |
|
3081 |
|
| |
|
3082 |
/cls/ attribute ?-incremental? spec ?-class value? ?initblock? |
| |
|
3083 |
/cls/ variable ?-class value? ?-incremental? ?-initblock value? ?-objectparameter value? ?-accessor value? spec ?default? |
| |
|
3084 |
|
| |
|
3085 |
should we switch from "-class" to "-slotclass"? |
| |
|
3086 |
|
| |
3072 |
3087 |
- should we change interface for default value in attribute? |
| |
3073 |
3088 |
probably not, same interface is used in methodparameters as well |
| |
3074 |
3089 |
- Should we leave "variable" and "attribute" as it ist? |
| |
3075 |
3090 |
options: |
| |
3076 |
3091 |
(a) leave it as it is |
| |
3077 |
3092 |
(b) use "property" instead of "attribute" |
| |
3078 |
3093 |
("a property is a variable with accessors"), |
| |
3079 |
3094 |
some tribute to beans terminology |
| |
3080 |
3095 |
(c) use "parameter" instead of "attribute", |
| |
3081 |
3096 |
since providing accessors means make the |
| |
3082 |
3097 |
variable an object parameter |
| |
3083 |
3098 |
(d) use "attribute" instead of "variable" |
| |
3084 |
3099 |
Variable is the tcl term, attribute is the UML term |
| |
3085 |
3100 |
(e) others? |
| |
3086 |
3101 |
- call user defined setter in object parameters? |
| |
3087 |
3102 |
|
| |
3088 |
3103 |
- maybe use (position == -1) instead of (objectparameter == false) to save common vars |
| |
3089 |
3104 |
- cleanup variable/attribute |
| |
3090 |
3105 |
- testing variable/attribute |
| |
3091 |
3106 |
- maybe change default |