Repository Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
== Methods ==
== Methods ==
''' Connect/Disconnect to Repository '''  
''' Connect/Disconnect to Repository '''  
*[[Repository.ConnectToRepository|ConnectToRepository( String) ]] {{APIComment|{{Template:Repository.ConnectToRepository.Cmt}}}}
*[[Repository.ConnectToRepository|ConnectToRepository( String ) ]] {{APIComment|{{Template:Repository.ConnectToRepository.Cmt}}}}
*[[Repository.ConnectToAccessRepository|ConnectToAccessRepository( String ) ]] {{APIComment|{{Template:Repository.ConnectToAccessRepository.Cmt}}}}
*[[Repository.ConnectToAccessRepository|ConnectToAccessRepository( String ) ]] {{APIComment|{{Template:Repository.ConnectToAccessRepository.Cmt}}}}
*[[Repository.ConnectToSQLRepository|ConnectToSQLRepository( String, String, [Boolean], [String], [String], [String] )]] {{APIComment|{{Template:Repository.ConnectToSQLRepository.Cmt}}}}
*[[Repository.ConnectToSQLRepository|ConnectToSQLRepository( String, String, [Boolean], [String], [String], [String] )]] {{APIComment|{{Template:Repository.ConnectToSQLRepository.Cmt}}}}

Revision as of 23:24, 28 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 Option

  • 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.