//
//  RecordData.h
//  EAMMobile
//
//  Created by Weikang Ding on 3/14/11.
//  Copyright 2011 Infor. All rights reserved.
//


//This is the base class for all data container class
//Such as: Work order, Activity
//An instance of this class represents a record on Record View
#import <Foundation/Foundation.h>


@interface RecordData : NSObject <NSCopying> {
	
}

@property (nonatomic, strong) NSString *DMLType;
@property (nonatomic, strong) NSMutableDictionary   *additionalFields;
@property (nonatomic, strong) NSMutableArray        *comments;
@property (nonatomic, strong) NSMutableArray        *documents;
@property (nonatomic        ) BOOL                  recordEditable;


- (void)addField:(NSString *)field withValue:(id)value;
- (id)getValue:(NSString *)field;
- (void)updateValue:(NSString *)field value:(id)value;
- (id)getValueForField:(NSString *)field;
@end
