Examples of Description


Examples of buri.ddmsence.ddms.summary.Description

    });
    CONSTRUCTOR_BUILDERS.put(Description.class, new IConstructorBuilder() {
      public IDDMSComponent build() throws IOException, InvalidDDMSException {
        String text = readString("the description text [testDescription]");
        SecurityAttributes attr = buildSecurityAttributes("description");
        return (new Description(text, attr));
      }
    });
    CONSTRUCTOR_BUILDERS.put(Dates.class, new IConstructorBuilder() {
      public IDDMSComponent build() throws IOException, InvalidDDMSException {
        String created = readString("the created date [2010]");
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.Description

  }

  private static void extractDescription(SearchParameter theParameter, Annotation[] theAnnotations) {
    for (Annotation annotation : theAnnotations) {
      if (annotation instanceof Description) {
        Description desc = (Description) annotation;
        if (isNotBlank(desc.formalDefinition())) {
          theParameter.setDescription(desc.formalDefinition());
        } else {
          theParameter.setDescription(desc.shortDefinition());
        }
      }
    }
  }
View Full Code Here

Examples of cgl.shindig.gram5.bean.Description

      Connection con = createConnection();
      stmt = con.createStatement();
      ResultSet resultSet = stmt.executeQuery(sql);
     
      while(resultSet.next()){
        Description d = new Description();
        d.setSubmissionId(resultSet.getString("submission_id"));
        d.setSubmissionTime(resultSet.getTimestamp("submission_time"));
        d.setStatus(resultSet.getString("status"));
        d.setConcurrency(resultSet.getString("concurrency"));       
        d.setBatches(resultSet.getInt("batches"));
        d.setEndPoint(resultSet.getString("server_endpoint"));
        d.setUserId(resultSet.getString("user_id"));
       
        result.add(d);
      }

    } catch (Exception e) {
View Full Code Here

Examples of cn.edu.pku.dr.requirement.elicitation.data.Description

    private static CompositeDataProxy cdp = CompositeDataProxy.getInstance();

    public ScenarioAction() {}

    public void saveDescription() throws EasyJException {
        Description description = (Description) object;
        if (description.getDescriptionId() == null) {
            dp.create(description);
            returnMessage = "descriptionId=" + description.getDescriptionId()
                    + "<message>保存成功";
        } else {
            description.setUseState("Y");
            dp.update(description);
            returnMessage = "保存成功";
        }
    }
View Full Code Here

Examples of com.asakusafw.dmdl.directio.hive.util.DirectFileInputDescriptionGenerator.Description

    /**
     * simple case.
     */
    @Test
    public void simple() {
        Class<? extends DirectFileInputDescription> aClass = generate(new Description("Testing", name(MockData.class)));
        assertThat(DirectFileInputDescription.class.isAssignableFrom(aClass), is(true));
        assertThat(Modifier.isAbstract(aClass.getModifiers()), is(true));

        assertThat(aClass, hasGetter("getModelType"));
        assertThat(aClass, not(hasGetter("getBasePath")));
View Full Code Here

Examples of com.asakusafw.dmdl.directio.hive.util.DirectFileOutputDescriptionGenerator.Description

    /**
     * simple case.
     */
    @Test
    public void simple() {
        Class<? extends DirectFileOutputDescription> aClass = generate(new Description("Testing", name(MockData.class)));
        assertThat(DirectFileOutputDescription.class.isAssignableFrom(aClass), is(true));
        assertThat(Modifier.isAbstract(aClass.getModifiers()), is(true));

        assertThat(aClass, hasGetter("getModelType"));
        assertThat(aClass, not(hasGetter("getBasePath")));
View Full Code Here

Examples of com.colorfulsoftware.rss.Description

   * tests building a text input element.
   */
  @Test
  public void testBuildTextInput() {
    Title title = null;
    Description description = null;
    Name name = null;
    Link link = null;
    try {
      rssDoc.buildTextInput(title, description, name, link);
      fail("we should have thrown an exception above.");
View Full Code Here

Examples of com.dtolabs.rundeck.core.plugins.configuration.Description

        if (useCache) {
            ResourceModelSourceFactory provider = nodesSourceService.providerOfType(type);
            String name=ident;
            if(provider instanceof Describable){
                Describable desc=(Describable) provider;
                Description description = desc.getDescription();
                name = ident + " (" + description.getTitle() + ")";
            }
            return createCachingSource(sourceForConfiguration, ident,name);
        } else {
            return sourceForConfiguration;
        }
View Full Code Here

Examples of com.facebook.presto.operator.Description

            throw new IllegalArgumentException("Unable to create function binder " + functionBinderClass.getName() + " for function " + method);
        }

        private static String getDescription(AnnotatedElement annotatedElement)
        {
            Description description = annotatedElement.getAnnotation(Description.class);
            return (description == null) ? null : description.value();
        }
View Full Code Here

Examples of com.google.errorprone.matchers.Description

      return Description.NO_MATCH;
    }

    // For each annotationReplacement, replace the first annotation that matches. If any of them
    // matches, don't try and do the rest of the work.
    Description description;
    for (AnnotationReplacements replacement : annotationReplacements()) {
      description = tryToReplaceAnnotation(
          methodTree, state, replacement.badAnnotation, replacement.goodAnnotation);
      if (description != null) {
        return description;
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.