/** * @since Available in iOS 3.0 and later. */ public NSSet<NSManagedObject> getUpdatedObjects() { if (has(Keys.UpdatedObjects())) { NSSet<NSManagedObject> val = (NSSet<NSManagedObject>) get(Keys.UpdatedObjects()); return val; } return null; } /**
/** * @since Available in iOS 3.0 and later. */ public NSSet<NSManagedObject> getInvalidatedObjects() { if (has(Keys.InvalidatedObjects())) { NSSet<NSManagedObject> val = (NSSet<NSManagedObject>) get(Keys.InvalidatedObjects()); return val; } return null; } /**
/** * @since Available in iOS 7.0 and later. */ public NSPersistentStoreUbiquitousTransitionType getUbiquitousTransitionType() { if (has(Keys.UbiquitousTransitionType())) { NSNumber val = (NSNumber) get(Keys.UbiquitousTransitionType()); return NSPersistentStoreUbiquitousTransitionType.valueOf(val.longValue()); } return null; } /*</methods>*/
/** * @since Available in iOS 3.0 and later. */ public NSArray<NSPersistentStore> getUUIDChangedStores() { if (has(Keys.UUIDChanged())) { NSArray<NSPersistentStore> val = (NSArray<NSPersistentStore>) get(Keys.UUIDChanged()); return val; } return null; } /**
/** * @since Available in iOS 3.0 and later. */ public NSDictionary<?, ?> getModelVersionHashes() { if (has(Keys.ModelVersionHashes())) { NSDictionary<?, ?> val = (NSDictionary<?, ?>) get(Keys.ModelVersionHashes()); return val; } return null; } /**
/** * @since Available in iOS 3.0 and later. */ public NSSet<NSManagedObject> getRefreshedObjects() { if (has(Keys.RefreshedObjects())) { NSSet<NSManagedObject> val = (NSSet<NSManagedObject>) get(Keys.RefreshedObjects()); return val; } return null; } /**
/** * @since Available in iOS 3.0 and later. */ public NSArray<NSManagedObjectID> getAllInvalidatedObjects() { if (has(Keys.InvalidatedAllObjects())) { NSArray<NSManagedObjectID> val = (NSArray<NSManagedObjectID>) get(Keys.InvalidatedAllObjects()); return val; } return null; } /*</methods>*/
/** * @since Available in iOS 3.0 and later. */ public NSSet<NSManagedObject> getInsertedObjects() { if (has(Keys.InsertedObjects())) { NSSet<NSManagedObject> val = (NSSet<NSManagedObject>) get(Keys.InsertedObjects()); return val; } return null; } /**
/** * @since Available in iOS 3.0 and later. */ public NSSet<NSManagedObject> getDeletedObjects() { if (has(Keys.DeletedObjects())) { NSSet<NSManagedObject> val = (NSSet<NSManagedObject>) get(Keys.DeletedObjects()); return val; } return null; } /**
/** * @since Available in iOS 3.0 and later. */ public NSSet<?> getModelVersionIdentifiers() { if (has(Keys.ModelVersionIdentifiers())) { NSSet<?> val = (NSSet<?>) get(Keys.ModelVersionIdentifiers()); return val; } return null; } /**
/** * @since Available in iOS 3.0 and later. */ public NSMappingModel(NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel) throws NSErrorException { super(createInferred(sourceModel, destinationModel)); retain(getHandle()); } /*<properties>*/
/** * @since Available in iOS 3.0 and later. */ public boolean migratesPersistentStoresAutomatically() { if (has(Keys.MigratePersistentStoresAutomatically())) { NSNumber val = (NSNumber) get(Keys.MigratePersistentStoresAutomatically()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 7.0 and later. */ public String getUbiquitousPeerToken() { if (has(Keys.UbiquitousPeerToken())) { NSString val = (NSString) get(Keys.UbiquitousPeerToken()); return val.toString(); } return null; } /**
/** * @since Available in iOS 3.0 and later. */ public long getOSCompatibility() { if (has(Keys.OSCompatibility())) { NSNumber val = (NSNumber) get(Keys.OSCompatibility()); return val.longValue(); } return 0; } /*</methods>*/
/** * @since Available in iOS 5.0 and later. */ public NSManagedObjectContext(NSManagedObjectContextConcurrencyType ct) { super((SkipInit) null); initObject(init(ct)); } public NSManagedObjectContext(NSCoder aDecoder) { super((SkipInit) null); initObject(init(aDecoder)); }
/** * @since Available in iOS 5.0 and later. */ public NSPersistentStoreOptions setUbiquitousContentURL(String ubiquitousContentURL) { set(Keys.UbiquitousContentURL(), new NSString(ubiquitousContentURL)); return this; } /**