Class ResourcePackage
Provides a package in which to store many types of metadata items.
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class ResourcePackage : VersionableBase, 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
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 | 
Implements
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
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.  | 
      
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
Label
Gets the label.
Declaration
public MultilingualString Label { get; }
  Property Value
| Type | Description | 
|---|---|
| MultilingualString | 
Implements
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
AddItem(IVersionable)
Adds the item.
Declaration
public void AddItem(IVersionable item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IVersionable | item | The item to add to the 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
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 | 
|---|---|
| System.Int32 | The number of children removed from the item.  | 
      
Overrides
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 | 
|---|---|
| System.Int32 | The number of children replaced.  |