WebServiceData Class
Constructor
WebServiceData
()
Item Index
Methods
dataHead
()
Null | WebServiceDataCacheNode
Return a pointer to the first WebServiceDataCacheNode in this WebServieData's cache that actually contains data, if any. If the cache doesn't contain any data, return null.
Returns:
dataTail
()
Null | WebServiceDataCacheNode
Return a pointer to the last WebServiceDataCacheNode in this WebServieData's cache that actually contains data, if any. If the cache doesn't contain any data, return null.
Returns:
init
()
Initialization function --- should be called from isBuiltWith initializer. This is split off into a separate function so that it can be called from submodel's isBuiltWith initializers as well, since Jermaine does not provide a way to call the parent models' isBuiltWith initializer function.
initializeColumns
()
Set the data
attribute of each of this data object's columns
to point to the data object itself.
insertCacheNode
-
node
Insert a WebServiceCacheNode into this WebService's cache. If this node's coveredMin is less than the cache head's coveredMin, insert it at the head; otherwise insert it at the tail. Note that nodes are only inserted either at the head or at the tail of the cache --- not in the middle.
Parameters:
-
node
WebServiceCacheNode
insureCoveredRange
()
Initiate requests needed to fetch data between coveredMin and coveredMax, if any.
Properties
cacheHead
Null | WebServiceDataCacheNode
A pointer to the head WebServiceDataCacheNode in this WebServieData's cache.
cacheTail
Null | WebServiceDataCacheNode
A pointer to the tail WebServiceDataCacheNode in this WebServieData's cache.