|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.foundation.NSExpression
public abstract class NSExpression
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 |
NSExpression._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 | |
|---|---|
NSExpression()
|
|
| Method Summary | |
|---|---|
static NSExpression |
alloc()
|
abstract NSArray |
arguments()
array of expressions which will be passed as parameters during invocation of the selector on the operand of a function expression Original signature : -(NSArray*)argumentsnative declaration : NSExpression.h:109 |
abstract NSObject |
collection()
Original signature : -(id)collectionnative declaration : NSExpression.h:112 |
abstract NSObject |
constantValue()
Original signature : -(id)constantValuenative declaration : NSExpression.h:104 |
static NSExpression |
createWithExpressionType(int type)
Factory method |
static NSExpression |
expressionForAggregate(NSArray subexpressions)
Expression that returns a collection containing the results of other expressions Original signature : +(NSExpression*)expressionForAggregate:(NSArray*)native declaration : NSExpression.h:88 |
static NSExpression |
expressionForConstantValue(ObjCObject obj)
Expression that returns a constant value Original signature : +(NSExpression*)expressionForConstantValue:(id)native declaration : NSExpression.h:44 |
static NSExpression |
expressionForEvaluatedObject()
Expression that returns the object being evaluated Original signature : +(NSExpression*)expressionForEvaluatedObjectnative declaration : NSExpression.h:45 |
static NSExpression |
expressionForFunction_arguments(NSString name,
NSArray parameters)
Expression that invokes one of the predefined functions. |
static NSExpression |
expressionForFunction_selectorName_arguments(NSExpression target,
NSString name,
NSArray parameters)
Expression that invokes the selector on target with parameters. |
static NSExpression |
expressionForIntersectSet_with(NSExpression left,
NSExpression right)
return an expression that will return the intersection of the collections expressed by left and right Original signature : +(NSExpression*)expressionForIntersectSet:(NSExpression*) with:(NSExpression*)native declaration : NSExpression.h:90 |
static NSExpression |
expressionForKeyPath(NSString keyPath)
Expression that invokes valueForKeyPath with keyPath Original signature : +(NSExpression*)expressionForKeyPath:(NSString*)native declaration : NSExpression.h:47 |
static NSExpression |
expressionForMinusSet_with(NSExpression left,
NSExpression right)
return an expression that will return the disjunction of the collections expressed by left and right Original signature : +(NSExpression*)expressionForMinusSet:(NSExpression*) with:(NSExpression*)native declaration : NSExpression.h:91 |
static NSExpression |
expressionForSubquery_usingIteratorVariable_predicate(NSExpression expression,
NSString variable,
ObjCObject predicate)
Expression that filters a collection by storing elements in the collection in the variable variable and keeping the elements for which qualifer returns true; variable is used as a local variable, and will shadow any instances of variable in the bindings dictionary, the variable is removed or the old value replaced once evaluation completes Original signature : +(NSExpression*)expressionForSubquery:(NSExpression*) usingIteratorVariable:(NSString*) predicate:(id)native declaration : NSExpression.h:92 |
static NSExpression |
expressionForUnionSet_with(NSExpression left,
NSExpression right)
return an expression that will return the union of the collections expressed by left and right Original signature : +(NSExpression*)expressionForUnionSet:(NSExpression*) with:(NSExpression*)native declaration : NSExpression.h:89 |
static NSExpression |
expressionForVariable(NSString string)
Expression that pulls a value from the variable bindings dictionary Original signature : +(NSExpression*)expressionForVariable:(NSString*)native declaration : NSExpression.h:46 |
abstract int |
expressionType()
accessors for individual parameters - raise if not applicable Original signature : -(NSExpressionType)expressionTypenative declaration : NSExpression.h:103 |
abstract NSObject |
expressionValueWithObject_context(ObjCObject object,
NSMutableDictionary context)
evaluate the expression using the object and bindings- note that context is mutable here and can be used by expressions to store temporary state for one predicate evaluation Original signature : -(id)expressionValueWithObject:(id) context:(NSMutableDictionary*)native declaration : NSExpression.h:123 |
abstract NSString |
function()
Original signature : -(NSString*)functionnative declaration : NSExpression.h:106 |
static NSExpression._class_ |
getNSClass()
|
abstract NSExpression |
initWithExpressionType(int type)
designated initializer Original signature : -(id)initWithExpressionType:(NSExpressionType)native declaration : NSExpression.h:100 |
abstract NSString |
keyPath()
Original signature : -(NSString*)keyPathnative declaration : NSExpression.h:105 |
abstract NSExpression |
leftExpression()
expression which represents the left side of a set expression Original signature : -(NSExpression*)leftExpressionnative declaration : NSExpression.h:114 |
static NSExpression |
new_()
|
abstract NSExpression |
operand()
the object on which the selector will be invoked (the result of evaluating a key path or one of the defined functions) Original signature : -(NSExpression*)operandnative declaration : NSExpression.h:108 |
abstract NSPredicate |
predicate()
Original signature : -(NSPredicate*)predicatenative declaration : NSExpression.h:113 |
abstract NSExpression |
rightExpression()
expression which represents the right side of a set expression Original signature : -(NSExpression*)rightExpressionnative declaration : NSExpression.h:115 |
abstract NSString |
variable()
Original signature : -(NSString*)variablenative declaration : NSExpression.h:107 |
| 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 |
|---|
public NSExpression()
| Method Detail |
|---|
public static NSExpression expressionForConstantValue(ObjCObject obj)
+(NSExpression*)expressionForConstantValue:(id)
public static NSExpression expressionForEvaluatedObject()
+(NSExpression*)expressionForEvaluatedObject
public static NSExpression expressionForVariable(NSString string)
+(NSExpression*)expressionForVariable:(NSString*)
public static NSExpression expressionForKeyPath(NSString keyPath)
+(NSExpression*)expressionForKeyPath:(NSString*)
public static NSExpression expressionForFunction_arguments(NSString name,
NSArray parameters)
+(NSExpression*)expressionForFunction:(NSString*) arguments:(NSArray*)
public static NSExpression expressionForAggregate(NSArray subexpressions)
+(NSExpression*)expressionForAggregate:(NSArray*)
public static NSExpression expressionForUnionSet_with(NSExpression left,
NSExpression right)
+(NSExpression*)expressionForUnionSet:(NSExpression*) with:(NSExpression*)
public static NSExpression expressionForIntersectSet_with(NSExpression left,
NSExpression right)
+(NSExpression*)expressionForIntersectSet:(NSExpression*) with:(NSExpression*)
public static NSExpression expressionForMinusSet_with(NSExpression left,
NSExpression right)
+(NSExpression*)expressionForMinusSet:(NSExpression*) with:(NSExpression*)
public static NSExpression expressionForSubquery_usingIteratorVariable_predicate(NSExpression expression,
NSString variable,
ObjCObject predicate)
+(NSExpression*)expressionForSubquery:(NSExpression*) usingIteratorVariable:(NSString*) predicate:(id)
public static NSExpression expressionForFunction_selectorName_arguments(NSExpression target,
NSString name,
NSArray parameters)
+(NSExpression*)expressionForFunction:(NSExpression*) selectorName:(NSString*) arguments:(NSArray*)
public abstract NSExpression initWithExpressionType(int type)
-(id)initWithExpressionType:(NSExpressionType)
type - @see org.rococoa.cocoa.foundation.FoundationLibrary#NSExpressionTypepublic static NSExpression createWithExpressionType(int type)
initWithExpressionType(int)public abstract int expressionType()
-(NSExpressionType)expressionType
public abstract NSObject constantValue()
-(id)constantValue
public abstract NSString keyPath()
-(NSString*)keyPath
public abstract NSString function()
-(NSString*)function
public abstract NSString variable()
-(NSString*)variable
public abstract NSExpression operand()
-(NSExpression*)operand
public abstract NSArray arguments()
-(NSArray*)arguments
public abstract NSObject collection()
-(id)collection
public abstract NSPredicate predicate()
-(NSPredicate*)predicate
public abstract NSExpression leftExpression()
-(NSExpression*)leftExpression
public abstract NSExpression rightExpression()
-(NSExpression*)rightExpression
public abstract NSObject expressionValueWithObject_context(ObjCObject object,
NSMutableDictionary context)
-(id)expressionValueWithObject:(id) context:(NSMutableDictionary*)
public static NSExpression alloc()
public static NSExpression new_()
public static NSExpression._class_ getNSClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||