// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!

#import <Foundation/Foundation.h>
#import "Trading_ProductType.h"
#import "Trading_CharacteristicsSetType.h"
#import "Trading_AmountType.h"

@implementation Trading_ProductType

@synthesize characteristicsSet = _characteristicsSet;
@synthesize detailsURL = _detailsURL;
@synthesize numItems = _numItems;
@synthesize minPrice = _minPrice;
@synthesize maxPrice = _maxPrice;
@synthesize productReferenceID = _productReferenceID;
@synthesize any = _any;
@synthesize productID = _productID;
@synthesize stockPhotoURL = _stockPhotoURL;
@synthesize title = _title;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    return nil;
}

// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
    NSMutableDictionary *map = [NSMutableDictionary dictionary];
    
    PicoPropertySchema *ps = nil;
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CharacteristicsSet" propertyName:@"characteristicsSet" type:PICO_TYPE_OBJECT clazz:[Trading_CharacteristicsSetType class]];
    [map setObject:ps forKey:@"characteristicsSet"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DetailsURL" propertyName:@"detailsURL" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"detailsURL"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NumItems" propertyName:@"numItems" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"numItems"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MinPrice" propertyName:@"minPrice" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"minPrice"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MaxPrice" propertyName:@"maxPrice" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"maxPrice"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ProductReferenceID" propertyName:@"productReferenceID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"productReferenceID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
    [map setObject:ps forKey:@"any"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ATTRIBUTE xmlName:@"productID" propertyName:@"productID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"productID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ATTRIBUTE xmlName:@"stockPhotoURL" propertyName:@"stockPhotoURL" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"stockPhotoURL"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ATTRIBUTE xmlName:@"title" propertyName:@"title" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"title"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.characteristicsSet = nil;
    self.detailsURL = nil;
    self.numItems = nil;
    self.minPrice = nil;
    self.maxPrice = nil;
    self.productReferenceID = nil;
    self.any = nil;
    self.productID = nil;
    self.stockPhotoURL = nil;
    self.title = nil;
    [super dealloc];
}

@end
