// DO NOT EDIT. This file is machine-generated and constantly overwritten.
// Make changes to Trip.h instead.

#import <CoreData/CoreData.h>


extern const struct TripAttributes {
	__unsafe_unretained NSString *beginDate;
	__unsafe_unretained NSString *beginState;
	__unsafe_unretained NSString *distance;
	__unsafe_unretained NSString *endDate;
	__unsafe_unretained NSString *endState;
	__unsafe_unretained NSString *isBusiness;
	__unsafe_unretained NSString *isFavorite;
	__unsafe_unretained NSString *purpose;
} TripAttributes;

extern const struct TripRelationships {
	__unsafe_unretained NSString *favorite;
} TripRelationships;

extern const struct TripFetchedProperties {
} TripFetchedProperties;

@class Favorite;










@interface TripID : NSManagedObjectID {}
@end

@interface _Trip : NSManagedObject {}
+ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_;
+ (NSString*)entityName;
+ (NSEntityDescription*)entityInManagedObjectContext:(NSManagedObjectContext*)moc_;
- (TripID*)objectID;




@property (nonatomic, strong) NSDate* beginDate;


//- (BOOL)validateBeginDate:(id*)value_ error:(NSError**)error_;




@property (nonatomic, strong) NSNumber* beginState;


@property double beginStateValue;
- (double)beginStateValue;
- (void)setBeginStateValue:(double)value_;

//- (BOOL)validateBeginState:(id*)value_ error:(NSError**)error_;




@property (nonatomic, strong) NSNumber* distance;


@property double distanceValue;
- (double)distanceValue;
- (void)setDistanceValue:(double)value_;

//- (BOOL)validateDistance:(id*)value_ error:(NSError**)error_;




@property (nonatomic, strong) NSDate* endDate;


//- (BOOL)validateEndDate:(id*)value_ error:(NSError**)error_;




@property (nonatomic, strong) NSNumber* endState;


@property double endStateValue;
- (double)endStateValue;
- (void)setEndStateValue:(double)value_;

//- (BOOL)validateEndState:(id*)value_ error:(NSError**)error_;




@property (nonatomic, strong) NSNumber* isBusiness;


@property BOOL isBusinessValue;
- (BOOL)isBusinessValue;
- (void)setIsBusinessValue:(BOOL)value_;

//- (BOOL)validateIsBusiness:(id*)value_ error:(NSError**)error_;




@property (nonatomic, strong) NSNumber* isFavorite;


@property BOOL isFavoriteValue;
- (BOOL)isFavoriteValue;
- (void)setIsFavoriteValue:(BOOL)value_;

//- (BOOL)validateIsFavorite:(id*)value_ error:(NSError**)error_;




@property (nonatomic, strong) NSString* purpose;


//- (BOOL)validatePurpose:(id*)value_ error:(NSError**)error_;





@property (nonatomic, strong) Favorite* favorite;

//- (BOOL)validateFavorite:(id*)value_ error:(NSError**)error_;





@end

@interface _Trip (CoreDataGeneratedAccessors)

@end

@interface _Trip (CoreDataGeneratedPrimitiveAccessors)


- (NSDate*)primitiveBeginDate;
- (void)setPrimitiveBeginDate:(NSDate*)value;




- (NSNumber*)primitiveBeginState;
- (void)setPrimitiveBeginState:(NSNumber*)value;

- (double)primitiveBeginStateValue;
- (void)setPrimitiveBeginStateValue:(double)value_;




- (NSNumber*)primitiveDistance;
- (void)setPrimitiveDistance:(NSNumber*)value;

- (double)primitiveDistanceValue;
- (void)setPrimitiveDistanceValue:(double)value_;




- (NSDate*)primitiveEndDate;
- (void)setPrimitiveEndDate:(NSDate*)value;




- (NSNumber*)primitiveEndState;
- (void)setPrimitiveEndState:(NSNumber*)value;

- (double)primitiveEndStateValue;
- (void)setPrimitiveEndStateValue:(double)value_;




- (NSNumber*)primitiveIsBusiness;
- (void)setPrimitiveIsBusiness:(NSNumber*)value;

- (BOOL)primitiveIsBusinessValue;
- (void)setPrimitiveIsBusinessValue:(BOOL)value_;




- (NSNumber*)primitiveIsFavorite;
- (void)setPrimitiveIsFavorite:(NSNumber*)value;

- (BOOL)primitiveIsFavoriteValue;
- (void)setPrimitiveIsFavoriteValue:(BOOL)value_;




- (NSString*)primitivePurpose;
- (void)setPrimitivePurpose:(NSString*)value;





- (Favorite*)primitiveFavorite;
- (void)setPrimitiveFavorite:(Favorite*)value;


@end
