Examples of DictionaryItem


Examples of com.infoclinika.mssharing.model.helper.DictionaryItem

        final ExperimentItem experiment = detailsReader.readExperiment(request.actor, request.experimentId);
        final ByteArrayOutputStream os = new ByteArrayOutputStream();
        final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(os));
        //write header information
        final ProjectItem project = detailsReader.readProject(request.actor, experiment.project);
        final DictionaryItem specie = detailsReader.readSpecieDetails(experiment.specie);
        final DictionaryItem experimentType = detailsReader.readExperimentTypeDetails(experiment.experimentType);
        final WorkflowTypeItem workflowTypeItem = detailsReader.readWorkflowTypeDetails(experimentType.id, experiment.workflowType);

        writeHeaderLine(bw, "Experiment", experiment.name);
        writeHeaderLine(bw, "Project", project.name);
        writeHeaderLine(bw, "Specie", specie.name);
View Full Code Here

Examples of eu.scape_project.watch.domain.DictionaryItem

             
            q = new Question(sparql, RequestTarget.PROPERTY_VALUE);
        }
        }
        if (q != null) {
          final Notification n = new Notification("email", Arrays.asList(new DictionaryItem("recepients",
                this.recipients)));
          final Trigger trigger = new Trigger(null, null, null, this.period, q, null,Arrays.asList(n));
          triggers.add(trigger);
        }
    }   
View Full Code Here

Examples of org.zeroexchange.model.dictionary.DictionaryItem

                stockManager.isAmountManagementEnabled(resource, TenderType.NEED);
        User resourceOwner = resource.getOwner();
       
        add(new Label(CKEY_RESOURCE_OWNER, resourceOwner == null ? "-" : resourceOwner.getDisplayName()));
       
        DictionaryItem uomItem = resourceReader.getUnitOfMeasure(resource);
        String uomTitle = uomItem == null ? "" : localizationReader.getString(uomItem);
       
        Label availableAmountLabel = new Label(CKEY_AVAILABLE_AMOUNT, new StringResourceModel(MKEY_AMOUNT_VALUE, null, availableAmount, uomTitle));
        if(availableAmount.compareTo(BigDecimal.ZERO) < 0) {
            availableAmountLabel.add(new AttributeAppender("class", CLASS_WARNING));
View Full Code Here

Examples of org.zeroexchange.model.dictionary.DictionaryItem

        User user = tender.getUser();
        Resource resource = tender.getResource();
        Integer resourceID = resource.getId();
       
       
        DictionaryItem uomItem = resourceReader.getUnitOfMeasure(resource);
       
        String amountClause = tender.getAmount() + (uomItem == null ? "" : " " + localizationReader.getString(uomItem));
        IModel<String> headerModel = null;
        if(tender instanceof Supply) {
          headerModel = new StringResourceModel(MKEY_TENDER_SUPPLY_HEADER,
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.