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

#import <Foundation/Foundation.h>
#import "Trading_MeasureType.h"

@implementation Trading_MeasureType

@synthesize value = _value;
@synthesize unit = _unit;
@synthesize measurementSystem = _measurementSystem;

// 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_VALUE xmlName:nil propertyName:@"value" type:PICO_TYPE_DOUBLE clazz:nil];
    [map setObject:ps forKey:@"value"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ATTRIBUTE xmlName:@"unit" propertyName:@"unit" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"unit"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ATTRIBUTE xmlName:@"measurementSystem" propertyName:@"measurementSystem" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"measurementSystem"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.value = nil;
    self.unit = nil;
    self.measurementSystem = nil;
    [super dealloc];
}

@end
