• Main Page
  • Classes
  • Files
  • File List

include/SimpleDB/SimpleDBItem.h

00001 /*
00002  * Copyright 2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
00003  * 
00004  * Licensed under the Apache License, Version 2.0 (the "License").
00005  * You may not use this file except in compliance with the License.
00006  * A copy of the License is located at
00007  * 
00008  *  http://aws.amazon.com/apache2.0
00009  * 
00010  * or in the "license" file accompanying this file. This file is distributed
00011  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
00012  * express or implied. See the License for the specific language governing
00013  * permissions and limitations under the License.
00014  */
00015 
00016 #import "SimpleDBAttribute.h"
00017 
00018                
00023 @interface SimpleDBItem : NSObject 
00024     
00025 {
00026     NSString* name;
00027     NSString* alternateNameEncoding;
00028     NSMutableArray* attributes;
00029 
00030 }
00031 
00032 
00036 @property (nonatomic, retain) NSString* name;
00037 
00041 @property (nonatomic, retain) NSString* alternateNameEncoding;
00042 
00046 @property (nonatomic, retain) NSMutableArray* attributes;
00047 
00048 
00053 -(id)init;
00054    
00062 -(id)initWithName:(NSString*)theName andAttributes:(NSMutableArray*)theAttributes;
00063     
00068 -(void)addAttribute:(SimpleDBAttribute*)attribute;
00069                 
00076 -(NSString*)description;
00077     
00078 
00079 @end
00080     

Generated on Wed Jan 12 2011 14:21:40 for Amazon SimpleDB by  doxygen 1.7.1