OpenAFS
OpenAFS distributed network file system
/cygdrive/c/src/openafs/openafs.git/repo/src/platform/DARWIN/AFSPreference/DBCellElement.h
00001 //
00002 //  DBCellElement.h
00003 //  AFSCommander
00004 //
00005 //  Created by Claudio Bisegni on 14/06/07.
00006 //  Copyright 2007 INFN - National Institute of Nuclear Physics. All rights reserved.
00007 // 
00008 // Is the identification of a cell in he afs cell database
00009 
00010 #import <Cocoa/Cocoa.h>
00011 #import "CellIp.h"
00012 
00013 @interface DBCellElement : NSObject {
00014         BOOL userDefaultForToken;
00015         BOOL userDefaultCell;
00016         NSString *cellName;
00017         NSString *cellComment;
00018         NSMutableArray *ipCellList;
00019 }
00020 
00026 -(id) init;
00027 
00033 -(void) dealloc;
00034 
00041 -(void) setCellName:(NSString *)name;
00042 
00049 -(NSString*) getCellName;
00050 
00057 -(void) setCellComment:(NSString *)comment;
00058 
00066 -(NSString*) getCellComment;
00067 
00076 -(void) setUserDefaultForToken:(BOOL)isDefault;
00077 
00084 -(BOOL) userDefaultForToken;
00091 -(void) setUserDefaultCell:(BOOL)isDefault;
00098 -(BOOL) userDefaultForCell;
00105 -(void) addIpToCell:(CellIp*)ip;
00106 
00113 -(NSMutableArray*) getIp;
00114 
00122 -(NSString*) description;
00123 
00131 - (BOOL)isEqual:(id)anObject;
00132 
00133 - (BOOL)isEqualToString:(NSString *)aString;
00134 @end
 All Data Structures Files Functions Variables