CURD Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


== Properties  ==
== Properties  ==
*'''[[CURD.Name|Name]]''' {{APIComment|Sets or returns the name of the model (the one used in the repository.)}}
*[[CURD.Name]] (as ''string'') {{APIComment|Sets or returns the name of the model (the one used in the repository.)}}
*'''[[CURD.ID|ID]]''' {{APIComment|Returns the ID of the model (the one used in the repository).}}
*[[CURD.ID]] (as ''integer'') {{APIComment|Returns the ID of the model (the one used in the repository).}}
*'''[[CURD.ProjectID|ProjectID]]''' {{APIComment|Returns the ID of the project the resource belongs to.}}
*[[CURD.ProjectID]] (as ''integer'') {{APIComment|Returns the ID of the project the resource belongs to.}}
*'''[[CURD.FailureModelID|FailureModelID]]''' {{APIComment|Sets or returns the FailuremodelID.}}
*[[CURD.FailureModelID]] (as ''integer'') {{APIComment|Sets or returns the FailuremodelID.}}
*'''[[CURD.CorrectiveTaskID|CorrectiveTaskID]]''' {{APIComment|Sets or returns the CorrectivetaskID.}}
*[[CURD.CorrectiveTaskID]] (as ''integer'') {{APIComment|Sets or returns the CorrectivetaskID.}}
*'''[[CURD.ScheduledTaskIDs|ScheduledTaskIDs]]''' {{APIComment|Sets or returns the list of scheduledtaskIDs.}}
*[[CURD.ScheduledTaskIDs]] (as ''integer()'') {{APIComment|Sets or returns the list of scheduledtaskIDs.}}

Revision as of 16:46, 4 March 2014


Universal reliability definitions (URDs) are used to represent a set of properties that can include failure behavior and maintenance tasks. URDs are resources that are available for use throughout the project.

Constructors

  • New cURD Creates a new instance of the resource.

Properties

  • CURD.Name (as string) Sets or returns the name of the model (the one used in the repository.)
  • CURD.ID (as integer) Returns the ID of the model (the one used in the repository).
  • CURD.ProjectID (as integer) Returns the ID of the project the resource belongs to.
  • CURD.FailureModelID (as integer) Sets or returns the FailuremodelID.
  • CURD.CorrectiveTaskID (as integer) Sets or returns the CorrectivetaskID.
  • CURD.ScheduledTaskIDs (as integer()) Sets or returns the list of scheduledtaskIDs.