Class Note
Represents additional information about an item.
Inheritance
System.Object
Note
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public sealed class Note : Tuple<IdentifierTriple, NoteType, string, string>
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. |
System.String | predicate | The predicate. |
System.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. |
System.String | predicate | The predicate. |
System.String | noteValue | The note value. |
Properties
ObjectId
Gets the identifier of the item to which the note applies.
Declaration
public IdentifierTriple ObjectId { get; }
Property Value
Type | Description |
---|---|
IdentifierTriple |
Predicate
Gets the predicate describing the nature of the note.
Declaration
public string Predicate { get; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets the type of the note.
Declaration
public NoteType Type { get; }
Property Value
Type | Description |
---|---|
NoteType |
Value
Gets the content of the Note.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |