SICIDescriptor Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | SICIDescriptor.h |
Overview
It exposes common API for all the descriptor It has method to get and set properties of descriptor
– getProperties
required method
Get all the properties of descriptor
- (NSEnumerator *)getProperties
Return Value
All properties
Discussion
Get all the properties of descriptor
Declared In
SICIDescriptor.h
– getProperty:
required method
Get the property value based on the property name
- (id)getProperty:(NSString *)name
Parameters
name |
Name of the property |
---|
Return Value
Value of the property
Discussion
Get the property value based on the property name
Declared In
SICIDescriptor.h
– containProperty:
required method
Check whether property exists or not
- (bool)containProperty:(NSString *)name
Parameters
name |
Name of the property |
---|
Return Value
(true/false) TRUE: If property exists | FALSE: If property does not exists.
Discussion
Check whether property exists or not
Declared In
SICIDescriptor.h
– addProperty:value:
required method
Add property to the descriptor
- (void)addProperty:(NSString *)name value:(id)value
Parameters
name |
Name of the property |
---|---|
value |
Value of the property |
Discussion
Add property to the descriptor
Declared In
SICIDescriptor.h
– removeProperty:
required method
Remove property from the descriptor
- (void)removeProperty:(NSString *)name
Parameters
name |
Name of the property |
---|
Discussion
Remove property from the descriptor
Declared In
SICIDescriptor.h