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

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

@class BIEstimate;
@class BIInvoice;
@class BIEstimateSlip;
@class BISlipTemplate;
@class BITaxConsolidatedTaxEntry;
@class BIConsolidatedTax;
@class BITimeSlip;

@interface _BPConsolidatedTax : BIPObject
{ 
//    
//    NSNumber *parentConsolidatedTaxID;
//    NSString *name;
//    NSCalendarDate *createDate;
//    NSNumber *consolidatedTaxID;
//    NSNumber *atomic;
//    NSNumber *active;
//    
//    BPConsolidatedTax*parentConsolidatedTax;
//    
//    NSMutableArray *timeSlips;
//    NSMutableArray *taxConsolidatedTaxEntries;
//    NSMutableArray *slipTemplates;
//    NSMutableArray *invoices;
//    NSMutableArray *estimates;
//    NSMutableArray *estimateSlips;
}




- (void)setParentConsolidatedTaxID:(NSNumber *)aValue;
- (NSNumber *)parentConsolidatedTaxID;

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

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

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

- (void)setAtomic:(NSNumber *)aValue;
- (NSNumber *)atomic;

- (void)setActive:(NSNumber *)aValue;
- (NSNumber *)active;

- (void)setParentConsolidatedTax:(BIConsolidatedTax*)aValue;
- (BIConsolidatedTax*)createAndSetParentConsolidatedTaxIfNeeded;
- (BIConsolidatedTax*)parentConsolidatedTax;

- (NSMutableArray *)timeSlips;
- (BITimeSlip*)createAndAddToTimeSlips;
- (void)addToTimeSlips:(BITimeSlip*)object;
- (void)removeFromTimeSlips:(BITimeSlip*)object;
- (BOOL)hasTimeSlipsBeenFaulted;

- (NSMutableArray *)taxConsolidatedTaxEntries;
- (BITaxConsolidatedTaxEntry*)createAndAddToTaxConsolidatedTaxEntries;
- (void)addToTaxConsolidatedTaxEntries:(BITaxConsolidatedTaxEntry*)object;
- (void)removeFromTaxConsolidatedTaxEntries:(BITaxConsolidatedTaxEntry*)object;
- (BOOL)hasTaxConsolidatedTaxEntriesBeenFaulted;

- (NSMutableArray *)slipTemplates;
- (BISlipTemplate*)createAndAddToSlipTemplates;
- (void)addToSlipTemplates:(BISlipTemplate*)object;
- (void)removeFromSlipTemplates:(BISlipTemplate*)object;
- (BOOL)hasSlipTemplatesBeenFaulted;

- (NSMutableArray *)invoices;
- (BIInvoice*)createAndAddToInvoices;
- (void)addToInvoices:(BIInvoice*)object;
- (void)removeFromInvoices:(BIInvoice*)object;
- (BOOL)hasInvoicesBeenFaulted;

- (NSMutableArray *)estimates;
- (BIEstimate*)createAndAddToEstimates;
- (void)addToEstimates:(BIEstimate*)object;
- (void)removeFromEstimates:(BIEstimate*)object;
- (BOOL)hasEstimatesBeenFaulted;

- (NSMutableArray *)estimateSlips;
- (BIEstimateSlip*)createAndAddToEstimateSlips;
- (void)addToEstimateSlips:(BIEstimateSlip*)object;
- (void)removeFromEstimateSlips:(BIEstimateSlip*)object;
- (BOOL)hasEstimateSlipsBeenFaulted;



@end
