Examples of addProperty()


Examples of ca.nengo.ui.configurable.ConfigSchemaImpl.addProperty()

    ConfigSchemaImpl newConfigSchema = new ConfigSchemaImpl(nodeConfigSchema.getProperties()
        .toArray(new Property[] {}), nodeConfigSchema.getAdvancedProperties().toArray(
        new Property[] {}));

    newConfigSchema.addProperty(pName, 0);

    return newConfigSchema;
  }

  public abstract ConfigSchema getNodeConfigSchema();

Examples of ch.entwine.weblounge.common.content.page.Pagelet.addProperty()

      ContentRepositoryException {

    String propertyName = "testproperty";
    String propertyValue = "testvalue";
    Pagelet p = new PageletImpl("testmodule", "testid");
    p.addProperty(propertyName, propertyValue);
    page.addPagelet(p, "stage");

    try {
      idx.add(page);
      assertEquals(1, idx.getResourceCount());

Examples of ch.entwine.weblounge.common.impl.content.page.PageletImpl.addProperty()

              pagelet.setContent(key, value.toString(), language);
            }
          }
        } else {
          for (Object value : metadata.getValues()) {
            pagelet.addProperty(key, value.toString());
          }
        }
      }

      // TODO: Set modified etc.

Examples of ch.epfl.lbd.database.olap.Level.addProperty()

    Level environmentLvl = new MondrianLevel("Environment",table,"environment_name");
    LevelProperty envNameProp = new MondrianLevelProperty"Environment Name",
                                LevelProperty.TYPE_STRING,
                                table,
                                "environment_name");
    environmentLvl.addProperty(envNameProp);
    LevelProperty envGeomProp = new MondrianLevelProperty"geom",
                                LevelProperty.TYPE_GEOMETRY,
                                table,
                                "environment_geom");
    environmentLvl.addProperty(envGeomProp);

Examples of ch.epfl.lbd.database.providers.mondrian.olap.MondrianLevel.addProperty()

    Level environmentLvl = new MondrianLevel("Environment",table,"environment_name");
    LevelProperty envNameProp = new MondrianLevelProperty"Environment Name",
                                LevelProperty.TYPE_STRING,
                                table,
                                "environment_name");
    environmentLvl.addProperty(envNameProp);
    LevelProperty envGeomProp = new MondrianLevelProperty"geom",
                                LevelProperty.TYPE_GEOMETRY,
                                table,
                                "environment_geom");
    environmentLvl.addProperty(envGeomProp);

Examples of co.nubetech.crux.model.Connection.addProperty()

   
    Connection connection = new Connection();
    ConnectionProperty connectionProperty1 = new ConnectionProperty(connection,
                                  CruxConstants.HBASE_ZOOKEEPER_PROPERTY,"value1");
   
    connection.addProperty(connectionProperty1);
    connection.setDatastore(datastore);
    connection.setId(1);
    connection.setName("Con");
   
    ConnectionView connectionView = new ConnectionView(1,connection);

Examples of com.amazonaws.util.AWSRequestMetrics.addProperty()

         */
        boolean leaveHttpConnectionOpen = false;

        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        /* add the service endpoint to the logs. You can infer service name from service endpoint */
        awsRequestMetrics.addProperty(Field.ServiceName.name(), request.getServiceName());
        awsRequestMetrics.addProperty(Field.ServiceEndpoint.name(), request.getEndpoint());


        // Apply whatever request options we know how to handle, such as user-agent.
        setUserAgent(request);

Examples of com.complexible.common.openrdf.util.ResourceBuilder.addProperty()

          if (aValueList.isEmpty()) {
            continue;
          }

          if (aPropertyAnnotation.isList()) {
            aRes.addProperty(aProperty, aValueList);
          }
          else {
            for (Value aVal : aValueList) {
              aRes.addProperty(aProperty, aVal);
            }

Examples of com.dotcms.repackage.org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl.addProperty()

        contentStream.setLength(BigInteger.valueOf(resourceFile.length()));
        contentStream.setMimeType(APILocator.getFileAPI().getMimeType(fileName));
        contentStream.setStream(new FileInputStream(resourceFile));
               
        PropertiesImpl result = new PropertiesImpl();
        result.addProperty(new PropertyIdImpl(PropertyIds.OBJECT_TYPE_ID, BaseTypeId.CMIS_DOCUMENT.value()));
        result.addProperty(new PropertyStringImpl(PropertyIds.NAME, fileName));

        if(!UtilMethods.isSet(folderId))
          folderId = getdefaultHostId();
       

Examples of com.erudika.para.core.Sysprop.addProperty()

      lang.putAll(getDefaultLanguage())// copy default langmap
      int approved = 0;

      for (Translation trans : tlist) {
        lang.put(trans.getThekey(), trans.getValue());
        saved.addProperty(trans.getThekey(), trans.getValue());
        approved++;
      }
      if (approved > 0) {
        updateTranslationProgressMap(appid, langCode, approved);
      }
TOP
Copyright © 2015 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.