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

#import <Foundation/Foundation.h>
#import "Trading_CatalogProductType.h"
#import "Trading_NameValueListArrayType.h"
#import "Trading_ExternalProductIDType.h"
#import "Trading_ReviewDetailsType.h"

@implementation Trading_CatalogProductType

@synthesize title = _title;
@synthesize detailsURL = _detailsURL;
@synthesize stockPhotoURL = _stockPhotoURL;
@synthesize displayStockPhotos = _displayStockPhotos;
@synthesize itemCount = _itemCount;
@synthesize externalProductID = _externalProductID;
@synthesize productReferenceID = _productReferenceID;
@synthesize attributeSetID = _attributeSetID;
@synthesize itemSpecifics = _itemSpecifics;
@synthesize reviewCount = _reviewCount;
@synthesize reviewDetails = _reviewDetails;
@synthesize productState = _productState;
@synthesize any = _any;

// 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:@"Title" propertyName:@"title" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"title"];
    [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:@"StockPhotoURL" propertyName:@"stockPhotoURL" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"stockPhotoURL"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisplayStockPhotos" propertyName:@"displayStockPhotos" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"displayStockPhotos"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemCount" propertyName:@"itemCount" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"itemCount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ExternalProductID" propertyName:@"externalProductID" type:PICO_TYPE_OBJECT clazz:[Trading_ExternalProductIDType class]];
    [map setObject:ps forKey:@"externalProductID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ProductReferenceID" propertyName:@"productReferenceID" type:PICO_TYPE_LONG clazz:nil];
    [map setObject:ps forKey:@"productReferenceID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"AttributeSetID" propertyName:@"attributeSetID" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"attributeSetID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemSpecifics" propertyName:@"itemSpecifics" type:PICO_TYPE_OBJECT clazz:[Trading_NameValueListArrayType class]];
    [map setObject:ps forKey:@"itemSpecifics"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ReviewCount" propertyName:@"reviewCount" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"reviewCount"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ReviewDetails" propertyName:@"reviewDetails" type:PICO_TYPE_OBJECT clazz:[Trading_ReviewDetailsType class]];
    [map setObject:ps forKey:@"reviewDetails"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ProductState" propertyName:@"productState" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"productState"];
    [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];
    
    return map;
}



-(void)dealloc {
    self.title = nil;
    self.detailsURL = nil;
    self.stockPhotoURL = nil;
    self.displayStockPhotos = nil;
    self.itemCount = nil;
    self.externalProductID = nil;
    self.productReferenceID = nil;
    self.attributeSetID = nil;
    self.itemSpecifics = nil;
    self.reviewCount = nil;
    self.reviewDetails = nil;
    self.productState = nil;
    self.any = nil;
    [super dealloc];
}

@end
