class ManterObtGravidezAnteriorON extends BaseBusiness {

	public MpmObtGravidezAnterior obterMpmObtGravidezAnterior(MpmAltaSumario altaSumario) {
		Integer altanAtdSeq = null;
		Integer altanApaSeq = null;
		Short altanAsuSeqp = null;
		
		if(altaSumario!=null){
			altanAtdSeq = altaSumario.getId().getApaAtdSeq();
			altanApaSeq = altaSumario.getId().getApaSeq();
			altanAsuSeqp = altaSumario.getId().getSeqp();
		}
		
		return getMpmObtGravidezAnteriorDAO().obterMpmObtGravidezAnterior(altanAtdSeq, altanApaSeq, altanAsuSeqp);
	}

}