13.07.2015 Views

Using Caché Studio - InterSystems Documentation

Using Caché Studio - InterSystems Documentation

Using Caché Studio - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

a popup dialog allowing you to specify the name of the argument, its type, its optional defaultvalue, and whether it is passed by value or by reference. <strong>Using</strong> the other buttons, you canremove and rearrange the order of items in the list.5.1.3 Method Characteristics PageYou may specify additional characteristics for your method. These include:PrivateFinalClass Method(optional) Indicates whether this method is public or private. Private methods may only beinvoked from other methods of the same class.(optional) Indicates whether this method is final. Final methods cannot be overridden bysubclasses.(optional) Indicates that the new method is a class method (as opposed to an instance method).Class methods may be invoked without having an object instance.SQL Stored ProcedureLanguage(optional) Indicates that this method is accessible to an ODBC or JDBC client as a storedprocedure. Only class methods may be projected as SQL Stored Procedures.Indicates the language used to create the method.5.1.4 Implementation PageIf you want, you may enter the implementation (code) for the new method by typing lines of sourcecode into the text editor window. You can also enter this source code after running the wizard usingthe Class Editor.5.1.5 Results of Running the New Method WizardNew Method WizardAfter running the New Method wizard the Class Editor window is updated to include the new methoddefinition. You can edit it using either the Class Editor or the Class Inspector. For example:<strong>Using</strong> <strong>Caché</strong> <strong>Studio</strong> 45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!