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



//@import "Model.j"




@implementation Person : CPObject  {
	
	id        idenPers            	@accessors(getter=idenPers, setter=idenPers:);
	id        idenOrga            	@accessors(getter=idenOrga, setter=idenOrga:);
	id        lawId              	@accessors(getter=lawId, setter=lawId:);
	id        nameFirst             @accessors(getter=nameFirst, setter=nameFirst:);
	id        nameLast              @accessors(getter=nameLast, setter=nameLast:);
	id        emai            		@accessors(getter=emai, setter=emai:);
	id        role            		@accessors(getter=role, setter=role:);
	id        phon1                 @accessors(getter=phon1, setter=phon1:);
	id        phon2                 @accessors(getter=phon2, setter=phon2:);
	id        cityAddr              @accessors(getter=cityAddr, setter=cityAddr:);
	id        statAddr              @accessors(getter=statAddr, setter=statAddr:);
	id        streAddr              @accessors(getter=streAddr, setter=streAddr:);
	id        note                  @accessors(getter=note, setter=note:);

 

}



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


- (id) init:(id)newIden idenOrga:(id)newOrga lawId:(id)newLaw nameFirst:(id)newNameF nameLast:(id)newNameL  emai:(id)newEmai
			role:(id)newRole phon1:(id)newP1 phon2:(id)newP2 cityAddr:(id)newCity statAddr:(id)newStat streAddr:(id)newStre 
			note:(id)newNote {
	[super init];
	
	idenPers  = newIden;
	idenOrga  = newOrga;
	lawId     = newLaw;
	nameFirst = newNameF;
	nameLast  = newNameL; 	
	emai 	  = newEmai;
	role 	  = newRole;	
	phon1 	  = newP1;      
	phon2     = newP2;              
	cityAddr  = newCity;
	statAddr  = newStat;
	streAddr  = newStre;
	note  	  = newNote;
	
	
	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
