SIKLibraryDescriptor Class Reference

Inherits from SICLibraryDescriptor
Declared in SIKLibraryDescriptor.h
SIKLibraryDescriptor.m

Overview

  • Exposes methods to GET and SET Library Descriptor information as per define in LibraryDescriptor.xml file by application.


Example:
    {@code

    
    
        

            
        name_of_library

            
        description_of_library
    


        

            
            
        
            name_of_database_descriptor.full_path_of_entity_descriptor_file
        


        

            
            
        
            full_path_of_service-descriptor_file
        


        

            
            
        
            full_path_of_sync_descriptor_file
        


    
    }
    
</p>

*

– addServiceDescriptorPath:

Add service descriptor path

- (void)addServiceDescriptorPath:(NSString *)serviceDescriptorPath

Parameters

serviceDescriptorPath

Path of service descriptor

Discussion

Add service descriptor path

Declared In

SIKLibraryDescriptor.h

– removeServiceDescriptorPath:

Remove service descriptor path

- (void)removeServiceDescriptorPath:(NSString *)serviceDescriptorPath

Parameters

serviceDescriptorPath

Path of service descriptor

Discussion

Remove service descriptor path

Declared In

SIKLibraryDescriptor.h

– getServiceDescriptorPaths

Get all service descriptor paths

- (NSEnumerator *)getServiceDescriptorPaths

Return Value

Service descriptor paths

Discussion

Get all service descriptor paths

Declared In

SIKLibraryDescriptor.h

– containServiceDescriptorPathBasedOnName:

Check whether service descriptor path based on name

- (bool)containServiceDescriptorPathBasedOnName:(NSString *)serviceDescriptorName

Parameters

serviceDescriptorName

Name of service descriptor

Return Value

(true/false) TRUE: If service descriptor path exists | FALSE: If service descriptor does not exists

Discussion

Check whether service descriptor path based on name

Declared In

SIKLibraryDescriptor.h

– containServiceDescriptorNameBasedOnPath:

Check whether service descriptor name exists based on path

- (bool)containServiceDescriptorNameBasedOnPath:(NSString *)serviceDescriptorPath

Parameters

serviceDescriptorPath

Path of service descriptor

Return Value

(true/false) TRUE: If service descriptor name exists | FALSE: If service descriptor name does not exists

Discussion

Check whether service descriptor name exists based on path

Declared In

SIKLibraryDescriptor.h

– getServiceDescriptorPathBasedOnName:

Get service descriptor path based on name

- (NSString *)getServiceDescriptorPathBasedOnName:(NSString *)serviceDescriptorName

Parameters

serviceDescriptorName

Name of serivce descriptor

Return Value

Path of service descriptor

Discussion

Get service descriptor path based on name

Declared In

SIKLibraryDescriptor.h

– addServiceDescriptorNameBasedOnPath:serviceDescriptorName:

Add service descriptor name based on path

- (void)addServiceDescriptorNameBasedOnPath:(NSString *)serviceDescriptorPath serviceDescriptorName:(NSString *)serviceDescriptoName

Parameters

serviceDescriptorPath

Path of service descriptor

serviceDescriptoName

Name of service descriptor

Discussion

Add service descriptor name based on path

Declared In

SIKLibraryDescriptor.h

– removeServiceDescriptorNameBasedOnPath:

Remove service descriptor name based on path

- (void)removeServiceDescriptorNameBasedOnPath:(NSString *)serviceDescriptorPath

Parameters

serviceDescriptorPath

Path of service descriptor

Discussion

Remove service descriptor name based on path

Declared In

SIKLibraryDescriptor.h

– addSyncDescriptorPath:

Add sync descriptor path

- (void)addSyncDescriptorPath:(NSString *)syncDescriptorPath

Parameters

syncDescriptorPath

Path of sync descriptor

Discussion

Add sync descriptor path

Declared In

SIKLibraryDescriptor.h

– removeSyncDescriptorPath:

Remove sync descriptor path

- (void)removeSyncDescriptorPath:(NSString *)syncDescriptorPath

Parameters

syncDescriptorPath

Path of sync descriptor

Discussion

Remove sync descriptor path

Declared In

SIKLibraryDescriptor.h

– getSyncDescriptorPaths

Get all sync descriptor paths

- (NSEnumerator *)getSyncDescriptorPaths

Return Value

Sync descriptor paths

Discussion

Get all sync descriptor paths

Declared In

SIKLibraryDescriptor.h

– containSyncDescriptorPathBasedOnName:

Check whether sync descriptor path based on name

- (bool)containSyncDescriptorPathBasedOnName:(NSString *)syncDescriptorName

Parameters

syncDescriptorName

Name of sync descriptor

Return Value

(true/false) TRUE: If sync descriptor path exists | FALSE: If sync descriptor does not exists

Discussion

Check whether sync descriptor path based on name

Declared In

SIKLibraryDescriptor.h

– containSyncDescriptorNameBasedOnPath:

Check whether sync descriptor name exists based on path

- (bool)containSyncDescriptorNameBasedOnPath:(NSString *)syncDescriptorPath

Parameters

syncDescriptorPath

Path of sync descriptor

Return Value

(true/false) TRUE: If sync descriptor name exists | FALSE: If sync descriptor name does not exists

Discussion

Check whether sync descriptor name exists based on path

Declared In

SIKLibraryDescriptor.h

– getSyncDescriptorPathBasedOnName:

Get sync descriptor path based on name

- (NSString *)getSyncDescriptorPathBasedOnName:(NSString *)syncDescriptorName

Parameters

syncDescriptorName

Name of sync descriptor

Return Value

Path of sync descriptor

Discussion

Get sync descriptor path based on name

Declared In

SIKLibraryDescriptor.h

– addSyncDescriptorNameBasedOnPath:syncDescriptoName:

Add sync descriptor name based on path

- (void)addSyncDescriptorNameBasedOnPath:(NSString *)syncDescriptorPath syncDescriptoName:(NSString *)syncDescriptoName

Parameters

syncDescriptorPath

Path of sync descriptor

syncDescriptoName

Name of sync descriptor

Discussion

Add sync descriptor name based on path

Declared In

SIKLibraryDescriptor.h

– removeSyncDescriptorNameBasedOnPath:

Remove sync descriptor name based on path

- (void)removeSyncDescriptorNameBasedOnPath:(NSString *)syncDescriptorPath

Parameters

syncDescriptorPath

Path of sync descriptor

Discussion

Remove sync descriptor name based on path

Declared In

SIKLibraryDescriptor.h