Show / Hide Table of Contents

Class OpenDIAsset

Base class for Open DI Assets

Inheritance
object
OpenDIBase
OpenDIAsset
OpenDIAssetDirectory
OpenDIDataReader
OpenDIDataSource
OpenDIDataWriter
OpenDIDocument
OpenDIDocumentIndex
OpenDILLM
OpenDIModel
Inherited Members
OpenDIBase.openDIVersion
OpenDIBase.FQNSeparator
OpenDIBase.id
OpenDIBase.name
OpenDIBase.summary
OpenDIBase.documentation
OpenDIBase.documentationMIMEType
OpenDIBase.properties
OpenDIBase.GetWMType(string)
OpenDIBase.GetOpenDIType(Type)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.OpenDI
Assembly: WMServer.dll
Syntax
public class OpenDIAsset : OpenDIBase

Constructors

OpenDIAsset()

Default constructor

Declaration
public OpenDIAsset()

OpenDIAsset(WMAssetBase)

Declaration
public OpenDIAsset(WMAssetBase asset)
Parameters
Type Name Description
WMAssetBase asset

Fields

DIDataReader

Declaration
public const string DIDataReader = "DIDataReader"
Field Value
Type Description
string

DIDataSource

Declaration
public const string DIDataSource = "DIDataSource"
Field Value
Type Description
string

DIDataWriter

Declaration
public const string DIDataWriter = "DIDataWriter"
Field Value
Type Description
string

DIDirectory

Declaration
public const string DIDirectory = "DIDirectory"
Field Value
Type Description
string

Properties

fullPathName

Full path name of this directory.

Declaration
public string fullPathName { get; protected set; }
Property Value
Type Description
string

ownerID

An optional parameter to specify the ID of the asset's owner.

Declaration
public string ownerID { set; }
Property Value
Type Description
string

ownerType

An optional parameter to specify what the asset should belong to. If this does not satisf

Declaration
public string ownerType { set; }
Property Value
Type Description
string

parent

Reference to the Parent of this asset in the asset repository

Declaration
public string? parent { get; set; }
Property Value
Type Description
string

Methods

Create(WMAssetBase)

Create the appropriate OpenDIAsset class based in the supplied WMAssetBase object.

Declaration
public static OpenDIAsset Create(WMAssetBase asset)
Parameters
Type Name Description
WMAssetBase asset
Returns
Type Description
OpenDIAsset

GetOwnerID()

Getter for optional OwnerID

Declaration
public string GetOwnerID()
Returns
Type Description
string

GetOwnerType()

Getter for optional OwnerType

Declaration
public string GetOwnerType()
Returns
Type Description
string

ToDTO<T>()

Create a new WMDataReaderDTO object that contains the properties of this OpenDIDataReader

Declaration
public T ToDTO<T>() where T : IWMAssetBaseDTO, new()
Returns
Type Description
T

A WMDataReaderDTO object that contains the properties of this OpenDIDataReader

Type Parameters
Name Description
T
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE