//
//  JTOptionsEntity.h
//  JobTalk
//
//  Created by Xummer on 14-5-22.
//  Copyright (c) 2014年 BST. All rights reserved.
//

#import "IBTObject.h"

@interface JTOptionsEntity : IBTObject
@property (strong, nonatomic) NSArray *optionsArray;
@property (strong, nonatomic) NSArray *m_arrDisplayStr;
@property (assign, nonatomic) NSInteger selectedIndex;
@property (strong, nonatomic) id defaultOption;
+ (NSInteger)indexOfOptionStr:(NSString *)option inOptions:(NSArray *)options;
+ (JTOptionsEntity *)entityWithOptions:(NSArray *)options andSelectedIndex:(NSInteger)sIndex;
+ (JTOptionsEntity *)entityWithOptions:(NSArray *)options
                    defaultOptionIndex:(NSInteger)dIndex
                     andSelectedOption:(NSString *)option;
+ (JTOptionsEntity *)entityWithOptions:(NSArray *)options andSelectedOption:(NSString *)option;
- (id)initWithOptions:(NSArray *)options andSelectedIndex:(NSInteger)sIndex;
- (id)getSelectedOption;
- (id)getSelectedOptionForCommit;
- (NSInteger)indexOfOptionStr:(NSString *)option;

@end
