expanz_model_FieldInstance Class Reference
Inherits from | NSObject |
Declared in | expanz_model_FieldInstance.h |
Tasks
-
fieldId
Unique identifier.
property -
nullable
Indicates if the field is mandatory.
property -
defaultValue
The value the field is initialized with, ie user is presented initially with this value.
property -
datatype
The field’s datatype.
property -
dirty
Indicates the client model is not yet synchronized with the server model.
property -
label
Label to display next to the field
property -
hint
Additional user instructions for the field.
property -
parentActivity
Reference to the activity this field belongs to.
property -
value
The value held by this field.
property -
disabled
Weather the field allows user input
property -
– initWithFieldId:nullable:defaultValue:dataType:label:hint:
-
– didFinishEditWithValue:
Invoked when value is changed as a result of user edit. Marks the field as dirty.
-
– didSynchronizeStateWithServerModel:
Invoked to indicate the server state has been synchronized with the client-side state. Marks the field as clean.
Properties
datatype
The field’s datatype.
@property (nonatomic, readonly) ExpanzDataType datatype
Discussion
The field’s datatype.
Declared In
expanz_model_FieldInstance.h
defaultValue
@property (nonatomic, strong, readonly) NSString *defaultValue
Declared In
expanz_model_FieldInstance.h
dirty
Indicates the client model is not yet synchronized with the server model.
@property (nonatomic, readonly, getter=isDirty) BOOL dirty
Discussion
Indicates the client model is not yet synchronized with the server model.
Declared In
expanz_model_FieldInstance.h
disabled
Weather the field allows user input
@property (nonatomic, readwrite, getter=isDisabled) BOOL disabled
Discussion
Weather the field allows user input
Declared In
expanz_model_FieldInstance.h
fieldId
Unique identifier.
@property (nonatomic, strong, readonly) NSString *fieldId
Discussion
Unique identifier.
Declared In
expanz_model_FieldInstance.h
hint
Additional user instructions for the field.
@property (nonatomic, strong, readonly) NSString *hint
Discussion
Additional user instructions for the field.
Declared In
expanz_model_FieldInstance.h
label
Label to display next to the field
@property (nonatomic, strong, readonly) NSString *label
Discussion
Label to display next to the field
Declared In
expanz_model_FieldInstance.h
nullable
Indicates if the field is mandatory.
@property (nonatomic, readonly, getter=isNullable) BOOL nullable
Discussion
Indicates if the field is mandatory.
Declared In
expanz_model_FieldInstance.h
Instance Methods
didFinishEditWithValue:
- (void)didFinishEditWithValue:(NSString *)value
Declared In
expanz_model_FieldInstance.h
didSynchronizeStateWithServerModel:
Invoked to indicate the server state has been synchronized with the client-side state. Marks the field as clean.
- (void)didSynchronizeStateWithServerModel:(NSString *)validatedValue
Discussion
Invoked to indicate the server state has been synchronized with the client-side state. Marks the field as clean.
Declared In
expanz_model_FieldInstance.h