Class Ddi31RecordRelationship
Represents a one-to-one relationship between LogicalRecords.
Implements
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi.Compat
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class Ddi31RecordRelationship : RecordRelationship, INotifyPropertyChanged, IDescribable, IVersionable, IIdentifiable, IHasCustomFields, IVisitable
Properties
Attachments
Gets a collection of file URIs stored in the File Storage Service attached to this item.
Declaration
public virtual ObservableCollection<Attachment> Attachments { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<Attachment> |
BannerImageUri
Gets or sets the banner image for the item.
Declaration
public Uri BannerImageUri { get; set; }
Property Value
Type | Description |
---|---|
Uri |
BasedOn
Gets a collection that describes previous items on which this item is based
Declaration
public BasedOn BasedOn { get; set; }
Property Value
Type | Description |
---|---|
BasedOn |
ChildTypesAccepted
Gets the child types that may be added to this item type.
Declaration
public virtual Collection<Guid> ChildTypesAccepted { get; }
Property Value
Type | Description |
---|---|
Collection<Guid> | The child types that may be added to this item type. |
ChildrenDereferenced
Gets or sets a value indicating whether the item's children have been dereferenced.
Declaration
public bool ChildrenDereferenced { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
CompositeId
Gets or sets the item's composite id, consisting of the agency identifier, identifier, and version.
Declaration
public IdentifierTriple CompositeId { get; set; }
Property Value
Type | Description |
---|---|
IdentifierTriple | The item's composite identifier. |
IsDirty
Gets or sets a value indicating whether this instance has unsaved changes.
Declaration
public virtual bool IsDirty { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
IsPopulated
Gets or sets a value indicating whether this instance's information is populated.
Declaration
public bool IsPopulated { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
IsPublished
Gets or sets a value indicating whether this instance is published.
Declaration
public bool IsPublished { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
ItemType
Gets the universally unique identifier representing the item's type.
Declaration
public Guid ItemType { get; }
Property Value
Type | Description |
---|---|
Guid | The identifier representing the item's type. |
OtherMaterials
Gets a collection of Other Material fields defined for this item.
Declaration
public ObservableCollection<OtherMaterial> OtherMaterials { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<OtherMaterial> |
SourceRecord
Gets or sets the target record.
Declaration
public Ddi31LogicalRecord SourceRecord { get; set; }
Property Value
Type | Description |
---|---|
Ddi31LogicalRecord | The target record. |
SourceRecordReference
Gets or sets the identifier of the source record.
Declaration
public override IdentifierTriple SourceRecordReference { get; set; }
Property Value
Type | Description |
---|---|
IdentifierTriple |
Overrides
SucceededBy
If another item should be preferred instead of this item.
Declaration
public TypedIdTriple SucceededBy { get; set; }
Property Value
Type | Description |
---|---|
TypedIdTriple |
TargetRecord
Gets or sets the target record.
Declaration
public Ddi31LogicalRecord TargetRecord { get; set; }
Property Value
Type | Description |
---|---|
Ddi31LogicalRecord | The target record. |
TargetRecordReference
Gets or sets the identifier of the target record.
Declaration
public override IdentifierTriple TargetRecordReference { get; set; }
Property Value
Type | Description |
---|---|
IdentifierTriple |
Overrides
ThumbnailImageUri
Gets or sets the thumbnail image for the item.
Declaration
public Uri ThumbnailImageUri { get; set; }
Property Value
Type | Description |
---|---|
Uri |
Version
Gets or sets the version.
Declaration
public long Version { get; set; }
Property Value
Type | Description |
---|---|
long | The version. |
VersionDate
Gets or sets the DateTime this version of the item was created.
Declaration
public DateTime VersionDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime | The DateTime this version was created. |
VersionRationale
Gets the log message given by the user who created this version of the item.
Declaration
public MultilingualString VersionRationale { get; set; }
Property Value
Type | Description |
---|---|
MultilingualString |
VersionResponsibility
Gets or sets the name of the user who created this version of the item.
Declaration
public string VersionResponsibility { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the user who created this version of the item. |
Methods
Accept(IVersionableVisitor)
Accepts the specified visitor.
Declaration
public override void Accept(IVersionableVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
IVersionableVisitor | visitor | The visitor. |
Overrides
AddChild(IVersionable)
Adds the provided child to this item.
Declaration
public virtual void AddChild(IVersionable child)
Parameters
Type | Name | Description |
---|---|---|
IVersionable | child | The item to be added as a child of this item. |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
GetChildren()
Gets the item's children.
Declaration
public override ChildItemCollection GetChildren()
Returns
Type | Description |
---|---|
ChildItemCollection |
Overrides
RemoveChild(IdentifierTriple)
Removes the child with the specified identifier from any of the provided lists.
Declaration
public override int RemoveChild(IdentifierTriple child)
Parameters
Type | Name | Description |
---|---|---|
IdentifierTriple | child | The identifier of the item to remove. |
Returns
Type | Description |
---|---|
int | The number of children removed. |
Overrides
Exceptions
Type | Condition |
---|---|
ArgumentNullException | itemToRemove |
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
Exceptions
Type | Condition |
---|---|
ArgumentNullException | child |