CURD Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "CURD Class" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
No edit summary
Line 1: Line 1:
{{Template:APIClass|CURD Class|CURD}}  
{{Template:APIClass|CURD Class|CURD}}  


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
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 ===
=== Constructors ===


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|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).}}
*'''[[CURD.ProjectID|ProjectID]]''' {{APIComment|Returns the ID of the project the resource belongs to.}}
*'''[[CURD.ProjectID|ProjectID]]''' {{APIComment|Returns the ID of the project the resource belongs to.}}

Revision as of 23:35, 21 January 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.