CURD Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:cURD Class}}
{{InProgress}}{{DISPLAYTITLE:cURD Class}}{{Template:API}}{{Template:APIBreadcrumbClass}}
{{Template:APIClass|Resource Classes|Resource Classes}}  
 
{{Template:CURD Class.Cmt}}
 
<onlyinclude>Represents a universal reliability definition (URD) resource.</onlyinclude>
 
==Constructors==
{| {{APITable}}
|-
| style="width: 180px;"|cURD||Creates an instance of the cURD class.
|-
|[[CURD_Constructors|cURD()]]||{{:CURD_Constructors}}
|}
 
 
==Methods==
{| {{APITable}}
|-
| style="width: 180px;"|GetScheduledTaskIDs
|-
|SetScheduledTaskIDs
|}


{{Template:ResourceLinkToRepositoryClass.Cmt}}
== Constructors ==
*cURD {{APIComment|Creates a new URD resource.}}


== Properties  ==
== Properties  ==
*Name (as ''string'') {{APIComment|Gets or sets the URD Name.}}
{| {{APITable}}
*ID (as ''integer'') {{APIComment|Gets the numerical ID of the URD.}}
|-
*ProjectID (as ''integer'') {{APIComment|Gets the numerical ID of the project the URD belongs to.}}
| style="width: 180px;"|Name||Gets or sets the URD name. '''String'''.
*FailureModelID (as ''integer'') {{APIComment|Gets or sets the numerical ID of the the failure model assigned to the URD.}}
|-
*CorrectiveTaskID (as ''integer'') {{APIComment|Gets or sets the numerical ID of the the corrective task assigned to the URD.}}
|ID||Gets the numeric ID of the URD. '''Integer'''.
*ScheduledTaskIDs (as ''integer()'') {{APIComment|Gets or sets a list of the numerical IDs of the scheduled tasks assigned to the URD.}}
|-
|ProjectID||Gets the numerical ID of the project the URD belongs to. '''Integer'''.
|-
|FailureModelID||Gets or sets the numerical ID of the the failure model assigned to the URD. '''Integer'''.
|-
|CorrectiveTaskID||Gets or sets the numerical ID of the the corrective task assigned to the URD. '''Integer'''.
|-
|ScheduledTaskIDs||Gets or sets a list of the numerical IDs of the scheduled tasks assigned to the URD. '''Integer'''.
|}


'''Synthesis Identifiers'''
{| {{APITable}}
|-
| style="width: 180px;"|{{Template:API_TxtIdentifiers}}
|}
<!--
== Usage Example ==
== Usage Example ==
In this usage example, a new URD is created and a failure model is assigned to it. The URD is then added to a project.
In this usage example, a new URD is created and a failure model is assigned to it. The URD is then added to a project.
Line 34: Line 65:
  {{APIComment|'Disconnect from the repository.}}
  {{APIComment|'Disconnect from the repository.}}
   repo.DisconnectFromRepository
   repo.DisconnectFromRepository
 
-->
== Methods ==
 
'''Set/Return Item Properties'''
*[[cURD.ItemCategoryID|ItemCategoryID(Integer)]] {{APIComment|{{Template:ItemCategoryID.Cmt}}}}
*[[cURD.ItemPartNumber|ItemPartNumber(String)]] {{APIComment|{{Template:ItemPartNumber.Cmt}}}}
*[[cURD.ItemVersion|ItemVersion(String)]] {{APIComment|{{Template:ItemVersion.Cmt}}}}
*[[cURD.ItemSupplier|ItemSupplier(String)]] {{APIComment|{{Template:ItemSupplier.Cmt}}}}
*[[cURD.ItemApplication|ItemApplication(String)]] {{APIComment|{{Template:ItemApplication.Cmt}}}}
*[[cURD.ItemDescription|ItemDescription(String)]] {{APIComment|{{Template:ItemDescription.Cmt}}}}
*[[cURD.ItemComments|ItemComments(String)]] {{APIComment|{{Template:ItemComments.Cmt}}}}
*[[cURD.ItemKeywords|ItemKeywords(String)]] {{APIComment|{{Template:ItemKeywords.Cmt}}}}

Revision as of 22:28, 11 August 2015

Template:InProgress

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
SetScheduledTaskIDs


Properties

Name Description
Name Gets or sets the URD name. String.
ID Gets the numeric ID of the URD. Integer.
ProjectID Gets the numerical ID of the project the URD belongs to. Integer.
FailureModelID Gets or sets the numerical ID of the the failure model assigned to the URD. Integer.
CorrectiveTaskID Gets or sets the numerical ID of the the corrective task assigned to the URD. Integer.
ScheduledTaskIDs Gets or sets a list of the numerical IDs of the scheduled tasks assigned to the URD. Integer.


Synthesis Identifiers

Name Description
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