class MbcCaractSalaEspRN extends BaseBusiness {

	protected void verificarEspecialidade(MbcCaractSalaEsp mbcCaractSalaEsp) throws ApplicationBusinessException {
		if(mbcCaractSalaEsp.getAghEspecialidades() == null) {
			throw new ApplicationBusinessException(MbcCaractSalaEspRNExceptionCode.MBC_00232);
		} else if(!DominioSituacao.A.equals(mbcCaractSalaEsp.getAghEspecialidades().getIndSituacao())) {
			throw new ApplicationBusinessException(MbcCaractSalaEspRNExceptionCode.MBC_01324);
		}
	}

}