Class Note
Represents additional information about an item.
Inherited Members
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
[Serializable]
public sealed class Note : Tuple<IdentifierTriple, NoteType, string, string>, IStructuralEquatable, IStructuralComparable, IComparable, ITuple
Constructors
Note(IdentifierTriple, NoteType, string, string)
Initializes a new instance of the Note class.
Declaration
public Note(IdentifierTriple subject, NoteType type, string predicate, string noteValue)
Parameters
| Type | Name | Description |
|---|---|---|
| IdentifierTriple | subject | The subject of the note. |
| NoteType | type | The type of the note. |
| string | predicate | The predicate. |
| string | noteValue | The note value. |
Note(IdentifierTriple, string, string)
Initializes a new instance of the Note class.
Declaration
public Note(IdentifierTriple subject, string predicate, string noteValue)
Parameters
| Type | Name | Description |
|---|---|---|
| IdentifierTriple | subject | The subject of the note. |
| string | predicate | The predicate. |
| string | noteValue | The note value. |
Properties
ObjectId
Gets the identifier of the item to which the note applies.
Declaration
[IgnoreDataMember]
public IdentifierTriple ObjectId { get; }
Property Value
| Type | Description |
|---|---|
| IdentifierTriple |
Predicate
Gets the predicate describing the nature of the note.
Declaration
[IgnoreDataMember]
public string Predicate { get; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Gets the type of the note.
Declaration
[IgnoreDataMember]
public NoteType Type { get; }
Property Value
| Type | Description |
|---|---|
| NoteType |
Value
Gets the content of the Note.
Declaration
[IgnoreDataMember]
public string Value { get; }
Property Value
| Type | Description |
|---|---|
| string |