Class OtherMaterial
Represents external resources referenced by another item.
Inherited Members
Namespace: Algenta.Colectica.Model
Assembly: Algenta.Colectica.Model.dll
Syntax
public class OtherMaterial : VersionableBase, IVersionable, IIdentifiable, IVisitable, IDublinCoreDescribable, IHasCustomFields
Constructors
OtherMaterial()
Initializes a new instance of the OtherMaterial class.
Declaration
public OtherMaterial()
Properties
DisplayLabel
Gets the display label.
Declaration
public override string DisplayLabel { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
DublinCoreMetadata
Gets the Dublin Core metadata.
Declaration
public DublinCore DublinCoreMetadata { get; set; }
Property Value
Type | Description |
---|---|
DublinCore |
Implements
ItemType
Gets the universally unique identifier representing the item's type.
Declaration
public override Guid ItemType { get; }
Property Value
Type | Description |
---|---|
Guid | The identifier representing the item's type. |
Overrides
Implements
MaterialType
Gets or sets the type of the material. This can be used for categorization purposes.
Declaration
public string MaterialType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The type of the material. |
MimeType
Gets or sets the MIME type of the material, for example, "application/pdf".
Declaration
public string MimeType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The type of the MIME. |
OtherMaterialItemType
Gets the type of the other material item.
Declaration
public static Guid OtherMaterialItemType { get; }
Property Value
Type | Description |
---|---|
Guid | The type of the other material item. |
PopulatedEmbededFromParent
In DDI prior to 3.3, OtherMaterial were not versioned items. This flag is set to true when an OtherMaterial was populated from a prior version where it was not previously a versionable item.
Declaration
public bool PopulatedEmbededFromParent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Users should additionally save these OtherMaterials to a repository when editing the parent, as the registered item is essentially split into two identities.
UrlReference
Gets or sets the URL indicating the location of the cited external material.
Declaration
public Uri UrlReference { get; set; }
Property Value
Type | Description |
---|---|
Uri | The URL reference. |
UrnReference
Gets or sets the URN which identifies the cited external material.
Declaration
public Uri UrnReference { get; set; }
Property Value
Type | Description |
---|---|
Uri | The urn reference. |