Examples of HasDegreeType


Examples of org.fenixedu.academic.domain.interfaces.HasDegreeType

    @Override
    public Object provide(Object source, Object currentValue) {
        final List<ExecutionDegree> executionDegrees = new ArrayList<ExecutionDegree>();

        final HasExecutionYear hasExecutionYear = (HasExecutionYear) source;
        final HasDegreeType hasDegreeType = (HasDegreeType) source;
        final ExecutionYear executionYear = hasExecutionYear.getExecutionYear();
        if (executionYear != null) {
            final DegreeType degreeType = hasDegreeType.getDegreeType();
            for (final ExecutionDegree executionDegree : executionYear.getExecutionDegreesSet()) {
                if (degreeType == null || match(degreeType, executionDegree)) {
                    executionDegrees.add(executionDegree);
                }
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.