/** * Loads an instance object of this type into a cache. If the instance is already in the cache, * the cached instance is returned. * * @param PDWorkingCopy pdWorkingCopy to load the instance into * @param id GUID of the instance Do not directly call this method. Use the newInstance() method * in PDCache which would call this method */ public static PDOrder load(PDWorkingCopy pdWorkingCopy, GUID id) { PDInstance instance = pdWorkingCopy.load(typeId, id); return (PDOrder) instance; }