Class RepositoryItem
Represents an item that is registered with a repository.
Implements
Inherited Members
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
[DataContract(Namespace = "http://ns.colectica.com/2009/07/")]
public class RepositoryItem : IRepositoryItemIdentity
Properties
AgencyId
Gets or sets the agency identifier of the item.
Declaration
[DataMember]
public string AgencyId { get; set; }
Property Value
Type | Description |
---|---|
string |
CompositeId
Gets or sets the composite identifier of the item.
Declaration
public IdentifierTriple CompositeId { get; set; }
Property Value
Type | Description |
---|---|
IdentifierTriple | The composite unique identifier. |
Identifier
Gets or sets the identifier of the item.
Declaration
[DataMember]
public Guid Identifier { get; set; }
Property Value
Type | Description |
---|---|
Guid |
InternalRowId
Gets or sets the internal storage id of the repository item.
Declaration
public long? InternalRowId { get; set; }
Property Value
Type | Description |
---|---|
long? |
Remarks
This property is used to speed local processing.
IsDeprecated
Gets or sets a value indicating whether the item is deprecated.
Declaration
[DataMember]
public bool IsDeprecated { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsProvisional
Gets or sets a value indicating whether is provisional.
Declaration
[DataMember]
public bool IsProvisional { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsPublished
Gets or sets a value indicating whether the item is published.
Declaration
[DataMember]
public bool IsPublished { get; set; }
Property Value
Type | Description |
---|---|
bool |
Item
Gets or sets the item content. This is usually the serialized XML representation.
Declaration
[DataMember]
public string Item { get; set; }
Property Value
Type | Description |
---|---|
string |
ItemFormat
Gets or sets the identifier of the serialization format (RepositoryFormats) used for the item.
Declaration
[DataMember]
public Guid ItemFormat { get; set; }
Property Value
Type | Description |
---|---|
Guid |
ItemType
Gets or sets the type of the item.
Declaration
[DataMember]
public Guid ItemType { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Notes
Gets or sets the notes about the item.
Declaration
[DataMember]
public Collection<Note> Notes { get; set; }
Property Value
Type | Description |
---|---|
Collection<Note> |
Tag
Gets or sets an IVersionable instantiatino of the repository item.
Declaration
public IVersionable Tag { get; set; }
Property Value
Type | Description |
---|---|
IVersionable |
Remarks
This property is used to speed local processing.
TransactionId
The transaction id that this item was added to the Repository in. Only set by a Repository and not federated across repositories.
Declaration
[DataMember]
public long TransactionId { get; set; }
Property Value
Type | Description |
---|---|
long |
Version
Gets or sets the version of the item.
Declaration
[DataMember]
public long Version { get; set; }
Property Value
Type | Description |
---|---|
long |
VersionCreationType
Denotes if the item was registered by a user or automatically created by version propagation
Declaration
[DataMember]
public RepositoryItemCommitType VersionCreationType { get; set; }
Property Value
Type | Description |
---|---|
RepositoryItemCommitType |
VersionDate
Gets or sets the date this version of the item was created.
Declaration
[DataMember]
public DateTime VersionDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime | The version date. |
VersionRationale
Gets or sets the version rationale.
Declaration
public MultilingualString VersionRationale { get; set; }
Property Value
Type | Description |
---|---|
MultilingualString |
VersionResponsibility
Gets or sets the user who created this version of the item.
Declaration
[DataMember]
public string VersionResponsibility { get; set; }
Property Value
Type | Description |
---|---|
string |