class AfaDispensacaoMdtosRN extends BaseBusiness implements Serializable {

	public boolean rnAfacVerSerAtiv(RapServidores servidor) throws ApplicationBusinessException {
		if(servidor == null) {
			throw new ApplicationBusinessException(AfaDispensacaoMdtosRNExceptionCode.AFA_00169);
		}

		if (DominioSituacaoVinculo.A.equals(servidor.getIndSituacao())
				|| (DominioSituacaoVinculo.P.equals(servidor.getIndSituacao()) && CoreUtil.isMaiorOuIgualDatas(
						servidor.getDtFimVinculo(), new Date()))) {
			return Boolean.TRUE;
		} else {
			return Boolean.FALSE;
		}
	}

}