Class DcmSchemaElementTransition
Represents class for the DcmSchemaElement transition.
Inheritance
Inherited Members
Namespace: Terrasoft.Core.DcmProcess
Assembly: Terrasoft.Core.dll
Syntax
[MetaType("{E6C709AA-FFBD-4926-AB92-C94A7E67D0A7}")]
public class DcmSchemaElementTransition : BaseProcessSchemaItem, IMetaItem, IMetaDataSerializable, ICloneable, IFlowElementFactory, IFlowElement
Constructors
DcmSchemaElementTransition()
Creates new instance of DcmSchemaElementTransition
Declaration
public DcmSchemaElementTransition()
DcmSchemaElementTransition(DcmSchemaElementTransition)
Creates a new instance with specified DefaultDcmSchemaElementTransition.
Declaration
protected DcmSchemaElementTransition(DcmSchemaElementTransition source)
Parameters
Type | Name | Description |
---|---|---|
DcmSchemaElementTransition | source | Instance that inherites the DefaultDcmSchemaElementTransition type. |
Fields
ElementUIdPropertyName
Declaration
protected const string ElementUIdPropertyName = "IO1"
Field Value
Type | Description |
---|---|
System.String |
Properties
ElementUId
Gets or sets BaseProcessSchemaElement UId for which transition are created.
Declaration
[MetaTypeProperty("{CE73CB42-371C-480E-B006-81BE012C0643}")]
public Guid ElementUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsDefault
Gets default transition flag.
Declaration
public virtual bool IsDefault { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SourceElement
Gets BaseProcessSchemaElement after which TargetElement should be run. Returns DcmSchemaStage of TargetElement
Declaration
public virtual BaseProcessSchemaElement SourceElement { get; }
Property Value
Type | Description |
---|---|
BaseProcessSchemaElement |
TargetElement
Gets BaseProcessSchemaElement for which transition are created.
Declaration
public BaseProcessSchemaElement TargetElement { get; }
Property Value
Type | Description |
---|---|
BaseProcessSchemaElement |
Methods
ApplyMetaDataValue(DataReader)
Applies meta data values.
Declaration
protected override void ApplyMetaDataValue(DataReader reader)
Parameters
Type | Name | Description |
---|---|---|
DataReader | reader | Instance of the |
Overrides
CheckIsValid()
Throws exception if transition is not valid.
Declaration
protected virtual void CheckIsValid()
Clone()
Creates a new instance that is a copy of the current instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object |
Overrides
FindElement(Guid)
Finds item by the specified unique identifier.
Declaration
protected BaseProcessSchemaElement FindElement(Guid elementUId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | elementUId | Element UId |
Returns
Type | Description |
---|---|
BaseProcessSchemaElement | Instance of BaseProcessSchemaElement |
Validate()
Validates current transition instance
Declaration
public virtual bool Validate()
Returns
Type | Description |
---|---|
System.Boolean |
|
WriteMetaData(DataWriter)
Writes meta data values.
Declaration
public override void WriteMetaData(DataWriter writer)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer | Instance of the |