SkyVaultPropertyDefinition
This section describes the SkyVaultPropertyDefinition class.
The SkyVaultPropertyDefinition class represents information about a type.
Class declaration
@interface SkyVaultPropertyDefinition : NSObject
Properties
| Property | Description |
|---|---|
| @property (nonatomic, strong, readonly) NSString *name | Returns the name of the property such as cm:name. |
| @property (nonatomic, strong, readonly) NSString *title | Returns the title of the property. |
| @property (nonatomic, strong, readonly) NSString *summary | Returns the description of the property. |
| @property (nonatomic, strong, readonly) SkyVaultPropertyType type | Returns the data type of the property. |
| @property (nonatomic, assign, readonly) BOOL isRequired | Determines whether the property is required. |
| @property (nonatomic, assign, readonly) BOOL isReadOnly | Determines whether the property is read-only. |
| @property (nonatomic, assign, readonly) BOOL isMultiValued | Determines whether the property supports multiple values. |
| @property (nonatomic, assign, readonly) id defaultValue | Returns the default value for the property, null if a default value has not been defined. |
| @property (nonatomic, strong, readonly) NSArray *allowableValues | Returns the list of values allowed for the property. The array will contain NSDictionary objects representing the display label and value for each property. |