Examples of removeProperty()


Examples of io.lumify.core.model.ontology.Concept.removeProperty()

        }

        if (timeFormula.length() != 0) {
            concept.setProperty(LumifyProperties.TITLE_FORMULA.getPropertyName(), titleFormula, authorizations);
        } else {
            concept.removeProperty(LumifyProperties.TITLE_FORMULA.getPropertyName(), authorizations);
        }

        if (subtitleFormula.length() != 0) {
            concept.setProperty(LumifyProperties.SUBTITLE_FORMULA.getPropertyName(), subtitleFormula, authorizations);
        } else {
View Full Code Here

Examples of javax.media.jai.RenderedOp.removeProperty()

            next = ImageUtils.removeAlphaChannel(next);

            // previous will be treated as opaque as no alpha is supplied.
            RenderedOp composite = CompositeDescriptor.create(next, overlay, alphaNext, null, Boolean.FALSE, CompositeDescriptor.NO_DESTINATION_ALPHA, null);

            composite.removeProperty("JAI.ImageMetadata");
            result.add(composite);

            // composite image with have dimensions/origin the same as the
            // "next" image. Therefore we overlay on the "previous image to
            // get our next
View Full Code Here

Examples of jeeves.server.UserSession.removeProperty()

        } else { // Maybe we come from a forward, let's restore uuids:
            result = (Element) session
                    .getProperty(Geonet.Session.METADATA_UUIDS);

            if (result != null) {
                session.removeProperty(Geonet.Session.METADATA_UUIDS);

                for (Object e : result.getChildren()) {
                    Element el = (Element) e;
                    if (el.getName().equalsIgnoreCase("tmp")) {
                        tmp = el;
View Full Code Here

Examples of net.sourceforge.pebble.domain.AbstractBlog.removeProperty()

        if (key.equals("submit")) {
          // this is the parameter representing the submit button - do nothing
        } else {
          // this is an existing parameter - save or remove it
          if (value == null || value.length() == 0) {
            blog.removeProperty(key);
          } else {
            blog.setProperty(key, value);
          }
        }
      }
View Full Code Here

Examples of net.sourceforge.pebble.domain.Blog.removeProperty()

        if (key.equals("submit")) {
          // this is the parameter representing the submit button - do nothing
        } else {
          // this is an existing parameter - save or remove it
          if (value == null || value.length() == 0) {
            blog.removeProperty(key);
          } else {
            blog.setProperty(key, value);
          }
        }
      }
View Full Code Here

Examples of nextapp.echo2.app.MutableStyle.removeProperty()

        style.setProperty("india", "juliet");
        style.setProperty("kilo", "lima");
        assertEquals(6, style.size());
        assertEquals("juliet", style.getProperty("india"));
       
        style.removeProperty("kilo");
        assertEquals(5, style.size());
        assertNull(style.getProperty("kilo"));

        style.removeProperty("alpha");
        assertEquals(4, style.size());
View Full Code Here

Examples of org.apache.accumulo.core.client.admin.NamespaceOperations.removeProperty()

            fail();
          case 9:
            ops.removeIterator(namespace, "thing", EnumSet.allOf(IteratorScope.class));
            fail();
          case 10:
            ops.removeProperty(namespace, "a");
            fail();
          case 11:
            ops.rename(namespace, namespace + "2");
            fail();
          case 12:
View Full Code Here

Examples of org.apache.accumulo.core.client.admin.TableOperations.removeProperty()

      throw new Exception("batch scan did not fail");
   
    // remove the bad agg so accumulo can shutdown
    TableOperations to = getConnector().tableOperations();
    for (Entry<String,String> e : to.getProperties("tt")) {
      to.removeProperty("tt", e.getKey());
    }
   
    UtilWaitThread.sleep(500);
   
    // should be able to scan now
View Full Code Here

Examples of org.apache.activemq.command.Message.removeProperty()

            // Add the jobId as a property
            messageSend.setProperty("scheduledJobId", id);

            // if this goes across a network - we don't want it rescheduled
            messageSend.removeProperty(ScheduledMessage.AMQ_SCHEDULED_PERIOD);
            messageSend.removeProperty(ScheduledMessage.AMQ_SCHEDULED_DELAY);
            messageSend.removeProperty(ScheduledMessage.AMQ_SCHEDULED_REPEAT);
            messageSend.removeProperty(ScheduledMessage.AMQ_SCHEDULED_CRON);

            final ProducerBrokerExchange producerExchange = new ProducerBrokerExchange();
View Full Code Here

Examples of org.apache.axis2.context.ConfigurationContext.removeProperty()

                                            concurrentAccessController =
                                                    throttle.getConcurrentAccessController();
                                            if (concurrentAccessController != null) {
                                                cc.setProperty(key, concurrentAccessController);
                                            } else {
                                                cc.removeProperty(key);
                                            }
                                        }
                                    } catch (ThrottleException e) {
                                        handleException("Error processing the throttling policy",
                                                e, synCtx);
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.