Proxy Types

This topic describes the proxy types to be used when using the public API.

Important: Internal RAMS types must no longer be used in scripts and modules.

This page discusses:

See Also
Workflow for Setting up the Environment for Public API to Customize Analyses
About Script Creation
Object Naming and Types

ProxyInterface

ProxyInterface corresponds to the root class of the proxies used in the public API.

Attributes
  • physicalId: A string that holds the PLM physicalId of the underlying model.
  • type: A string that is the type name of the underlying model.
Methods
  • getPhysicalId: Method without parameters. It returns the physicalId of the underlying model.
  • getType: Method without parameters. It returns the type of the underlying model.

CausalityRelationshipProxyInterface

CausalityRelationshipProxyInterface corresponds to a subtype of ProxyInterface with a default type that is set to FailureModesEffectsAnalysisCausalityRelationship.

FailureModesEffectsAnalysisProxyInterface

FailureModesEffectsAnalysisProxyInterface corresponds to a subtype of ProxyInterface with a default type that is set to FailureModesEffectsAnalysis.

FailureModeProxyInterface

FailureModeProxyInterface corresponds to a subtype of ProxyInterface with a default type that is set to FailureMode.

FallibleProxyInterface

FallibleProxyInterface corresponds to a subtype of ProxyInterface that represents an element that can fail.

FallibleReferenceProxyInterface

FallibleReferenceProxyInterface corresponds to a subtype of ProxyInterface with a default type that is set to FallibleReference. A FallibleReferenceProxyInterface has a list of FailureModeProxyInterface.

PathProxyInterface

PathProxyInterface corresponds to a subtype of ProxyInterface with a default type that is set to Path. A PathProxyInterface provides the getElements method that returns an array of proxies representing the elements of the path.

Methods
getElements: Method without parameters. It returns an array of ProxyInterface representing the Path.