Class BaseProcessSchemaElement
Represents base class for the process diagram elements.
Inheritance
Inherited Members
Namespace: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
public class BaseProcessSchemaElement : BaseProcessSchemaItem, IMetaItem, IMetaDataSerializable, ICloneable, IFlowElementFactory, IFlowElement
Constructors
BaseProcessSchemaElement()
Creates a new instance.
Declaration
protected BaseProcessSchemaElement()
BaseProcessSchemaElement(BaseProcessSchemaElement)
Creates a new instance that is a copy of another instance.
Declaration
protected BaseProcessSchemaElement(BaseProcessSchemaElement source)
Parameters
Type | Name | Description |
---|---|---|
BaseProcessSchemaElement | source | Instance of the BaseProcessSchemaElement type. |
Properties
BpmnElementName
Gets or sets name of the BPMN element.
Declaration
public string BpmnElementName { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Caption
Declaration
[MetaTypeProperty("{986581DA-EF45-45ee-9A1C-D37BA84D3D24}")]
public virtual LocalizableString Caption { get; set; }
Property Value
Type | Description |
---|---|
LocalizableString |
ContainerUId
Gets or sets container UId for the current element.
Declaration
[MetaTypeProperty("{A95BFCE7-4970-424c-8563-751E5EC82CBA}")]
public virtual Guid ContainerUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsSequenceFlow
Flag that indicates that an element of a business process schema is a connection.
Declaration
public bool IsSequenceFlow { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UseBackgroundMode
Gets or sets value that indicates whether the current element is used background mode.
Declaration
[MetaTypeProperty("{0A82F22E-D7BE-45CE-A50F-D651259B38FF}")]
public virtual bool UseBackgroundMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
ApplyMetaDataValue(DataReader)
Declaration
protected override void ApplyMetaDataValue(DataReader reader)
Parameters
Type | Name | Description |
---|---|---|
DataReader | reader |
Overrides
GetCaptionOrName()
Returns the caption or name when caption is not defined.
Declaration
public string GetCaptionOrName()
Returns
Type | Description |
---|---|
System.String | The caption or name. |
GetLocalizableValues(ICollection<LocalizableValue>)
Returns localizable values list.
Declaration
protected virtual void GetLocalizableValues(ICollection<LocalizableValue> values)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<LocalizableValue> | values | Localizable values list. |
GetLocalizableValues(ICollection<LocalizableValue>, Boolean)
Returns localizable values list.
Declaration
protected virtual void GetLocalizableValues(ICollection<LocalizableValue> values, bool includeInherited)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<LocalizableValue> | values | Localizable values list. |
System.Boolean | includeInherited | Flag that indicates include inherited resources or not. |
GetOutgoingsConditionalFlows()
Returns outgoing conditional sequence flows for the current element.
Declaration
public virtual IEnumerable<ProcessSchemaConditionalFlow> GetOutgoingsConditionalFlows()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ProcessSchemaConditionalFlow> |
Remarks
Not implemented.
GetOutgoingsConditionalFlows(ProcessSchemaFlowNode)
Returns outgoing conditional sequence flows for the specified element.
Declaration
public virtual IEnumerable<ProcessSchemaConditionalFlow> GetOutgoingsConditionalFlows(ProcessSchemaFlowNode flowNode)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchemaFlowNode | flowNode | Process element. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ProcessSchemaConditionalFlow> |
Remarks
Not implemented.
GetOutgoingsDefaultFlows()
Returns outgoing default flows for the current element.
Declaration
public virtual IEnumerable<ProcessSchemaSequenceFlow> GetOutgoingsDefaultFlows()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ProcessSchemaSequenceFlow> |
Remarks
Not implemented.
GetOutgoingsDefaultFlows(ProcessSchemaFlowNode)
Returns outgoing default flows for the specified element.
Declaration
public virtual IEnumerable<ProcessSchemaSequenceFlow> GetOutgoingsDefaultFlows(ProcessSchemaFlowNode flowNode)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchemaFlowNode | flowNode | Process element. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ProcessSchemaSequenceFlow> |
Remarks
Not implemented.
InitializeLocalizableValues(IResourceStorage, String, String)
Initializes resources from the specified storage from the specified manager and resorce group name.
Declaration
protected virtual void InitializeLocalizableValues(IResourceStorage storage, string resourceManagerName, string resourceGroupName)
Parameters
Type | Name | Description |
---|---|---|
IResourceStorage | storage | Resource storage. |
System.String | resourceManagerName | Resource manager name. |
System.String | resourceGroupName | Resource group name. |
LoadLocalizableValues()
Loads localizable value.
Declaration
protected virtual void LoadLocalizableValues()
WriteMetaData(DataWriter)
Declaration
public override void WriteMetaData(DataWriter writer)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer |