Package pt.utl.ist.fenix.tools.resources

Examples of pt.utl.ist.fenix.tools.resources.LabelFormatter


    public int getOrder() {
        return getInstallmentOrder().intValue();
    }

    public LabelFormatter getDescription() {
        final LabelFormatter labelFormatter = new LabelFormatter();
        labelFormatter.appendLabel("application", "label.Installment.description", getInstallmentOrder().toString(),
                getStartDate().toString(DateFormatUtil.DEFAULT_DATE_FORMAT),
                getEndDate().toString(DateFormatUtil.DEFAULT_DATE_FORMAT));

        return labelFormatter;
View Full Code Here


    }

    @Override
    public LabelFormatter getDescription() {
        return new LabelFormatter().appendLabel(getJustificationType().getQualifiedName(), LabelFormatter.ENUMERATION_RESOURCES);
    }
View Full Code Here

        }
        return null;
    }

    public LabelFormatter getDescription() {
        return new LabelFormatter(getCurricularYear().toString()).appendLabel("º ")
                .appendLabel("label.curricular.year", LabelFormatter.APPLICATION_RESOURCES).appendLabel(" ")
                .appendLabel(getCurricularSemester().toString()).appendLabel("º ")
                .appendLabel("label.semester.short", LabelFormatter.APPLICATION_RESOURCES);

    }
View Full Code Here

        return getPhdProgram().getPhdProgramUnit();
    }

    @Override
    public LabelFormatter getDescriptionForEntryType(final EntryType entryType) {
        return new LabelFormatter().appendLabel(entryType.name(), "enum").appendLabel(" (")
                .appendLabel(getPhdProgram().getName().getContent()).appendLabel(")");
    }
View Full Code Here

    }

    @Override
    public LabelFormatter getDescription() {
        PhdGratuityEvent event = (PhdGratuityEvent) getEvent();
        return new LabelFormatter()
                .appendLabel(
                        "Bolsa de entidade externa (" + getParty().getName()
                                + ") aplicada à Propina do Programa de Doutoramento de ")
                .appendLabel(event.getPhdProgram().getName().getContent()).appendLabel(" referente a " + event.getYear());
    }
View Full Code Here

        return new PhdGratuityEvent(phdIndividualProgramProcess, year, phdGratuityDate);
    }

    @Override
    public LabelFormatter getDescriptionForEntryType(final EntryType entryType) {
        return new LabelFormatter().appendLabel(entryType.name(), "enum").appendLabel(" - ").appendLabel("" + getYear())
                .appendLabel(" (").appendLabel(getPhdProgram().getName().getContent()).appendLabel(")");
    }
View Full Code Here

                .appendLabel(" (").appendLabel(getPhdProgram().getName().getContent()).appendLabel(")");
    }

    @Override
    public LabelFormatter getDescription() {
        return new LabelFormatter().appendLabel(getEventType().getQualifiedName(), "enum").appendLabel(" - ")
                .appendLabel("" + getYear()).appendLabel(" (").appendLabel(getPhdProgram().getName().getContent())
                .appendLabel(")");
    }
View Full Code Here

                .getAccountBy(AccountType.INTERNAL);
    }

    @Override
    public LabelFormatter getDescriptionForEntryType(EntryType entryType) {
        return new LabelFormatter()
                .appendLabel(entryType.name(), "enum")
                .appendLabel(" (")
                .appendLabel(
                        ((PhdGratuityEvent) getPhdGratuityExternalScholarshipExemption().getEvent()).getPhdProgram().getName()
                                .getContent()).appendLabel(")");
View Full Code Here

        }
    }

    @Override
    public LabelFormatter getDescription() {
        final LabelFormatter result = super.getDescription();
        fillDescription(result);
        return result;
    }
View Full Code Here

        return result;
    }

    @Override
    final public LabelFormatter getDescriptionForEntryType(final EntryType entryType) {
        final LabelFormatter labelFormatter = new LabelFormatter();
        labelFormatter.appendLabel(entryType.name(), LabelFormatter.ENUMERATION_RESOURCES);
        fillDescription(labelFormatter);

        return labelFormatter;
    }
View Full Code Here

TOP

Related Classes of pt.utl.ist.fenix.tools.resources.LabelFormatter

Copyright © 2018 www.massapicom. 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.