Class DcmSchema
Represents class for the DCM process diagram.
Inheritance
System.Object
DcmSchema
Implements
IMetaDataSerializable
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Terrasoft.Core.dll
Syntax
[MetaType("62044685-EFAA-417D-845E-A4EE1D72EB7F")]
public class DcmSchema : BaseProcessSchema, IMetaDataSerializable, ICloneable, IMetaSchema, IManagerItemInstance, IParametrizedProcessSchemaElement, IProcessElementMetaInfo, IProcessParametersMetaInfo, IMetaItem, ISchemaManagerSchema<DcmSchema>
Constructors
DcmSchema(ISchemaManager)
Creates a new instance with specified schema manager.
Declaration
public DcmSchema(ISchemaManager schemaManager)
Parameters
Properties
Enabled
Gets whether the schema is enabled.
Declaration
[MetaTypeProperty("{A3718FA1-E03F-4125-B05D-B4A14C275C5E}", IsExtraProperty = true, IsUserProperty = true)]
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EntitySchemaUId
Gets stage entity schema identifier.
Declaration
[MetaTypeProperty("{DB51B63E-0308-4786-92CA-7703D5FC2102}", IsExtraProperty = true)]
public override Guid EntitySchemaUId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
Overrides
Filters
Gets filters of the current schema.
Declaration
[MetaTypeProperty("{A46AE32B-1799-4A0E-9189-FF0B985AB7D5}", DefValue = "")]
public string Filters { get; set; }
Property Value
Type |
Description |
System.String |
|
IsInterpretable
Gets whether the process is interpretable.
Declaration
public override bool IsInterpretable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
ParentSchema
Gets or sets the parent schema.
Declaration
public DcmSchema ParentSchema { get; set; }
Property Value
ParentSchemaUId
Declaration
public override Guid ParentSchemaUId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
Overrides
SerializeToDB
Gets the flag that indicates whether the process needs to be serialized to DB.
Declaration
public override bool SerializeToDB { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
StageColumnUId
Gets stage column identifier.
Declaration
[MetaTypeProperty("{BD94454F-AE86-4979-BD96-A33195C472D1}", IsExtraProperty = true)]
public Guid StageColumnUId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
StageConnections
Declaration
public DcmSchemaStageConnections StageConnections { get; }
Property Value
Stages
Declaration
public BaseProcessSchemaFactoryMetaItemCollection<DcmSchemaStage> Stages { get; }
Property Value
SystemElements
Declaration
public BaseProcessSchemaFactoryMetaItemCollection<DcmSchemaChangeStageUserTask> SystemElements { get; }
Property Value
Transitions
Declaration
public BaseProcessSchemaFactoryMetaItemCollection<DcmSchemaElementTransition> Transitions { get; }
Property Value
Methods
Applies meta data values.
Declaration
protected override void ApplyMetaDataValue(DataReader reader)
Parameters
Type |
Name |
Description |
DataReader |
reader |
Instance of the type.
|
Overrides
AssignParentSchema(DcmSchema)
Assigns the given schema as a parent for the current one.
Declaration
public bool AssignParentSchema(DcmSchema parentSchema)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Clone()
Creates a new instance that is a copy of the current instance.
Declaration
public override object Clone()
Returns
Type |
Description |
System.Object |
|
Overrides
GetLocalizableValues(ICollection<LocalizableValue>, Boolean)
Declaration
public override void GetLocalizableValues(ICollection<LocalizableValue> values, bool includeInherited)
Parameters
Type |
Name |
Description |
System.Collections.Generic.ICollection<LocalizableValue> |
values |
|
System.Boolean |
includeInherited |
|
Overrides
Fills collection with items of the meta data.
Declaration
public override void GetMetaItems(ICollection<IMetaItem> metaItems)
Parameters
Type |
Name |
Description |
System.Collections.Generic.ICollection<IMetaItem> |
metaItems |
Collection of the meta items.
|
Overrides
InitializeLocalizableValues(String)
Declaration
public override void InitializeLocalizableValues(string resourceManagerName)
Parameters
Type |
Name |
Description |
System.String |
resourceManagerName |
|
Overrides
InitializeLocalizableValues(String, String)
Declaration
public override void InitializeLocalizableValues(string resourceManagerName, string resourceGroupName)
Parameters
Type |
Name |
Description |
System.String |
resourceManagerName |
|
System.String |
resourceGroupName |
|
Overrides
InitializeProperties()
Declaration
protected override void InitializeProperties()
Overrides
LoadLocalizableValues()
Declaration
public override void LoadLocalizableValues()
Overrides
SynchronizeParameters()
Synchronizes element parameters.
Declaration
public override void SynchronizeParameters()
Overrides
Declaration
public override void WriteMetaData(DataWriter writer)
Parameters
Type |
Name |
Description |
DataWriter |
writer |
Instance of the type.
|
Overrides
Implements
IMetaDataSerializable
System.ICloneable
Extension Methods