Class Note
Represents additional information about an item.
Inherited Members
Tuple<IdentifierTriple, NoteType, String, String>.IStructuralComparable.CompareTo(Object, IComparer)
System.Tuple<Algenta.Colectica.Model.Utility.IdentifierTriple, Algenta.Colectica.Model.Utility.NoteType, System.String, System.String>.System.Runtime.CompilerServices.ITuple.get_Item(System.Int32)
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
[Serializable]
public sealed class Note : Tuple<IdentifierTriple, NoteType, string, string>, IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal, 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 |