org.rococoa.cocoa.coredata
Class NSAttributeDescription

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.coredata.NSPropertyDescription
          extended by org.rococoa.cocoa.coredata.NSAttributeDescription
All Implemented Interfaces:
NSCoding, NSCopying, NSObject, ObjCObject

public abstract class NSAttributeDescription
extends NSPropertyDescription

Attributes represent individual values like strings, numbers, dates, etc.
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSAttributeDescription.__attributeDescriptionFlags
           
static class NSAttributeDescription._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
NSCopying._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSAttributeDescription()
           
 
Method Summary
static NSAttributeDescription alloc()
           
abstract  NSUInteger attributeType()
          NSUndefinedAttributeType is valid for transient properties - Core Data will still track the property as an id value and register undo/redo actions, etc.
abstract  NSString attributeValueClassName()
          Original signature : -(NSString*)attributeValueClassName
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:60
abstract  NSObject defaultValue()
          Original signature : -(id)defaultValue
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:62
static NSAttributeDescription._class_ getNSClass()
           
static NSAttributeDescription new_()
           
abstract  void setAttributeType(NSUInteger type)
          Original signature : -(void)setAttributeType:(NSAttributeType)
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:58
abstract  void setAttributeValueClassName(NSString className)
          Sets the value class for the attribute (when using transient properties.)
abstract  void setDefaultValue(ObjCObject value)
          value is retained and not copied
Original signature : -(void)setDefaultValue:(id)
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:63
abstract  void setValueTransformerName(NSString string)
          Original signature : -(void)setValueTransformerName:(NSString*)
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:78
abstract  NSString valueTransformerName()
          The name of the transformer used to convert a NSTransformedAttributeType.
abstract  NSData versionHash()
          Returns the version hash for the attribute.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
copyWithZone
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSAttributeDescription

public NSAttributeDescription()
Method Detail

attributeType

public abstract NSUInteger attributeType()
NSUndefinedAttributeType is valid for transient properties - Core Data will still track the property as an id value and register undo/redo actions, etc. NSUndefinedAttributeType is illegal for non-transient properties.
Original signature : -(NSAttributeType)attributeType
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:57


setAttributeType

public abstract void setAttributeType(NSUInteger type)
Original signature : -(void)setAttributeType:(NSAttributeType)
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:58


attributeValueClassName

public abstract NSString attributeValueClassName()
Original signature : -(NSString*)attributeValueClassName
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:60


defaultValue

public abstract NSObject defaultValue()
Original signature : -(id)defaultValue
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:62


setDefaultValue

public abstract void setDefaultValue(ObjCObject value)
value is retained and not copied
Original signature : -(void)setDefaultValue:(id)
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:63


setAttributeValueClassName

public abstract void setAttributeValueClassName(NSString className)
Sets the value class for the attribute (when using transient properties.)
Original signature : -(void)setAttributeValueClassName:(NSString*)
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:69


versionHash

public abstract NSData versionHash()
Returns the version hash for the attribute. This value includes the versionHash information from the NSPropertyDescription superclass, and the attribute type.
Original signature : -(NSData*)versionHash
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:73


valueTransformerName

public abstract NSString valueTransformerName()
The name of the transformer used to convert a NSTransformedAttributeType. The transformer must output NSData from transformValue and allow reverse transformation. If this value is not set, or set to nil, Core Data will default to using a transformer which uses NSCoding to archive/unarchive the attribute value.
Original signature : -(NSString*)valueTransformerName
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:77


setValueTransformerName

public abstract void setValueTransformerName(NSString string)
Original signature : -(void)setValueTransformerName:(NSString*)
native declaration : /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:78


alloc

public static NSAttributeDescription alloc()

new_

public static NSAttributeDescription new_()

getNSClass

public static NSAttributeDescription._class_ getNSClass()


Copyright © 2009. All Rights Reserved.