Interface | osid.Identifiable | ||
---|---|---|---|
Description |
| ||
Method | getId | ||
Description |
Gets the Id associated with this instance of this OSID object. Persisting any reference to this object is done by persisting the Id returned from this method. The Id returned may be different than the Id used to query this object. In this case, the new Id should be preferred over the old one for future queries. | ||
Return | osid.id.Id | the Id | |
Compliance | mandatory | This method must be implemented. | |
Provider Notes |
The | ||
Method | isCurrent | ||
Description |
Tests to see if the last method invoked retrieved up-to-date data. Simple retrieval methods do not specify errors as, generally, the data is retrieved once at the time this object is instantiated. Some implementations may provide real-time data though the application may not always care. An implementation providing a real-time service may fall back to a previous snapshot in case of error. This method returns false if the data last retrieved was stale. | ||
Return | boolean | true if the last data retrieval was up to date, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Provider Notes |
Providers should return false unless all getters are implemented using real-time queries, or some trigger process keeps the data in this object current. Providers should populate basic data elements at the time this object is instantiated, or set an error, to ensure some data availability. |