Examples of Description


Examples of org.rssowl.core.internal.persist.Description

        news.setId(id);

        String description = ((News) news).getTransientDescription();
        if (description != null) {
          mergeResult.addUpdatedObject(new Description(news, description));
        }
      }

      /* Return early on cancellation */
      if (monitor.isCanceled() || Owl.isShuttingDown())
View Full Code Here

Examples of org.sonar.api.web.Description

      }
    }
  }

  private void initDescription(final V view) {
    Description descriptionAnnotation = AnnotationUtils.getAnnotation(view, Description.class);
    if (descriptionAnnotation != null) {
      description = descriptionAnnotation.value();
    }
  }
View Full Code Here

Examples of org.springframework.data.rest.core.annotation.Description

    Assert.hasText(name, "Parameter must not be null or empty!");
    Assert.hasText(baseRel, "Method rel must not be null!");

    ResourceDescription fallback = TypedResourceDescription.defaultFor(baseRel.concat(".").concat(name),
        parameter.getParameterType());
    Description annotation = parameter.getParameterAnnotation(Description.class);

    this.description = annotation == null ? fallback : new AnnotationBasedResourceDescription(annotation, fallback);
  }
View Full Code Here

Examples of org.uddi.api_v2.Description

                List<Description> ret = new ArrayList<Description>();
                if (description == null || description.isEmpty()) {
                        return ret;
                }
                for (int i = 0; i < description.size(); i++) {
                        ret.add(new Description(description.get(i).getValue(), description.get(i).getLang()));
                }
                return ret;
               
        }
View Full Code Here

Examples of org.uddi.api_v3.Description

     
      //Now updating the business by adding another description
      SaveBusiness sb = new SaveBusiness();
      sb.setAuthInfo(authInfo);
      BusinessEntity beIn = beOut;
      Description desc2= new Description();
      desc2.setLang("nl");
      desc2.setValue("Omschrijving");
      beIn.getDescription().add(desc2);
      sb.getBusinessEntity().add(beIn);
      publication.saveBusiness(sb);
 
      // Now get the entity and check the values
View Full Code Here

Examples of ru.yandex.qatools.allure.annotations.Description

     *
     * @return {@link ru.yandex.qatools.allure.model.Description} or null if
     * annotation doesn't present
     */
    public ru.yandex.qatools.allure.model.Description getDescription() {
        Description description = getAnnotation(Description.class);
        return description == null ? null : new ru.yandex.qatools.allure.model.Description()
                .withValue(description.value())
                .withType(description.type());
    }
View Full Code Here

Examples of ru.yandex.qatools.allure.model.Description

        verifyNoMoreInteractions(testSuite);
    }

    @Test
    public void testSuiteStartedEventDescription() throws Exception {
        Description description = new Description()
                .withValue("some.description")
                .withType(DescriptionType.MARKDOWN);

        new TestSuiteStartedEvent("suite.uid", "name").withDescription(description).process(testSuite);
        verify(testSuite).setStart(anyLong());
View Full Code Here

Examples of slash.navigation.viamichelin.binding.Description

        if (address != null)
            city = city != null ? city + " " + address : address;
        String name = trim(poi.getName());
        if (name != null)
            city = city != null ? city + " " + name : name;
        Description description = poi.getDescription();
        if (description != null) {
            String descriptionStr = trim(description.toString());
            if (descriptionStr != null)
                city = city != null ? city + " " + descriptionStr : descriptionStr;
        }
        return city;
    }
View Full Code Here

Examples of uk.ac.ebi.pride.jaxb.model.Description

        Integer maxMissedCleavages = null;
        ArrayList<String> enzymes = new ArrayList<String>();

        PrideXmlReader prideXmlReader = new PrideXmlReader(currentPrideDataFile);

        Description description = prideXmlReader.getDescription();
        DataProcessing dataProcessing = description.getDataProcessing();

        if (dataProcessing != null && dataProcessing.getProcessingMethod() != null) {
            List<CvParam> processingMethods = dataProcessing.getProcessingMethod().getCvParam();

            for (CvParam cvParam : processingMethods) {
View Full Code Here

Examples of vn.DESCRIPTION

  private VerbnetInfo chooseFrame(SemanticFrame searchFrame,
      Set<String> knownPredicates, Set<VNCLASS> vnclasses) {
    for (VNCLASS vnclass : vnclasses) {
      List<FRAME> frames = vnclass.getFRAMES().getFRAME();
      for (FRAME frame : frames) {
        DESCRIPTION description = frame.getDESCRIPTION();
        // TODO enhance frame detection (include "Dative", "Location"
        // etc. )
        if (searchFrame.coerent(description.getPrimary())) {
          for (EXAMPLE example : frame.getEXAMPLES().getEXAMPLE()) {
            System.out.println("verbnet frame detected : "
                + description.getPrimary() + " example : "
                + example.getvalue());
          }
          List<Object> npOrVERBOrADJOrADVOrPREPOrLEX = frame
              .getSYNTAX().getNPOrVERBOrADJOrADVOrPREPOrLEX();
          int position = 0;
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.