Package org.robovm.apple.coredata
Class NSRelationshipDescription
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.coredata.NSPropertyDescription
-
- org.robovm.apple.coredata.NSRelationshipDescription
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class NSRelationshipDescription extends NSPropertyDescription
- Since:
- Available in iOS 3.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSRelationshipDescription.NSRelationshipDescriptionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.coredata.NSPropertyDescription
NSPropertyDescription.NSPropertyDescriptionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSRelationshipDescription()
protected
NSRelationshipDescription(NSObject.Handle h, long handle)
protected
NSRelationshipDescription(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NSDeleteRule
getDeleteRule()
NSEntityDescription
getDestinationEntity()
NSRelationshipDescription
getInverseRelationship()
long
getMaxCount()
long
getMinCount()
NSData
getVersionHash()
boolean
isOrdered()
boolean
isToMany()
void
setDeleteRule(NSDeleteRule v)
void
setDestinationEntity(NSEntityDescription v)
void
setInverseRelationship(NSRelationshipDescription v)
void
setMaxCount(long v)
void
setMinCount(long v)
void
setOrdered(boolean v)
-
Methods inherited from class org.robovm.apple.coredata.NSPropertyDescription
encode, getEntity, getName, getRenamingIdentifier, getUserInfo, getValidationPredicates, getValidationWarnings, getVersionHashModifier, init, isIndexed, isIndexedBySpotlight, isOptional, isStoredInExternalRecord, isTransient, setIndexed, setIndexedBySpotlight, setName, setOptional, setRenamingIdentifier, setStoredInExternalRecord, setTransient, setUserInfo, setValidationPredicatesAndWarnings, setVersionHashModifier
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSRelationshipDescription
public NSRelationshipDescription()
-
NSRelationshipDescription
protected NSRelationshipDescription(NSObject.Handle h, long handle)
-
NSRelationshipDescription
protected NSRelationshipDescription(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getDestinationEntity
public NSEntityDescription getDestinationEntity()
-
setDestinationEntity
public void setDestinationEntity(NSEntityDescription v)
-
getInverseRelationship
public NSRelationshipDescription getInverseRelationship()
-
setInverseRelationship
public void setInverseRelationship(NSRelationshipDescription v)
-
getMaxCount
public long getMaxCount()
-
setMaxCount
public void setMaxCount(long v)
-
getMinCount
public long getMinCount()
-
setMinCount
public void setMinCount(long v)
-
getDeleteRule
public NSDeleteRule getDeleteRule()
-
setDeleteRule
public void setDeleteRule(NSDeleteRule v)
-
isToMany
public boolean isToMany()
-
getVersionHash
public NSData getVersionHash()
- Overrides:
getVersionHash
in classNSPropertyDescription
- Since:
- Available in iOS 3.0 and later.
-
isOrdered
public boolean isOrdered()
- Since:
- Available in iOS 5.0 and later.
-
setOrdered
public void setOrdered(boolean v)
- Since:
- Available in iOS 5.0 and later.
-
-