Repository Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 82: Line 82:


== Properties ==
== Properties ==
'''Synthesis Setup Option'''
'''Synthesis Setup Window'''
*EnforceRENOCompliance (as ''boolean'') {{APIComment|Disallows spaces and special characters in names of models and analysis workbooks. This will ensure that all models and analysis workbooks can be used in RENO equations.}}
*EnforceRENOCompliance (as ''boolean'') {{APIComment|Disallows spaces and special characters in names of models and analysis workbooks. This will ensure that all models and analysis workbooks can be used in RENO equations.}}

Revision as of 22:54, 27 February 2014


Template:Repository Class.Cmt

Constructors

  • Repository Creates a new Repository object for connecting to Synthesis repositories.

Methods

Connect/Disconnect to Repository

Project

Unit

  • GetAllUnits Returns an array containing all units of measurement from the current repository.

Models

  • GetAllModelsInfo Returns an array containing all model names and their IDs from the current project.
  • GetModel( Integer ) Returns the model from the current project with the specified ID. Returns nothing if the model does not exist or is not in the current project.
  • GetAllModels Returns an array containing all models from the current project.
  • AddModel( cModel ) Saves a new model in the repository.
  • UpdateModel( cModel ) Updates the model in the repository.

URDs

Variables

Corrective Tasks

Scheduled Tasks

Task Types

  • GetAllTaskTypes Retuns an array containing all task types in the repository.

Crews

Pools

Action

BlockSim

Save RawDataSet

XFRACAS

Properties

Synthesis Setup Window

  • EnforceRENOCompliance (as boolean) Disallows spaces and special characters in names of models and analysis workbooks. This will ensure that all models and analysis workbooks can be used in RENO equations.