public class NSEntityDescription extends NSObject implements NSCoding, NSCopying, NSFastEnumeration
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSEntityDescription(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static NSEntityDescription |
alloc() |
static NSEntityDescription |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSDictionary<java.lang.String,? extends NSAttributeDescription> |
attributesByName()
convenience methods to get the most common (and most relevant) types of properties for an entity
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
NSArray<? extends NSArray<?>> |
compoundIndexes()
Getter returns an array of arrays of NSPropertyDescription objects describing the components of the indexes.
|
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSExpression |
coreSpotlightDisplayNameExpression()
Expression used to compute the CoreSpotlight display name for instance of this entity.
|
long |
countByEnumeratingWithStateObjectsCount(org.moe.natj.general.ptr.VoidPtr state,
org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer,
long len) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
encodeWithCoder(NSCoder coder) |
static NSEntityDescription |
entityForNameInManagedObjectContext(java.lang.String entityName,
NSManagedObjectContext context) |
static long |
hash_static() |
NSArray<? extends NSFetchIndexDescription> |
indexes()
Returns/sets the set of indexes for the entity.
|
NSEntityDescription |
init() |
NSEntityDescription |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
static NSManagedObject |
insertNewObjectForEntityForNameInManagedObjectContext(java.lang.String entityName,
NSManagedObjectContext context) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isAbstract() |
boolean |
isKindOfEntity(NSEntityDescription entity)
Returns a boolean indicating if the receiver is a subentity of the specified entity.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
java.lang.String |
managedObjectClassName() |
NSManagedObjectModel |
managedObjectModel() |
java.lang.String |
name() |
static NSEntityDescription |
new_objc() |
NSArray<? extends NSPropertyDescription> |
properties() |
NSDictionary<java.lang.String,? extends NSPropertyDescription> |
propertiesByName() |
NSDictionary<java.lang.String,? extends NSRelationshipDescription> |
relationshipsByName() |
NSArray<? extends NSRelationshipDescription> |
relationshipsWithDestinationEntity(NSEntityDescription entity) |
java.lang.String |
renamingIdentifier() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAbstract(boolean value) |
void |
setCompoundIndexes(NSArray<? extends NSArray<?>> value)
Getter returns an array of arrays of NSPropertyDescription objects describing the components of the indexes.
|
void |
setCoreSpotlightDisplayNameExpression(NSExpression value)
Expression used to compute the CoreSpotlight display name for instance of this entity.
|
void |
setIndexes(NSArray<? extends NSFetchIndexDescription> value)
Returns/sets the set of indexes for the entity.
|
void |
setManagedObjectClassName(java.lang.String value) |
void |
setName(java.lang.String value) |
void |
setProperties(NSArray<? extends NSPropertyDescription> value) |
void |
setRenamingIdentifier(java.lang.String value) |
void |
setSubentities(NSArray<? extends NSEntityDescription> value) |
void |
setUniquenessConstraints(NSArray<? extends NSArray<?>> value)
Returns/sets uniqueness constraints for the entity.
|
void |
setUserInfo(NSDictionary<?,?> value) |
static void |
setVersion_static(long aVersion) |
void |
setVersionHashModifier(java.lang.String value)
Returns/sets the version hash modifier for the entity.
|
NSArray<? extends NSEntityDescription> |
subentities() |
NSDictionary<java.lang.String,? extends NSEntityDescription> |
subentitiesByName() |
static org.moe.natj.objc.Class |
superclass_static() |
NSEntityDescription |
superentity() |
NSArray<? extends NSArray<?>> |
uniquenessConstraints()
Returns/sets uniqueness constraints for the entity.
|
NSDictionary<?,?> |
userInfo() |
static long |
version_static() |
NSData |
versionHash()
Returns the version hash for the entity.
|
java.lang.String |
versionHashModifier()
Returns/sets the version hash modifier for the entity.
|
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected NSEntityDescription(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static NSEntityDescription alloc()
public static NSEntityDescription allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static NSEntityDescription entityForNameInManagedObjectContext(java.lang.String entityName, NSManagedObjectContext context)
public static long hash_static()
public static NSManagedObject insertNewObjectForEntityForNameInManagedObjectContext(java.lang.String entityName, NSManagedObjectContext context)
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NSEntityDescription new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public NSDictionary<java.lang.String,? extends NSAttributeDescription> attributesByName()
public NSArray<? extends NSArray<?>> compoundIndexes()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic long countByEnumeratingWithStateObjectsCount(org.moe.natj.general.ptr.VoidPtr state,
org.moe.natj.general.ptr.Ptr<org.moe.natj.objc.ObjCObject> buffer,
long len)
countByEnumeratingWithStateObjectsCount in interface NSFastEnumerationpublic void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic NSEntityDescription init()
public NSEntityDescription initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic boolean isAbstract()
public void setAbstract(boolean value)
public boolean isKindOfEntity(NSEntityDescription entity)
public java.lang.String managedObjectClassName()
public NSManagedObjectModel managedObjectModel()
public java.lang.String name()
public NSArray<? extends NSPropertyDescription> properties()
public NSDictionary<java.lang.String,? extends NSPropertyDescription> propertiesByName()
public NSDictionary<java.lang.String,? extends NSRelationshipDescription> relationshipsByName()
public NSArray<? extends NSRelationshipDescription> relationshipsWithDestinationEntity(NSEntityDescription entity)
public java.lang.String renamingIdentifier()
public void setCompoundIndexes(NSArray<? extends NSArray<?>> value)
public void setManagedObjectClassName(java.lang.String value)
public void setName(java.lang.String value)
public void setProperties(NSArray<? extends NSPropertyDescription> value)
public void setRenamingIdentifier(java.lang.String value)
public void setSubentities(NSArray<? extends NSEntityDescription> value)
public void setUniquenessConstraints(NSArray<? extends NSArray<?>> value)
Sets an array of arrays, each of which contains one or more NSAttributeDescription or NSString instances (strings must be the names of attributes on the entity) on which the constraint is registered. Returns an array of arrays, each of which contains instances of NSString which identify the attributes on the entity that comprise the constraint. This value forms part of the entity's version hash. Stores which do not support uniqueness constraints should refuse to initialize when given a model containing such constraints. Discussion: uniqueness constraint violations can be computationally expensive to handle. It is highly suggested that there be only one uniqueness constraint per entity hierarchy, although subentites may extend a sueprentity's constraint.
public void setUserInfo(NSDictionary<?,?> value)
public void setVersionHashModifier(java.lang.String value)
public NSArray<? extends NSEntityDescription> subentities()
public NSDictionary<java.lang.String,? extends NSEntityDescription> subentitiesByName()
public NSEntityDescription superentity()
public NSArray<? extends NSArray<?>> uniquenessConstraints()
Sets an array of arrays, each of which contains one or more NSAttributeDescription or NSString instances (strings must be the names of attributes on the entity) on which the constraint is registered. Returns an array of arrays, each of which contains instances of NSString which identify the attributes on the entity that comprise the constraint. This value forms part of the entity's version hash. Stores which do not support uniqueness constraints should refuse to initialize when given a model containing such constraints. Discussion: uniqueness constraint violations can be computationally expensive to handle. It is highly suggested that there be only one uniqueness constraint per entity hierarchy, although subentites may extend a sueprentity's constraint.
public NSDictionary<?,?> userInfo()
public NSData versionHash()
public java.lang.String versionHashModifier()
public NSExpression coreSpotlightDisplayNameExpression()
public NSArray<? extends NSFetchIndexDescription> indexes()
public void setCoreSpotlightDisplayNameExpression(NSExpression value)
public void setIndexes(NSArray<? extends NSFetchIndexDescription> value)