|
NTP Analyzer
0.8.2
Analyze the operation of time servers
|

Public Member Functions | |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| void | SetId (int id) |
| Sets the identifier after the object have been stored in persistent storage. More... | |
| override string | ToString () |
| Returns a string that represents the current PersistentObject. More... | |
Protected Member Functions | |
| PersistentObject (int id) | |
| Initializes a new instance of the PersistentObject class. More... | |
| PersistentObject () | |
| Initializes a new instance of the PersistentObject class. More... | |
Properties | |
| int | Id [get, private set] |
| Gets the identifier. More... | |
| bool | NewObject [get, protected set] |
| Gets a value indicating whether this PersistentObject is a new object which does not yet exists in the peristing storage (database etc). More... | |
Definition at line 24 of file PersistentObject.cs.
|
inlineprotected |
Initializes a new instance of the PersistentObject class.
| id | Identifier. |
Constructor used when creating instances from data storage.
Definition at line 33 of file PersistentObject.cs.
|
inlineprotected |
Initializes a new instance of the PersistentObject class.
Definition at line 42 of file PersistentObject.cs.
|
inline |
Definition at line 66 of file PersistentObject.cs.
|
inline |
Definition at line 80 of file PersistentObject.cs.
|
inline |
Sets the identifier after the object have been stored in persistent storage.
| id | Identifier. |
Definition at line 94 of file PersistentObject.cs.
Referenced by Ntp.Analyzer.Data.Sql.PeerDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.PeerActivityDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.DriftReadingDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.TimeServerDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.HostReadingDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.PeerReadingDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.HostIoReadingDatabaseMapper.Insert(), and Ntp.Analyzer.Data.Sql.AssociationEntryMapper.Insert().

|
inline |
Returns a string that represents the current PersistentObject.
Definition at line 106 of file PersistentObject.cs.
|
getprivate set |
Gets the identifier.
The identifier is equal to the primary key in database terminology.
The identifier.
Definition at line 55 of file PersistentObject.cs.
Referenced by Ntp.Analyzer.Statistics.StatusBuilder.Build(), Ntp.Analyzer.Import.ImportFactory.CreatePeerImporter(), Ntp.Analyzer.Data.Sql.HostDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.PeerActivityDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.DriftReadingDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.TimeServerDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.HostReadingDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.PeerReadingDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.HostIoReadingDatabaseMapper.Insert(), Ntp.Analyzer.Data.Sql.HostDatabaseMapper.Update(), Ntp.Analyzer.Data.Sql.PeerDatabaseMapper.Update(), and Ntp.Analyzer.Data.Sql.PeerActivityDatabaseMapper.Update().
|
getprotected set |
Gets a value indicating whether this PersistentObject is a new object which does not yet exists in the peristing storage (database etc).
true if new object; otherwise, false.
Definition at line 64 of file PersistentObject.cs.