Examples of addProperty()


Examples of com.tensegrity.palo.gwt.core.client.models.cubeviews.XAxisHierarchy.addProperty()

                hierarchy.setVisibleElements(oldVisibleElements);
                hierarchy.setSelectedElement(oldSelectedElement);
                if (oldPaths == null) {
                  hierarchy.removeProperty("filterPaths");
                } else {
                  hierarchy.addProperty("filterPaths", oldPaths);
                }
                if (oldAliasFormat == null) {
                  hierarchy.removeProperty("aliasFormat");
                } else {
                  hierarchy.addProperty("aliasFormat", oldAliasFormat);

Examples of com.thinkaurelius.titan.core.TitanVertex.addProperty()

                    TitanVertex next = (TitanVertex) graph.addVertex(null);
                    InternalRelation edge = null;
                    if (old != null) {
                        edge = (InternalRelation) graph.addEdge(null, old, next, "knows");
                    }
                    InternalRelation property = (InternalRelation) next.addProperty("age", 25);
                    if (flush) {
                        idAssigner.assignID((InternalVertex) next);
                        idAssigner.assignID(property);
                        if (edge != null) idAssigner.assignID(edge);
                    } else {

Examples of com.tll.config.Config.addProperty()

  @Override
  protected void beforeClass() {
    // create the db shell first (before test injector creation) to avoid db4o
    // file lock when objectcontainer is instantiated
    final Config cfg = new Config();
    cfg.addProperty(Db4oDaoModule.ConfigKeys.DB4O_FILENAME.getKey(), getConfig().getProperty(
        Db4oDaoModule.ConfigKeys.DB4O_FILENAME.getKey()));
    cfg.addProperty(Db4oDaoModule.ConfigKeys.DB_TRANS_TIMEOUT.getKey(), getConfig().getProperty(
        Db4oDaoModule.ConfigKeys.DB_TRANS_TIMEOUT.getKey()));
    cfg.setProperty(Db4oDaoModule.ConfigKeys.DB4O_EMPLOY_SPRING_TRANSACTIONS.getKey(), false);
    final Injector i = buildInjector(new SmbizDb4oDaoModule(cfg), new Db4oDbShellModule());

Examples of com.wesabe.xmlson.XmlsonObject.addProperty()

*/
public class AccountReferencePresenter {
  public XmlsonObject present(Account account) {
    // REVIEW coda@wesabe.com -- May 21, 2009: Replace account URI building once AccountResource is written
    final XmlsonObject root = new XmlsonObject("account");
    root.addProperty("uri", String.format("/accounts/%d", account.getRelativeId()));
    return root;
  }
}

Examples of de.fuberlin.wiwiss.d2rq.map.PropertyBridge.addProperty()

    stmts = r.listProperties(D2RQ.additionalProperty);
    while (stmts.hasNext()) {
      Resource additionalProperty = stmts.nextStatement().getResource();
      PropertyBridge bridge = new PropertyBridge(r);
      bridge.setBelongsToClassMap(classMap);
      bridge.addProperty(additionalProperty.getProperty(D2RQ.propertyName).getResource());
      bridge.setConstantValue(additionalProperty.getProperty(D2RQ.propertyValue).getObject());
      classMap.addPropertyBridge(bridge);
    }
    stmts = r.listProperties(D2RQ.classDefinitionLabel);
    while (stmts.hasNext()) {

Examples of edu.indiana.extreme.gfac.utils.GfacException.addProperty()

            logger.info("Registry URL: "+ registryURL);
                  return new XregistryServiceWrapper(registryURL,globalConfiguration);
              } catch (GfacException e) {
                e.printStackTrace();
              GfacException error = new GfacException("Failed to create registry Service client using " + registryURL,e,FaultCode.ErrorAtDependentService);
              error.addProperty(ErrorCodes.SERVICE_TYPE, ErrorCodes.ServiceType.Registry.toString());
              error.addProperty(ErrorCodes.URL_Name, registryURL);
              throw error;
          }
      }
   public static RegistryService createRegistryService(String registryURL,String trustedCertFile,

Examples of flex.messaging.config.ConfigMap.addProperty()

       
        if (pollingEnabled)
        {
            ConfigMap pollingEnabled = new ConfigMap();
            // Adding as a value rather than attribute to the parent
            pollingEnabled.addProperty("", "true");           
            properties.addProperty(POLLING_ENABLED, pollingEnabled);
        }       
               
        if (pollingIntervalMillis > -1)
        {

Examples of foodev.jsondiff.jsonwrap.JzonObject.addProperty()

        } else if (child.oper == Oper.SET) {
          insert.add(reIndexedKey, child.val);
          instructions.insert(instructions.size(), insert);
          deeper = false;
        } else if (child.oper == Oper.DELETE) {
          insert.addProperty("-" + reIndexedKey, 0);
          instructions.insert(instructions.size(), insert);
          deeper = false;
        }
        if (deeper) {
          JzonObject childPatch = factory.createJsonObject();

Examples of fr.inria.spoon.property.PProcessor.addProperty()

        if (avalProc != null)
          avalProc.setActive(true);
        jbprocessor = propMgr.findProcessor("jbprocessor.BpelProcessor");
        if (jbprocessor != null){
          jbprocessor.setActive(true);
          jbprocessor.addProperty("projectName", project.getElementName());
          jbprocessor.addProperty("outputDirectory", project.getOutputLocation().toString());
        }
        PProcessor jbtypeproc = propMgr.findProcessor("jbprocessor.JbprocessTypeValidator");
        if (jbtypeproc != null)
          jbtypeproc.setActive(true);       

Examples of gobo.dto.GbEntity.addProperty()

      GbProperty property1 = new GbProperty();
      property1.setName("prop1");
      property1.setValueType(GbProperty.STRING);
      property1.setValue("prepare1_" + i);
      entity.addProperty(property1);

      GbProperty property2 = new GbProperty();
      property2.setName("prop2");
      property2.setValueType(GbProperty.LONG);
      property2.setValue(String.valueOf("10" + i));
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.