Changeset View
Changeset View
Standalone View
Standalone View
umbrello/codegenerators/codeaccessormethod.h
Context not available. | |||||
24 | public: | 24 | public: | ||
---|---|---|---|---|---|
25 | 25 | | |||
26 | // some types of accessor methods that are possible: | 26 | // some types of accessor methods that are possible: | ||
27 | // "GET" is to retrieve single-valued (primative or Object) fields | 27 | // "GET" is to retrieve single-valued (primitive or Object) fields | ||
28 | // "SET" is to set single-valued (primative or Object) fields | 28 | // "SET" is to set single-valued (primitive or Object) fields | ||
29 | // "ADD" is to add a value to a multiple-valued field of either primative or Object items | 29 | // "ADD" is to add a value to a multiple-valued field of either primitive or Object items | ||
30 | // "REMOVE" is to remove a value to a multiple-valued field of either primative or Object items | 30 | // "REMOVE" is to remove a value to a multiple-valued field of either primitive or Object items | ||
31 | // "LIST" is to retrive the entire list of items in a multiple-valued field | 31 | // "LIST" is to retrieve the entire list of items in a multiple-valued field | ||
32 | enum AccessorType {GET=0, SET, ADD, REMOVE, LIST}; | 32 | enum AccessorType {GET=0, SET, ADD, REMOVE, LIST}; | ||
33 | 33 | | |||
34 | explicit CodeAccessorMethod(CodeClassField * field); | 34 | explicit CodeAccessorMethod(CodeClassField * field); | ||
Context not available. |