Examples of property()


Examples of org.jrest4guice.persistence.ibatis.annotations.Cachemodel.property()

      for (String statement : flushOnExecute) {
        cacheModelSb.append("\n    <flushOnExecute statement=\""
            + statement + "\"/>");
      }
     
      Property[] properties = annotation.property();
      for(Property property :properties){
        cacheModelSb.append("\n    <property"+
            " name=\""+ property.name() + "\""+
            " value=\""+ property.value() + "\""+
            "/>");
View Full Code Here

Examples of org.jvnet.sorcerer.util.JsonWriter.property()

    public void generateProjectJs(final Map<String, String> cus, PrintWriter w) throws IOException {
        try {
            final JsonWriter jw = new JsonWriter(w);
            jw.startObject();
            jw.property("name", "Project"); // TODO
            jw.propertyUnquoted("linker", "linker.self");
            jw.property("sources", new JsonWriter.Writable() {
                public void write(JsonWriter w) {
                    for (Map.Entry<String, String> entry : cus.entrySet()) {
                        jw.property(entry.getKey(), entry.getValue());
View Full Code Here

Examples of org.opengis.filter.FilterFactory.property()

    private PropertyIsEqualTo createGeometryFunctionFilter( String geomXPath, Object geometryClassSimpleName ) throws IllegalFilterException {
        FilterFactory factory=CommonFactoryFinder.getFilterFactory(GeoTools.getDefaultHints());
        FilterFunction_geometryType geomTypeExpr=new FilterFunction_geometryType();
        List<Expression> params = new ArrayList<Expression>();
        params.add(factory.property(geomXPath));
        geomTypeExpr.setParameters(params);
       
        return factory.equals(geomTypeExpr, factory.literal(geometryClassSimpleName));
    }
   
View Full Code Here

Examples of org.opengis.filter.FilterFactory2.property()

  }

  @Test
  public void nullFilter() throws Exception {
    FilterFactory2 ff = CommonFactoryFinder.getFilterFactory2(null);
    Filter filter = ff.isNull(ff.property(PARAM_DATE_ATTR));
    Iterator<?> it = layer.getElements(filter, 0, 0);

    int t = 0;
    while (it.hasNext()) {
      Assert.assertTrue("Returned object must be a SimpleFeature", it.next() instanceof SimpleFeature);
View Full Code Here

Examples of org.raml.parser.annotation.Parent.property()

                ReflectionUtils.setProperty(pojo, declaredField.getName(), keyFieldName);
            }
            if (parentAnnotation != null)
            {
                Object value = parent;
                if (!parentAnnotation.property().isEmpty())
                {
                    try
                    {
                        value = PropertyUtils.getProperty(parent, parentAnnotation.property());
                    }
View Full Code Here

Examples of org.rhq.helpers.pluginAnnotations.agent.Metric.property()

               debug("Metric annotation found " + rhqMetric);
               // Property and description resolution are the reason why annotation scanning is done here.
               // These two fields are calculated from either the method name or the Managed* annotations,
               // and so, only the infinispan side knows about that.
               String property = prefix + BeanConventions.getPropertyFromBeanConvention(method);
               if (!rhqMetric.property().isEmpty()) {
                  property = prefix + rhqMetric.property();
               }
               MetricProps metric = new MetricProps(property);
               String displayName = withNamePrefix ? "[" + mbean.objectName() + "] " + rhqMetric.displayName() : rhqMetric.displayName();
               metric.setDisplayName(displayName);
View Full Code Here

Examples of org.sonatype.nexus.testsuite.capabilities.client.CapabilityA.property()

        .withPropertyA1("foo")
        .save();

    assertThat(created.id(), is(notNullValue()));
    assertThat(created.notes(), is("Some notes"));
    assertThat(created.property("a1"), is("foo"));
    assertThat(created.propertyA1(), is("foo"));

    // read
    final CapabilityA read = capabilities().get(CapabilityA.class, created.id());
View Full Code Here

Examples of org.sonatype.nexus.testsuite.capabilities.client.CapabilityB.property()

        .withPropertyB1("foo")
        .save();

    assertThat(created.id(), is(notNullValue()));
    assertThat(created.notes(), is("Some notes"));
    assertThat(created.property("b1"), is("foo"));
    assertThat(created.propertyB1(), is("foo"));

    // read
    final CapabilityB read = capabilities().get(CapabilityB.class, created.id());
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.