Show / Hide Table of Contents

Class PhysicalInstance

Provides information about a data file, database, or other store of data.

Inheritance
Object
NotificationObject
IdentifiableBase
VersionableBase
PhysicalInstance
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 PhysicalInstance : VersionableBase, INotifyPropertyChanged, IVersionable, IIdentifiable, IHasCustomFields, IVisitable, IDescribable, IDublinCoreDescribable

Constructors

PhysicalInstance()

Initializes a new instance of the PhysicalInstance class.

Declaration
public PhysicalInstance()

Properties

ByteOrder

Gets or sets the byte order of the file.

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

ChildTypesAccepted

Child types that can be added to this Physical Instance

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

Coverage

Gets information about the different topics, areas, and times covered by the data.

Declaration
public Coverage Coverage { get; set; }
Property Value
Type Description
Coverage

DataRelationships

Gets the DataRelationships which describe the record(s) contained in the dataset.

Declaration
public ObservableCollection<DataRelationship> DataRelationships { get; }
Property Value
Type Description
ObservableCollection<DataRelationship>

Delimiter

Gets or sets the delimiter used to separate records in text-based data files.

Declaration
public string Delimiter { get; set; }
Property Value
Type Description
String

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 citation for the data.

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

FileIdentifications

Gets descriptions of the locations where the data reside.

Declaration
public ObservableCollection<DataFileIdentification> FileIdentifications { get; }
Property Value
Type Description
ObservableCollection<DataFileIdentification>

FileStructure

Gets or sets the gross file structure. This is not required.

Declaration
public GrossFileStructure FileStructure { get; set; }
Property Value
Type Description
GrossFileStructure

Fingerprints

Gets the digital fingerprints of the file.

Declaration
public ObservableCollection<Fingerprint> Fingerprints { get; }
Property Value
Type Description
ObservableCollection<Fingerprint>

Format

Gets or sets the format of the file.

Declaration
public string Format { get; set; }
Property Value
Type Description
String

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

RecordLayouts

Gets the descriptions of the records stored in the data file. This can be skipped in favor of the DataRelationships property.

Declaration
public ObservableCollection<RecordLayout> RecordLayouts { get; }
Property Value
Type Description
ObservableCollection<RecordLayout>

Statistics

Gets summary statistics describing the data in the file.

Declaration
public ObservableCollection<VariableStatistic> Statistics { get; }
Property Value
Type Description
ObservableCollection<VariableStatistic>

Methods

AddChild(IVersionable)

Add an item as a child to this Physical Instance

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

Versionable child to add

Overrides
VersionableBase.AddChild(IVersionable)

FindStatisticsForVariable(Variable)

Gets the summary statistics for the specified variable.

Declaration
public VariableStatistic FindStatisticsForVariable(Variable variable)
Parameters
Type Name Description
Variable variable

The variable.

Returns
Type Description
VariableStatistic

Summary statistics for the variable.

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)

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