SICClassUtils Class Reference
Inherits from | NSObject |
---|---|
Declared in | SICClassUtils.h SICClassUtils.m |
+ createClass:
Create a Class Object based on class name provided.
+ (id)createClass:(NSString *)className
Parameters
className |
Name of Class |
---|
Return Value
Class Object
Discussion
Create a Class Object based on class name provided.
Declared In
SICClassUtils.h
+ createClassInstance:
Creates class object based on full class name provided.
+ (id)createClassInstance:(NSString *)className
Parameters
className |
Name of class. |
---|
Return Value
Object of class.
Discussion
Creates class object based on full class name provided.
Exceptions
SICSiminovException |
If any exception occur while creating class object based on class name provided. |
---|
Declared In
SICClassUtils.h
+ createMethodBasedOnClassName:methodName:parameterTypes:
Create a method object.
+ (Method)createMethodBasedOnClassName:(NSString *)className methodName:(NSString *)methodName parameterTypes:(id)parameterTypes
Parameters
className |
Name of Class |
---|---|
methodName |
Name of Method |
parameterTypes |
Parameter Types |
Return Value
Method Object
Discussion
Create a method object.
Declared In
SICClassUtils.h
+ createMethodBasedOnClassInstance:methodName:parameterTypes:
Create a method object.
+ (Method)createMethodBasedOnClassInstance:(id)classObject methodName:(NSString *)methodName parameterTypes:(id)parameterTypes
Parameters
classObject |
Class Object |
---|---|
methodName |
Name of Method |
parameterTypes |
Parameter Types |
Return Value
Method Object
Discussion
Create a method object.
Declared In
SICClassUtils.h
+ getValues:methodNames:
Get column values based on class object and method name provided.
+ (NSEnumerator *)getValues:(id const)classObject methodNames:(NSEnumerator *const)methodNames
Parameters
classObject |
Class Object. |
---|---|
methodNames |
Name Of Methods. |
Return Value
Column Values.
Discussion
Get column values based on class object and method name provided.
Exceptions
SICDatabaseException |
If any exception occur while getting column values. |
---|
Declared In
SICClassUtils.h
+ getValue:methodName:
Get column value based on class object and method name.
+ (id)getValue:(id const)classObject methodName:(NSString *const)methodName
Parameters
classObject |
Class Object. |
---|---|
methodName |
Name Of Method. |
Return Value
Column Value.
Discussion
Get column value based on class object and method name.
Exceptions
SICDatabaseException |
If any exception occur while getting column value. |
---|
Declared In
SICClassUtils.h
+ invokeMethodBasedOnMethodName:methodName:parameterTypes:parameters:
Invoke method based on class object, method name and parameter provided.
+ (id)invokeMethodBasedOnMethodName:(id const)classObject methodName:(NSString *const)methodName parameterTypes:(id const)parameterTypes parameters:(id const)parameters
Parameters
classObject |
Class Object. |
---|---|
methodName |
Name Of Method. |
parameterTypes |
Type of parameters. |
parameters |
Parameters To Method. |
Return Value
Object
Discussion
Invoke method based on class object, method name and parameter provided.
Declared In
SICClassUtils.h
+ invokeMethodBasedOnMethod:method:parameters:
Invoke method based on class object, method object and parameter provided.
+ (id)invokeMethodBasedOnMethod:(id const)classObject method:(Method)method parameters:(id const)parameters
Parameters
classObject |
Class Object. |
---|---|
method |
Method Object. |
parameters |
Parameters to the method |
Return Value
Object
Discussion
Invoke method based on class object, method object and parameter provided.
Declared In
SICClassUtils.h
+ createAndInflateObject:data:
Get new object created and filled with values provided.
+ (id)createAndInflateObject:(NSString *const)className data:(NSDictionary *const)data
Parameters
className |
Class Name. |
---|---|
data |
Column Values. |
Return Value
Class Object.
Discussion
Get new object created and filled with values provided.
Exceptions
SICDatabaseException |
If any exception occur while create and inflating class object. |
---|
Declared In
SICClassUtils.h