//
// RMSchedulerController
//
// Created by Alonso Villanueva



//@import "Model.j"




@implementation Location : CPObject{
	
	id        idenLoca            	@accessors(getter=idenLoca, setter=idenLoca:);
	id        idenOrga            	@accessors(getter=idenOrga, setter=idenOrga:);
	id        name                  @accessors(getter=name, setter=name:);
	id        emai            		@accessors(getter=emai, setter=emai:);
	id        phon                  @accessors(getter=phon, setter=phon:);
	
	id        cityAddr              @accessors(getter=cityAddr, setter=cityAddr:);
	id        statAddr              @accessors(getter=statAddr, setter=statAddr:);
	id        streAddr              @accessors(getter=streAddr, setter=streAddr:);
	id        builAddr              @accessors(getter=builAddr, setter=builAddr:);
	id        gateAddr              @accessors(getter=gateAddr, setter=gateAddr:);
	
	id        cont0                 @accessors(getter=cont0, setter=cont0:);
	id        cont1                 @accessors(getter=cont1, setter=cont1:);
	id        cont2                 @accessors(getter=cont2, setter=cont2:);
	id        cont3                 @accessors(getter=cont3, setter=cont3:);
	
	id        contCor0              @accessors(getter=contCor0, setter=contCor0:);
	id        contCor1              @accessors(getter=contCor1, setter=contCor1:);
	id        contCor2              @accessors(getter=contCor2, setter=contCor2:);
	id        contCor3              @accessors(getter=contCor3, setter=contCor3:);
	
	id       locaLati               @accessors(getter=locaLati, setter=locaLati:);
	id       locaLong               @accessors(getter=locaLong, setter=locaLong:);
	
	id        note                  @accessors(getter=note, setter=note:);
	id        colo                  @accessors(getter=colo, setter=colo:);
	

}



- (id) init {
	[super init];
	
	return self;
}


- (id) init:(id)newIden idenOrga:(id)newOrga name:(id)newName  emai:(id)newEmai phon:(id)newP
       cityAddr:(id)newCity statAddr:(id)newStat streAddr:(id)newStre builAddr:(id)newB gateAddr:(id)newG
       cont0:(id)newC0 cont1:(id)newC1 cont2:(id)newC2 cont3:(id)newC3
       contCor0:(id)newC4 contCor1:(id)newC5 contCor2:(id)newC6 contCor3:(id)newC7   
       locaLati:(id)newLat locaLong:(id)newLong    
	   note:(id)newNote colo:(id)newColo {
	   
	[super init];
		
	idenLoca  = newIden;
	idenOrga  = newOrga;
	name      = newName;
	emai 	  = newEmai;
	phon 	  = newP; 
	
	cityAddr  = newCity;
	statAddr  = newStat;
	streAddr  = newStre;
	builAddr  = newB;
	gateAddr  = newG;
	
	cont0    = newC0;
    cont1    = newC1;
	cont2    = newC2;
	cont3    = newC3;
	
	contCor0 = newC4;
	contCor1 = newC5;
	contCor2 = newC6;
	contCor3 = newC7;
	
	locaLati = newLat;
	locaLong = newLong;
	
	note  	  = newNote;
	colo  	  = newColo;
	
	
	return self;
}

- (void)  applicationQuit {

/*
	if (idenPers)    { [idenPers  release];}
	if (nameLast)    { [nameLast  release];}
	if (nameFirst)   { [nameFirst  release];}
	if (email)       { [ email release];}
	if (role)        { [role  release];}
	if (initDate)    { [ initDate release];}
	if (daysToSend)  { [daysToSend  release];}
	if (contPara)    { [ contPara release];}
	if (emaiList)    { [emaiList  release];}
	if (acti)        { [acti  release];}
	if (comm2)       { [ comm2 release];}
	*/
}





@end
