/** * @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. */ 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>*/
/** * @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. */ 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; } /**