SIHApplicationDescriptor Class Reference
| Inherits from | SIKApplicationDescriptor |
|---|---|
| Declared in | SIHApplicationDescriptor.h SIHApplicationDescriptor.m |
Overview
- Exposes methods to GET and SET Application Descriptor information as per define in ApplicationDescriptor.xml file by application.
Example:
{@code
application_name
application_description
application_version
true/false
full_path_of_database_descriptor_file
full_path_of_service
name_of_sync_handler
sync_interval_in_millisecond
INTERVAL|SCREEN
name_of_service.name_of_api
value_of_property
adapter_path
full_path_of_library_descriptor_file
full_java_class_path_of_event_handler/javascript_class_path_of_event_handler (ISiminovHandler/IDatabaseHandler)
}
</p>
*
– getAdapterDescriptors
Get all adapter descriptors
- (NSEnumerator *)getAdapterDescriptorsReturn Value
Adapter Descriptors
Discussion
Get all adapter descriptors
Declared In
SIHApplicationDescriptor.h
– getAdapterDescriptorBasedOnName:
Get adapter descriptor based on name
- (SIHAdapterDescriptor *)getAdapterDescriptorBasedOnName:(NSString *)adapterDescriptorNameParameters
adapterDescriptorName |
Name of adapter descriptor |
|---|
Return Value
Adapter Descriptor
Discussion
Get adapter descriptor based on name
Declared In
SIHApplicationDescriptor.h
– getAdapterDescriptorBasedOnPath:
Get adapter descriptor based on path
- (SIHAdapterDescriptor *)getAdapterDescriptorBasedOnPath:(NSString *)adapterDescriptorPathParameters
adapterDescriptorPath |
Path of adapter descriptor |
|---|
Return Value
Adapter Descriptor
Discussion
Get adapter descriptor based on path
Declared In
SIHApplicationDescriptor.h
– addAdapterDescriptor:
Add adapter descriptor
- (void)addAdapterDescriptor:(SIHAdapterDescriptor *)adapterDescriptorParameters
adapterDescriptor |
Adapter Descriptor |
|---|
Discussion
Add adapter descriptor
Declared In
SIHApplicationDescriptor.h
– addAdapterDescriptor:adapterDescriptor:
Add adapter descriptor based on its path
- (void)addAdapterDescriptor:(NSString *)adapterDescriptorPath adapterDescriptor:(SIHAdapterDescriptor *)adapterDescriptorParameters
adapterDescriptorPath |
Path of adapter descriptor |
|---|---|
adapterDescriptor |
Adapter Descriptor |
Discussion
Add adapter descriptor based on its path
Declared In
SIHApplicationDescriptor.h
– containAdapterDescriptorBasedOnPath:
Check whether it contains adapter descriptor or not based on path
- (bool)containAdapterDescriptorBasedOnPath:(NSString *)adapterDescriptorPathParameters
adapterDescriptorPath |
Path of adapter descriptor |
|---|
Return Value
(true/false) TRUE: If adapter descriptor exists | FALSE: If adapter descriptor does not exists.
Discussion
Check whether it contains adapter descriptor or not based on path
Declared In
SIHApplicationDescriptor.h
– containAdapterDescriptorBasedOnName:
Check if adapter descriptor exists based on its name
- (bool)containAdapterDescriptorBasedOnName:(NSString *)adapterDescriptorNameParameters
adapterDescriptorName |
Name of adapter descriptor |
|---|
Return Value
(true/false) TRUE: If adapter descriptor exists | FALSE: If adapter descriptor does not exists
Discussion
Check if adapter descriptor exists based on its name
Declared In
SIHApplicationDescriptor.h
– getAdapterDescriptorPaths
Get all adapter descriptor paths
- (NSEnumerator *)getAdapterDescriptorPathsReturn Value
Adapter Descriptor Paths
Discussion
Get all adapter descriptor paths
Declared In
SIHApplicationDescriptor.h
– addAdapterDescriptorPath:
Add adapter descriptor path
- (void)addAdapterDescriptorPath:(NSString *)adapterDescriptorPathParameters
adapterDescriptorPath |
Path of adapter descriptor |
|---|
Discussion
Add adapter descriptor path
Declared In
SIHApplicationDescriptor.h
– containAdapterDescriptorPath:
Check if adapter descriptor path exists or not
- (bool)containAdapterDescriptorPath:(NSString *)adapterDescriptorPathParameters
adapterDescriptorPath |
Path of adapter descriptor |
|---|
Return Value
(true/false) TRUE: If path exists | FALSE: If path does not exists
Discussion
Check if adapter descriptor path exists or not
Declared In
SIHApplicationDescriptor.h
– removeAdapterDescriptorBasedOnName:
Remove adapter descriptor based on its name
- (void)removeAdapterDescriptorBasedOnName:(NSString *)adapterDescriptorNameParameters
adapterDescriptorName |
Name of adapter descriptor |
|---|
Discussion
Remove adapter descriptor based on its name
Declared In
SIHApplicationDescriptor.h
– removeAdapterDescriptorBasedOnPath:
Remove adapter descriptor based on path
- (void)removeAdapterDescriptorBasedOnPath:(NSString *)adapterDescriptorPathParameters
adapterDescriptorPath |
Path of adapter descriptor |
|---|
Discussion
Remove adapter descriptor based on path
Declared In
SIHApplicationDescriptor.h
– removeAdapter:
Remove adapter descriptor
- (void)removeAdapter:(SIHAdapterDescriptor *)adapterDescriptorParameters
adapterDescriptor |
Adapter Descriptor |
|---|
Discussion
Remove adapter descriptor
Declared In
SIHApplicationDescriptor.h