CURD Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{{Template:CURD Class.Cmt}}
{{Template:CURD Class.Cmt}}


=== Constructors ===
== Constructors ==
 
*'''[[New cURD]]''' {{APIComment|Creates a new instance of the resource.}}
*'''[[New cURD]]''' {{APIComment|Creates a new instance of the resource.}}


=== Properties  ===
== Properties  ==
*'''[[CURD.Name|Name]]''' {{APIComment|Sets or returns the name of the model (the one used in the repository.)}}
*'''[[CURD.Name|Name]]''' {{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|ID]]''' {{APIComment|Returns the ID of the model (the one used in the repository).}}

Revision as of 23:38, 5 February 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

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