Deprecated and Removed Members: Difference between revisions
Kate Racaza (talk | contribs) mNo edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:API}}{{Template:APIUpgradesNavBox}} | {{Template:API}}{{Template:APIUpgradesNavBox}} | ||
This page provides a summary of | This page provides a summary of what has been changed, removed and deprecated in the Synthesis API since its earlier version. The status of an object member may be any of the following: | ||
:*'''Changed''' - The syntax of the member has changed. | :*'''Changed''' - The syntax of the member has changed. | ||
Line 9: | Line 9: | ||
==Changes since Synthesis API Version 10== | ==Changes since Synthesis API Version 10== | ||
===[[Repository Class]]=== | ===[[Repository Class]]=== | ||
All members | '''This class has been restructured'''. All of its members are now organized into fields named after the object type they apply to. For example, the <code>Repository.GetAllModels()</code> method, which returns a cModel object, has been renamed to <code>Repository.Model.GetAllModels()</code>; similarly, the <code>Repository.ImportBlockSimXMLFile</code> method has been renamed to <code>Repository.BlockSim.ImportBlockSimXMLFile</code>, etc. The previous versions of the methods still exist so your code is not broken, but they are deprecated and may be removed in future versions of the API. | ||
In addition, the [[Repository.Model.GetAllModelsInfo|Model.GetAllModelsInfo]] method is | In addition, the [[Repository.Model.GetAllModelsInfo|Model.GetAllModelsInfo]] method is deprecated. | ||
Revision as of 18:26, 1 September 2015
This page provides a summary of what has been changed, removed and deprecated in the Synthesis API since its earlier version. The status of an object member may be any of the following:
- Changed - The syntax of the member has changed.
- Deprecated - The member is obsolete and may be removed in future versions of the API. Do not use it in new applications.
- Removed - The member has been removed from the object model.
Changes since Synthesis API Version 10
Repository Class
This class has been restructured. All of its members are now organized into fields named after the object type they apply to. For example, the Repository.GetAllModels()
method, which returns a cModel object, has been renamed to Repository.Model.GetAllModels()
; similarly, the Repository.ImportBlockSimXMLFile
method has been renamed to Repository.BlockSim.ImportBlockSimXMLFile
, etc. The previous versions of the methods still exist so your code is not broken, but they are deprecated and may be removed in future versions of the API.
In addition, the Model.GetAllModelsInfo method is deprecated.
cAction Class
Properties
Name | Status |
---|---|
AppAndRevBy | Removed |
AppDate | Removed |
AppUserID | Removed |
CompDate | Removed |
DueDate | Removed |
Duration | Removed |
EstCost | Removed |
PersonResp | Removed |
RespUserID | Removed |
ShortDsc | Removed |
StartDate | Removed |
StatusFlag | Removed |
cScheduledTask Class
Properties
Name | Status |
---|---|
TaskFrequencyIDOrig | Deprecated |
TaskFrequencyUnitIDOrig | Deprecated |
TaskFrequencyValueOrig | Deprecated |
TaskFreqValueVariableIDOrig | Deprecated |