/** * @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>*/
public static /*<name>*/NSPersistentStoreUbiquitousTransitionType/*</name>*/ valueOf(long n) { for (/*<name>*/NSPersistentStoreUbiquitousTransitionType/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/NSPersistentStoreUbiquitousTransitionType/*</name>*/.class.getName()); } }
public static /*<name>*/NSPersistentStoreUbiquitousTransitionType/*</name>*/ valueOf(long n) { for (/*<name>*/NSPersistentStoreUbiquitousTransitionType/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/NSPersistentStoreUbiquitousTransitionType/*</name>*/.class.getName()); } }
/** * @since Available in iOS 7.0 and later. * @deprecated Deprecated in iOS 10.0. */ @Deprecated public NSPersistentStoreUbiquitousTransitionType getUbiquitousTransitionType() { if (has(Keys.UbiquitousTransitionType())) { NSNumber val = (NSNumber) get(Keys.UbiquitousTransitionType()); return NSPersistentStoreUbiquitousTransitionType.valueOf(val.longValue()); } return null; } /*</methods>*/
public static /*<name>*/NSPersistentStoreUbiquitousTransitionType/*</name>*/ valueOf(long n) { for (/*<name>*/NSPersistentStoreUbiquitousTransitionType/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/NSPersistentStoreUbiquitousTransitionType/*</name>*/.class.getName()); } }
/** * @since Available in iOS 7.0 and later. * @deprecated Deprecated in iOS 10.0. */ @Deprecated public NSPersistentStoreUbiquitousTransitionType getUbiquitousTransitionType() { if (has(Keys.UbiquitousTransitionType())) { NSNumber val = (NSNumber) get(Keys.UbiquitousTransitionType()); return NSPersistentStoreUbiquitousTransitionType.valueOf(val.longValue()); } return null; } /*</methods>*/