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
 
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:APIClass|CURD Class|CURD}}  
{{DISPLAYTITLE:cURD Class}}{{Template:API}}{{Template:APIBreadcrumb}}


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]]''' {{APIComment|Creates a new instance of the resource.}}
<onlyinclude>Represents a universal reliability definition (URD) resource.</onlyinclude>


=== Properties  ===
==Constructors==
*'''[[CURD.Name|Name]]''' {{APIComment|Sets or returns the name of the model (the one used in the repository)}}
{| {{APITable}}
*'''[[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.}}
| style="width: 180px;"|cURD||Creates an instance of the cURD class.
*'''[[CURD.FailureModelID|FailureModelID]]''' {{APIComment|Sets or returns the FailuremodelID.}}
|-
*'''[[CURD.CorrectiveTaskID|CorrectiveTaskID]]''' {{APIComment|Sets or returns the CorrectivetaskID.}}
|[[CURD_Constructors|cURD()]]||{{:CURD_Constructors}}
*'''[[CURD.ScheduledTaskIDs|ScheduledTaskIDs]]''' {{APIComment|Sets or returns the list of scheduledtaskIDs.}}
|}
 
 
==Methods==
{| {{APITable}}
|-
| style="width: 180px;"|[[CURD.GetScheduledTaskIDs_Method|GetScheduledTaskIDs]]||{{:CURD.GetScheduledTaskIDs_Method}}
|-
|[[CURD.SetScheduledTaskIDs_Method|SetScheduledTaskIDs]]||{{:CURD.SetScheduledTaskIDs_Method}}
|}
 
 
== Properties  ==
{| {{APITable}}
|-
| style="width: 180px;"|CorrectiveTaskID||Gets or sets the numeric ID of the corrective task assigned to the URD. '''Integer'''.
|-
|FailureModelID||Gets or sets the numeric ID of the failure model assigned to the URD. '''Integer'''.
|-
|ID||Gets the numeric ID of the URD. '''Integer'''.
|-
|{{Template:API_TxtIdentifiers}}
|-
|Name||Gets or sets the name of the URD. '''String'''.
|-
|ProjectID||Gets the numeric ID of the project the URD belongs to. '''Integer'''.
|-
|ScheduledTaskIDs()||Gets or sets an array containing the numeric IDs of the scheduled tasks assigned to the URD. (.NET only) '''Long'''.
|}
 
 
 
 
 
==See Also==
*[[Repository.URD.AddURD|Repository.URD.AddURD Method]]
*[[Repository.URD.GetAllURDs|Repository.URD.GetAllURDs Method]]
*[[Repository.URD.GetURD|Repository.URD.GetURD Method]]
*[[Repository.URD.UpdateURD|Repository.URD.UpdateURD Method]]

Latest revision as of 15:17, 3 August 2017

APIWiki.png


Member of: SynthesisAPI


Represents a universal reliability definition (URD) resource.

Constructors

Name Description
cURD Creates an instance of the cURD class.
cURD() A parameterized constructor for the cURD class. (.NET only)


Methods

Name Description
GetScheduledTaskIDs Returns an array containing the numeric IDs of of the scheduled tasks assigned to the URD. Long.
SetScheduledTaskIDs Assigns scheduled tasks to the URD.


Properties

Name Description
CorrectiveTaskID Gets or sets the numeric ID of the corrective task assigned to the URD. Integer.
FailureModelID Gets or sets the numeric ID of the failure model assigned to the URD. Integer.
ID Gets the numeric ID of the URD. Integer.
ItemApplication Gets or sets the item's application. (Synthesis identifier) String
ItemCategoryID Gets or sets the category ID. (Synthesis identifier) Integer
ItemComments Gets or sets the comments. (Synthesis identifier) String
ItemDescription Gets or sets the description. (Synthesis identifier) String
ItemKeywords Gets or sets the keywords. (Synthesis identifier) String
ItemPartNumber Gets or sets the part number. (Synthesis identifier) String
ItemSupplier Gets or sets the supplier name. (Synthesis identifier) String
ItemVersion Gets or sets the version number. (Synthesis identifier) String
Name Gets or sets the name of the URD. String.
ProjectID Gets the numeric ID of the project the URD belongs to. Integer.
ScheduledTaskIDs() Gets or sets an array containing the numeric IDs of the scheduled tasks assigned to the URD. (.NET only) Long.



See Also