/** * @since Available in iOS 3.0 and later. */ public NSMappingModel(NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel) throws NSErrorException { super(createInferred(sourceModel, destinationModel)); retain(getHandle()); } /*<properties>*/
public NSMappingModel(NSURL url) { super((SkipInit) null); initObject(init(url)); } public NSMappingModel(NSArray<NSBundle> bundles, NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel) { super(create(bundles, sourceModel, destinationModel)); retain(getHandle()); }
/** * @since Available in iOS 3.0 and later. */ protected static @Pointer long createInferred(NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); long result = createInferred(sourceModel, destinationModel, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 3.0 and later. */ protected static @Pointer long createInferred(NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); long result = createInferred(sourceModel, destinationModel, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 3.0 and later. */ public NSMappingModel(NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel) throws NSErrorException { super(createInferred(sourceModel, destinationModel)); retain(getHandle()); } /*<properties>*/
@Method(selector = "initWithContentsOfURL:") public NSMappingModel(NSURL url) { super((SkipInit) null); initObject(init(url)); } public NSMappingModel(NSArray<NSBundle> bundles, NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel) { super((Handle) null, create(bundles, sourceModel, destinationModel)); retain(getHandle()); }
/** * @since Available in iOS 3.0 and later. */ protected static @Pointer long createInferred(NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); long result = createInferred(sourceModel, destinationModel, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 3.0 and later. */ public NSMappingModel(NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel) throws NSErrorException { super(createInferred(sourceModel, destinationModel)); retain(getHandle()); } /*<properties>*/
@Method(selector = "initWithContentsOfURL:") public NSMappingModel(NSURL url) { super((SkipInit) null); initObject(init(url)); } public NSMappingModel(NSArray<NSBundle> bundles, NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel) { super((Handle) null, create(bundles, sourceModel, destinationModel)); retain(getHandle()); }