Repository Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 81: Line 81:
*[[Repository.ProcessXfracasImports|ProcessXfracasImports]] {{APIComment|{{Template:Repository.ProcessXfracasImports.Cmt}}}}
*[[Repository.ProcessXfracasImports|ProcessXfracasImports]] {{APIComment|{{Template:Repository.ProcessXfracasImports.Cmt}}}}
*[[Repository.WriteToDiagnosticsLog|WriteToDiagnosticsLog]]
*[[Repository.WriteToDiagnosticsLog|WriteToDiagnosticsLog]]
*[[Repository.WriteToDiagnosticsLog(message,entryType)|WriteToDiagnosticsLog(message,entryType)]] {{APIComment|{{Template:Repository.WriteToDiagnosticsLog (message,entryType).Cmt}}}}
*[[Repository.WriteToDiagnosticsLog(string,XFRACASDiagnosticEntryType)|WriteToDiagnosticsLog(string,XFRACASDiagnosticEntryType)]] {{APIComment|{{Template:Repository.WriteToDiagnosticsLog (string,XFRACASDiagnosticEntryType).Cmt}}}}
*[[Repository.WriteToDiagnosticsLog(exObject,entryType,comment)|WriteToDiagnosticsLog(exObject,entryType,comment)]] {{APIComment|{{Template:Repository.WriteToDiagnosticsLog (exObject,entryType,comment).Cmt}}}}
*[[Repository.WriteToDiagnosticsLog(System.Exception, XFRACASDiagnosticEntryType, String)|WriteToDiagnosticsLog(System.Exception, XFRACASDiagnosticEntryType, String)]] {{APIComment|{{Template:Repository.WriteToDiagnosticsLog (System.Exception,mXFRACASDiagnosticEntryType, String).Cmt}}}}


== Properties ==
== Properties ==
'''Synthesis Setup Option'''
'''Synthesis Setup Option'''
*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 17:34, 28 April 2014


Template:Repository Class.Cmt

Constructors

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

Methods

Connect to / Disconnect from Repository

Project

Units of Measurement

  • 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

Reliability Data Warehouse (RDW)

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.