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
IHasCoverage
Inherited Members
VersionableBase.Accept(IVersionableVisitor)
VersionableBase.IsDirty
VersionableBase.IsPublished
VersionableBase.ChildrenDereferenced
VersionableBase.IsPopulated
VersionableBase.Version
VersionableBase.VersionDate
VersionableBase.VersionResponsibility
VersionableBase.VersionRationale
VersionableBase.CompositeId
VersionableBase.OtherMaterials
VersionableBase.BasedOn
VersionableBase.SucceededBy
VersionableBase.Attachments
VersionableBase.ThumbnailImageUri
VersionableBase.BannerImageUri
VersionableBase.DisableChangeTracking
VersionableBase.RemoveChildHelper(IVersionable, params IList[])
VersionableBase.TryReplaceChild<T>(Func<T>, Action<T>, IdentifierTriple, IVersionable)
VersionableBase.ToString()
IdentifiableBase.DefaultAgencyId
IdentifiableBase.AgencyId
IdentifiableBase.Identifier
IdentifiableBase.UserIds
IdentifiableBase.CustomFields
IdentifiableBase.UserAttributes
IdentifiableBase.GetUserIdValue(string)
IdentifiableBase.RemoveChildHelper(IdentifierTriple, params IList[])
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(string)
NotificationObject.OnPropertyChanged(string)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, string)
NotificationObject.WatchProperty(INotifyPropertyChanged, string)
NotificationObject.WatchCollection(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, IHasCoverage

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
[UIHint("skip")]
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

DataFileVersionDate

Date of the business version of the data file.

Declaration
public Date DataFileVersionDate { get; set; }
Property Value
Type Description
Date

DataFileVersionNumber

Business version of the data file. This is required if other data file version properties are used for DDI serialization.

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

DataFileVersionRationale

Gets the log message for the rationale or purpose of this version of the item.

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

DataFileVersionType

Gets or sets the data file version type of the file.

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

DataRelationships

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

Declaration
[UIHint("skip")]
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
[UIHint("skip")]
public string Delimiter { get; set; }
Property Value
Type Description
string

Description

Gets the description.

Declaration
[Display(GroupName = "Basic", Order = 400)]
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
[UIHint("skip")]
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
[UIHint("skip")]
public ObservableCollection<Fingerprint> Fingerprints { get; }
Property Value
Type Description
ObservableCollection<Fingerprint>

Format

Gets or sets the format of the file.

Declaration
[UIHint("skip")]
public string Format { get; set; }
Property Value
Type Description
string

InformationClassificationType

Gets or sets the type of information classification

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

InformationClassifications

Gets a collection of Information Classification associated with the physical instance.

Declaration
public ObservableCollection<InformationClassification> InformationClassifications { get; }
Property Value
Type Description
ObservableCollection<InformationClassification>

ItemName

Gets the name of the item.

Declaration
[UIHint("skip")]
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
[UIHint("skip")]
public MultilingualString Label { get; }
Property Value
Type Description
MultilingualString

LevelOfInformationClassification

Gets or sets the level of information classification

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

RecordLayouts

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

Declaration
[UIHint("skip")]
public ObservableCollection<RecordLayout> RecordLayouts { get; }
Property Value
Type Description
ObservableCollection<RecordLayout>

Statistics

Gets summary statistics describing the data in the file.

Declaration
[UIHint("skip")]
public ObservableCollection<VariableStatistic> Statistics { get; }
Property Value
Type Description
ObservableCollection<VariableStatistic>

VariableGroups

Gets the VariableGroup which organizes Variables contained in the dataset.

Declaration
[Display(GroupName = "Variable Groups", Order = 400)]
public ObservableCollection<VariableGroup> VariableGroups { get; }
Property Value
Type Description
ObservableCollection<VariableGroup>

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
int

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
int

The number of children replaced.

Overrides
VersionableBase.ReplaceChild(IdentifierTriple, IVersionable)

WatchProperties()

Watch for property changed events

Declaration
protected override void WatchProperties()
Overrides
VersionableBase.WatchProperties()

Implements

INotifyPropertyChanged
IVersionable
IIdentifiable
IHasCustomFields
IVisitable
IDescribable
IDublinCoreDescribable
IHasCoverage

Extension Methods

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