Difference between revisions of "CURD Class"

From ReliaWiki
Jump to navigation Jump to search
Line 7: Line 7:
  
 
== Properties  ==
 
== Properties  ==
*[[CURD.Name]] (as ''string'') {{APIComment|Sets or returns the name of the model (the one used in the repository.)}}
+
*Name (as ''string'') {{APIComment|Sets or returns the name 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).}}
+
*ID (as ''integer'') {{APIComment|Returns the ID of the model (the one used in the repository).}}
*[[CURD.ProjectID]] (as ''integer'') {{APIComment|Returns the ID of the project the resource belongs to.}}
+
*ProjectID (as ''integer'') {{APIComment|Returns the ID of the project the resource belongs to.}}
*[[CURD.FailureModelID]] (as ''integer'') {{APIComment|Sets or returns the FailuremodelID.}}
+
*FailureModelID (as ''integer'') {{APIComment|Sets or returns the FailuremodelID.}}
*[[CURD.CorrectiveTaskID]] (as ''integer'') {{APIComment|Sets or returns the CorrectivetaskID.}}
+
*CorrectiveTaskID (as ''integer'') {{APIComment|Sets or returns the CorrectivetaskID.}}
*[[CURD.ScheduledTaskIDs]] (as ''integer()'') {{APIComment|Sets or returns the list of scheduledtaskIDs.}}
+
*ScheduledTaskIDs (as ''integer()'') {{APIComment|Sets or returns the list of scheduledtaskIDs.}}

Revision as of 16:47, 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

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