
// _BPEstimate.h
// BISubstrate
// 
// Created by mceogenerator
// DO NOT EDIT.  Make changes to BPEstimate.h instead.
// 
// Copyright (c) 2008 Marketcircle Inc. All rights reserved.

#import <MCFoundation/MCPObject.h>
#import "BIPObject.h"

@class BIProject;
@class BIConsolidatedTax;
@class BIEstimateHtml;
@class BIEstimateSlip;
@class BIURLReference;

@interface _BPEstimate : BIPObject
{ 
//    
//    NSNumber *estimateHtmlID;
//    NSNumber *userFileID;
//    NSNumber *useTax2;
//    NSNumber *useTax1;
//    NSString *tax2Name;
//    NSNumber *tax2;
//    NSString *tax1Name;
//    NSNumber *tax1;
//    NSNumber *subTotal;
//    NSNumber *state;
//    NSCalendarDate *sentDate;
//    NSNumber *projectID;
//    NSString *name;
//    NSCalendarDate *modifyDate;
//    NSNumber *markup;
//    NSString *estimateNumber;
//    NSNumber *estimateID;
//    NSCalendarDate *dueDate;
//    NSNumber *discount;
//    NSCalendarDate *createDate;
//    NSNumber *consolidatedTaxID;
//    NSNumber *compoundSecondaryTax;
//    NSString *comment;
//    NSNumber *billingsFileID;
//    
//    BIEstimateHtml*estimateHtml;
//    BIURLReference*userFile;
//    BIProject*project;
//    BIConsolidatedTax*consolidatedTax;
//    BIURLReference*billingsFile;
//    
//    NSMutableArray *timeslips;
}




- (void)setEstimateHtmlID:(NSNumber *)aValue;
- (NSNumber *)estimateHtmlID;

- (void)setUserFileID:(NSNumber *)aValue;
- (NSNumber *)userFileID;

- (void)setUseTax2:(NSNumber *)aValue;
- (NSNumber *)useTax2;

- (void)setUseTax1:(NSNumber *)aValue;
- (NSNumber *)useTax1;

- (void)setTax2Name:(NSString *)aValue;
- (NSString *)tax2Name;

- (void)setTax2:(NSNumber *)aValue;
- (NSNumber *)tax2;

- (void)setTax1Name:(NSString *)aValue;
- (NSString *)tax1Name;

- (void)setTax1:(NSNumber *)aValue;
- (NSNumber *)tax1;

- (void)setSubTotal:(NSNumber *)aValue;
- (NSNumber *)subTotal;

- (void)setState:(NSNumber *)aValue;
- (NSNumber *)state;

- (void)setSentDate:(NSCalendarDate *)aValue;
- (NSCalendarDate *)sentDate;

- (void)setProjectID:(NSNumber *)aValue;
- (NSNumber *)projectID;

- (void)setName:(NSString *)aValue;
- (NSString *)name;

- (void)setModifyDate:(NSCalendarDate *)aValue;
- (NSCalendarDate *)modifyDate;

- (void)setMarkup:(NSNumber *)aValue;
- (NSNumber *)markup;

- (void)setEstimateNumber:(NSString *)aValue;
- (NSString *)estimateNumber;

- (void)setEstimateID:(NSNumber *)aValue;
- (NSNumber *)estimateID;

- (void)setDueDate:(NSCalendarDate *)aValue;
- (NSCalendarDate *)dueDate;

- (void)setDiscount:(NSNumber *)aValue;
- (NSNumber *)discount;

- (void)setCreateDate:(NSCalendarDate *)aValue;
- (NSCalendarDate *)createDate;

- (void)setConsolidatedTaxID:(NSNumber *)aValue;
- (NSNumber *)consolidatedTaxID;

- (void)setCompoundSecondaryTax:(NSNumber *)aValue;
- (NSNumber *)compoundSecondaryTax;

- (void)setComment:(NSString *)aValue;
- (NSString *)comment;

- (void)setBillingsFileID:(NSNumber *)aValue;
- (NSNumber *)billingsFileID;

- (void)setEstimateHtml:(BIEstimateHtml*)aValue;
- (BIEstimateHtml*)createAndSetEstimateHtmlIfNeeded;
- (BIEstimateHtml*)estimateHtml;

- (void)setUserFile:(BIURLReference*)aValue;
- (BIURLReference*)createAndSetUserFileIfNeeded;
- (BIURLReference*)userFile;

- (void)setProject:(BIProject*)aValue;
- (BIProject*)createAndSetProjectIfNeeded;
- (BIProject*)project;

- (void)setConsolidatedTax:(BIConsolidatedTax*)aValue;
- (BIConsolidatedTax*)createAndSetConsolidatedTaxIfNeeded;
- (BIConsolidatedTax*)consolidatedTax;

- (void)setBillingsFile:(BIURLReference*)aValue;
- (BIURLReference*)createAndSetBillingsFileIfNeeded;
- (BIURLReference*)billingsFile;

- (NSMutableArray *)timeslips;
- (BIEstimateSlip*)createAndAddToTimeslips;
- (void)addToTimeslips:(BIEstimateSlip*)object;
- (void)removeFromTimeslips:(BIEstimateSlip*)object;
- (BOOL)hasTimeslipsBeenFaulted;



@end
