if (curricularPeriod.getOrder() == order) {
if (curricularPeriod.getOrder().equals(order)) {
    public CurricularPeriod getChildByOrder(Integer order) {        for (CurricularPeriod curricularPeriod : getChilds()) {            if (curricularPeriod.getOrder() == order) {                return curricularPeriod;            }        }        return null;    }