Show / Hide Table of Contents

Class ResourcePackage

Provides a package in which to store many types of metadata items.

Inheritance
Object
NotificationObject
IdentifiableBase
VersionableBase
ResourcePackage
Implements
INotifyPropertyChanged
IVersionable
IIdentifiable
IHasCustomFields
IVisitable
IDescribable
IDublinCoreDescribable
Inherited Members
VersionableBase.Accept(IVersionableVisitor)
VersionableBase.IsDirty
VersionableBase.IsPublished
VersionableBase.ChildrenDereferenced
VersionableBase.IsPopulated
VersionableBase.Version
VersionableBase.VersionDate
VersionableBase.VersionResponsibility
VersionableBase.VersionRationale
VersionableBase.CompositeId
VersionableBase.CustomFields
VersionableBase.UserAttributes
VersionableBase.OtherMaterials
VersionableBase.BasedOn
VersionableBase.Attachments
VersionableBase.ThumbnailImageUri
VersionableBase.BannerImageUri
VersionableBase.ManagedCollections
VersionableBase.ManageCollection(INotifyCollectionChanged, String)
VersionableBase.RemoveChild(IVersionable, IList[])
VersionableBase.RemoveChild(IdentifierTriple, IList[])
VersionableBase.TryReplaceChild<T>(Func<T>, Action<T>, IdentifierTriple, IVersionable)
VersionableBase.ToString()
IdentifiableBase.DefaultAgencyId
IdentifiableBase.AgencyId
IdentifiableBase.Identifier
IdentifiableBase.UserIds
IdentifiableBase.GetUserIdValue(String)
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(String)
NotificationObject.RaisePropertyChanged(String[])
NotificationObject.RaisePropertyChanged<T>(Expression<Func<T>>)
NotificationObject.OnPropertyChanged(String)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, String)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class ResourcePackage : VersionableBase, INotifyPropertyChanged, IVersionable, IIdentifiable, IHasCustomFields, IVisitable, IDescribable, IDublinCoreDescribable

Constructors

ResourcePackage()

Initializes a new instance of the ResourcePackage class.

Declaration
public ResourcePackage()

Properties

Abstract

Gets an abstract describing the ResourcePackage.

Declaration
public MultilingualString Abstract { get; }
Property Value
Type Description
MultilingualString

Archives

Gets the archives contained in the resource package.

Declaration
public ObservableCollection<Archive> Archives { get; }
Property Value
Type Description
ObservableCollection<Archive>

CategorySchemes

Gets the category schemes contained in the resource package.

Declaration
public ObservableCollection<CategoryScheme> CategorySchemes { get; }
Property Value
Type Description
ObservableCollection<CategoryScheme>

ChildTypesAccepted

Gets the child types that may be added to this item type.

Declaration
public override Collection<Guid> ChildTypesAccepted { get; }
Property Value
Type Description
Collection<Guid>

The child types that may be added to this item type.

Overrides
VersionableBase.ChildTypesAccepted

ClassificationCorrespondenceTables

Gets the ClassificationCorrespondenceTables contained in the resource package.

Declaration
public ObservableCollection<ClassificationCorrespondenceTable> ClassificationCorrespondenceTables { get; }
Property Value
Type Description
ObservableCollection<ClassificationCorrespondenceTable>

ClassificationFamilies

Gets the ClassificationFamilies contained in the resource package.

Declaration
public ObservableCollection<ClassificationFamily> ClassificationFamilies { get; }
Property Value
Type Description
ObservableCollection<ClassificationFamily>

CodeListSchemes

Gets the code list schemes contained in the resource package.

Declaration
public ObservableCollection<CodeListScheme> CodeListSchemes { get; }
Property Value
Type Description
ObservableCollection<CodeListScheme>

CodeSchemes

Gets the code schemes contained in the resource package. If using ResourcePackages, CodeLists should be placed in CodeListSchemes as of DDI 3.2.

Declaration
public ObservableCollection<CodeList> CodeSchemes { get; }
Property Value
Type Description
ObservableCollection<CodeList>

ConceptSchemes

Gets the concept schemes contained in the resource package.

Declaration
public ObservableCollection<ConceptScheme> ConceptSchemes { get; }
Property Value
Type Description
ObservableCollection<ConceptScheme>

ConceptualComponents

Gets the conceptual components contained in the resource package.

Declaration
public ObservableCollection<ConceptualComponent> ConceptualComponents { get; }
Property Value
Type Description
ObservableCollection<ConceptualComponent>

ConceptualVariableSchemes

Gets the conceptual variable schemes contained in the resource package.

Declaration
public ObservableCollection<ConceptualVariableScheme> ConceptualVariableSchemes { get; }
Property Value
Type Description
ObservableCollection<ConceptualVariableScheme>

ControlConstructSchemes

Gets the control construct schemes contained in the resource package.

Declaration
public ObservableCollection<ControlConstructScheme> ControlConstructSchemes { get; }
Property Value
Type Description
ObservableCollection<ControlConstructScheme>

DataCollections

Gets the data collection modules contained in the resource package.

Declaration
public ObservableCollection<DataCollection> DataCollections { get; }
Property Value
Type Description
ObservableCollection<DataCollection>

Description

Gets the description.

Declaration
public MultilingualString Description { get; }
Property Value
Type Description
MultilingualString

DisplayLabel

Gets the display label.

Declaration
public override string DisplayLabel { get; }
Property Value
Type Description
String
Overrides
VersionableBase.DisplayLabel

DublinCoreMetadata

Gets the Dublin Core metadata.

Declaration
public DublinCore DublinCoreMetadata { get; set; }
Property Value
Type Description
DublinCore

FundingInformations

Gets funding information about the ResourcePackage.

Declaration
public ObservableCollection<FundingInformation> FundingInformations { get; }
Property Value
Type Description
ObservableCollection<FundingInformation>

InstrumentSchemes

Gets the instrument schemes contained in the resource package.

Declaration
public ObservableCollection<InstrumentScheme> InstrumentSchemes { get; }
Property Value
Type Description
ObservableCollection<InstrumentScheme>

InterviewerInstructionSchemes

Gets the interviewer instruction schemes contained in the resource package.

Declaration
public ObservableCollection<InterviewerInstructionScheme> InterviewerInstructionSchemes { get; }
Property Value
Type Description
ObservableCollection<InterviewerInstructionScheme>

ItemName

Gets the name of the item.

Declaration
public MultilingualString ItemName { get; }
Property Value
Type Description
MultilingualString

The name of the item.

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
VersionableBase.ItemType

Label

Gets the label.

Declaration
public MultilingualString Label { get; }
Property Value
Type Description
MultilingualString

LogicalProducts

Gets the logical products contained in the resource package.

Declaration
public ObservableCollection<LogicalProduct> LogicalProducts { get; }
Property Value
Type Description
ObservableCollection<LogicalProduct>

ManagedRepresentationSchemes

Gets the ManagedRepresentation schemes contained in the resource package.

Declaration
public ObservableCollection<ManagedRepresentationScheme> ManagedRepresentationSchemes { get; }
Property Value
Type Description
ObservableCollection<ManagedRepresentationScheme>

NCubeSchemes

Gets the NCube schemes contained in the resource package.

Declaration
public ObservableCollection<NCubeScheme> NCubeSchemes { get; }
Property Value
Type Description
ObservableCollection<NCubeScheme>

Notes

Gets the notes related to the ResourcePackage.

Declaration
public Collection<Note> Notes { get; }
Property Value
Type Description
Collection<Note>

OrganizationSchemes

Gets the organization schemes contained in the resource package.

Declaration
public ObservableCollection<OrganizationScheme> OrganizationSchemes { get; }
Property Value
Type Description
ObservableCollection<OrganizationScheme>

OtherMaterialSchemes

Gets the OtherMaterialScheme contained in the resource package.

Declaration
public ObservableCollection<OtherMaterialScheme> OtherMaterialSchemes { get; }
Property Value
Type Description
ObservableCollection<OtherMaterialScheme>

PhysicalInstances

Gets the physical data files contained in the resource package.

Declaration
public ObservableCollection<PhysicalInstance> PhysicalInstances { get; }
Property Value
Type Description
ObservableCollection<PhysicalInstance>

PhysicalProducts

Gets the physical products contained in the resource package.

Declaration
public ObservableCollection<PhysicalProduct> PhysicalProducts { get; }
Property Value
Type Description
ObservableCollection<PhysicalProduct>

PhysicalStructureSchemes

Gets the physical structure schemes contained in the resource package.

Declaration
public ObservableCollection<PhysicalStructureScheme> PhysicalStructureSchemes { get; }
Property Value
Type Description
ObservableCollection<PhysicalStructureScheme>

ProcessingEventSchemes

Gets the ProcessingEventSchemes contained in the resource package.

Declaration
public ObservableCollection<ProcessingEventScheme> ProcessingEventSchemes { get; }
Property Value
Type Description
ObservableCollection<ProcessingEventScheme>

ProcessingInstructionSchemes

Gets the ProcessingInstructionSchemes contained in the resource package.

Declaration
public ObservableCollection<ProcessingInstructionScheme> ProcessingInstructionSchemes { get; }
Property Value
Type Description
ObservableCollection<ProcessingInstructionScheme>

Purpose

Gets a description of the purpose of the ResourcePackage.

Declaration
public MultilingualString Purpose { get; }
Property Value
Type Description
MultilingualString

QualityStatementSchemes

Gets the quality statement schemes contained in the resource package.

Declaration
public ObservableCollection<QualityStatementScheme> QualityStatementSchemes { get; }
Property Value
Type Description
ObservableCollection<QualityStatementScheme>

QuestionSchemes

Gets the question schemes contained in the resource package.

Declaration
public ObservableCollection<QuestionScheme> QuestionSchemes { get; }
Property Value
Type Description
ObservableCollection<QuestionScheme>

RecordLayoutSchemes

Gets the record layout schemes contained in the resource package.

Declaration
public ObservableCollection<RecordLayoutScheme> RecordLayoutSchemes { get; }
Property Value
Type Description
ObservableCollection<RecordLayoutScheme>

RepresentedVariableSchemes

Gets the represented variable schemes contained in the resource package.

Declaration
public ObservableCollection<RepresentedVariableScheme> RepresentedVariableSchemes { get; }
Property Value
Type Description
ObservableCollection<RepresentedVariableScheme>

TypeOfResourcePackage

Gets or sets a type indicating why items are in this resource package. The term used here may come from a controlled vocabulary.

Declaration
public CodeValue TypeOfResourcePackage { get; set; }
Property Value
Type Description
CodeValue

UnitTypeSchemes

Gets the UnitTypeSchemes contained in the resource package.

Declaration
public ObservableCollection<UnitTypeScheme> UnitTypeSchemes { get; }
Property Value
Type Description
ObservableCollection<UnitTypeScheme>

UniverseSchemes

Gets the universe schemes contained in the resource package.

Declaration
public ObservableCollection<UniverseScheme> UniverseSchemes { get; }
Property Value
Type Description
ObservableCollection<UniverseScheme>

VariableSchemes

Gets the variable schemes contained in the resource package.

Declaration
public ObservableCollection<VariableScheme> VariableSchemes { get; }
Property Value
Type Description
ObservableCollection<VariableScheme>

Methods

AddChild(IVersionable)

Adds the provided child to this item.

Declaration
public override void AddChild(IVersionable child)
Parameters
Type Name Description
IVersionable child

The item to be added as a child of this item.

Overrides
VersionableBase.AddChild(IVersionable)

AddItem(IVersionable)

Adds the item.

Declaration
public void AddItem(IVersionable item)
Parameters
Type Name Description
IVersionable item

The item to add to the ResourcePackage.

Exceptions
Type Condition
ArgumentNullException

item

InvalidOperationException

Cannot add the item to a ResourcePackage

GetChildren()

Gets the identifiers of the item's children.

Declaration
public override ChildItemCollection GetChildren()
Returns
Type Description
ChildItemCollection

The identifiers of the item's children.

Overrides
VersionableBase.GetChildren()

RemoveChild(IdentifierTriple)

Removes the specified child.

Declaration
public override int RemoveChild(IdentifierTriple child)
Parameters
Type Name Description
IdentifierTriple child

The child to be removed.

Returns
Type Description
Int32

The number of children removed from the item.

Overrides
VersionableBase.RemoveChild(IdentifierTriple)
Exceptions
Type Condition
ArgumentNullException

child

ReplaceChild(IdentifierTriple, IVersionable)

Replaces the child with the specified identifier with the provided item.

Declaration
public override int ReplaceChild(IdentifierTriple toReplace, IVersionable child)
Parameters
Type Name Description
IdentifierTriple toReplace

The identifier of the child to replace.

IVersionable child

The new child.

Returns
Type Description
Int32

The number of children replaced.

Overrides
VersionableBase.ReplaceChild(IdentifierTriple, IVersionable)
Exceptions
Type Condition
ArgumentNullException

child

Implements

System.ComponentModel.INotifyPropertyChanged
IVersionable
IIdentifiable
IHasCustomFields
IVisitable
IDescribable
IDublinCoreDescribable

Extension Methods

VersionableExtensions.GetMetadata(IVersionable)
VersionableExtensions.GetHeader(IVersionable)
VersionableExtensions.SetUserAttribute(IVersionable, String, String)
VersionableExtensions.GetUserAttribute(IVersionable, String)
VersionableExtensions.GetUserAttributeInt(IVersionable, String)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, String, String)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, MultilingualString, String)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, String, IVersionable)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, MultilingualString, IVersionable)
VersionableCustomFieldExtensions.GetCustomFieldStringValue(IHasCustomFields, String)
VersionableCustomFieldExtensions.GetCustomFieldUriValue(IHasCustomFields, String)
VersionableCustomFieldExtensions.GetCustomFieldMultilingualStringValue(IHasCustomFields, String)
VersionableUserIdExtensions.SetUserId(IVersionable, String, String)
Extensions.GetMultilingualStrings(IVersionable)
Extensions.GetDdiFragmentRepresentation(IVersionable, DDIWorkflowSerializer, XmlDocument)
Extensions.GetDdi32FragmentRepresentation(IVersionable, Ddi32Serializer)
Extensions.GetDdi33FragmentRepresentation(IVersionable, Ddi33Serializer)
NamingHelper.GetBaseFileNameForItem(IVersionable)
In This Article
Back to top Generated by DocFX