Examples of removeProperty()


Examples of org.mule.api.MuleSession.removeProperty()

            if (RequestContext.getEvent() != null)
            {
                MuleSession session = RequestContext.getEvent().getSession();
                for (Object key : session.getPropertyNamesAsSet())
                {
                    session.removeProperty(key);
                }
            }
        }
        else
        {
View Full Code Here

Examples of org.neo4j.graphdb.Node.removeProperty()

    public void remove() {
        this.graph.tx().readWrite();
        if (this.element instanceof VertexProperty) {
            final Node node = ((Neo4jVertexProperty) this.element).getBaseVertex();
            if (null != node && node.hasProperty(this.key)) {
                node.removeProperty(this.key);
            }
        } else {
            final PropertyContainer propertyContainer = ((Neo4jElement) this.element).getBaseElement();
            if (propertyContainer.hasProperty(this.key)) {
                propertyContainer.removeProperty(this.key);
View Full Code Here

Examples of org.neo4j.graphdb.PropertyContainer.removeProperty()

                node.removeProperty(this.key);
            }
        } else {
            final PropertyContainer propertyContainer = ((Neo4jElement) this.element).getBaseElement();
            if (propertyContainer.hasProperty(this.key)) {
                propertyContainer.removeProperty(this.key);
            }
        }
    }

}
View Full Code Here

Examples of org.neo4j.graphdb.Relationship.removeProperty()

        Relationship rel = node1.createRelationshipTo( node2, MyRelTypes.TEST );
        rel.setProperty( key, new Integer( 1 ) );
        rel.delete();
        try
        {
            rel.removeProperty( key );
            Transaction tx = getTransaction();
            tx.success();
            tx.finish();
            fail( "Remove property on deleted rel should not validate" );
        }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.OdfStyleBase.removeProperty()

      OdfStyleProperty property = OdfStyleProperty.get(OdfStylePropertiesSet.ParagraphProperties, OdfName.newName(
          OdfDocumentNamespace.FO, "text-align"));
      if (horizontalAlignment != null) {
        styleElement.setProperty(property, horizontalAlignment);
      } else {
        styleElement.removeProperty(property);
      }
    }
  }

  /**
 
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.element.chart.ChartAxisElement.removeProperty()

          axis.setProperty(StyleTextPropertiesElement.FontCharsetComplex, "10pt");
        }

        if (axis.getChartDimensionAttribute().equals("z")) {
          // z axis
          axis.removeProperty(StyleChartPropertiesElement.DisplayLabel);
          axis.removeProperty(StyleChartPropertiesElement.Logarithmic);
          axis.removeProperty(StyleChartPropertiesElement.ReverseDirection);
          axis.removeProperty(StyleChartPropertiesElement.LineBreak);
          axis.removeProperty(StyleGraphicPropertiesElement.StrokeColor);
          axis.removeProperty(StyleTextPropertiesElement.FontSize);
View Full Code Here

Examples of org.odftoolkit.odfdom.incubator.doc.style.OdfStyle.removeProperty()

    tableStyle.setProperty(StyleTablePropertiesElement.Shadow, "none");
    NodeList cells = tableEle.getElementsByTagNameNS(OdfDocumentNamespace.TABLE.getUri(), "table-cell");
    if (cells != null && cells.getLength() > 0) {
      OdfStyle cellStyleWithoutBorder = styles.newStyle(OdfStyleFamily.TableCell);
      cellStyleWithoutBorder.setProperty(StyleTableCellPropertiesElement.Border, "none");
      cellStyleWithoutBorder.removeProperty(StyleTableCellPropertiesElement.Padding);
      String cellStyleName = cellStyleWithoutBorder.getStyleNameAttribute();
      for (int i = 0; i < cells.getLength(); i++) {
        TableTableCellElement cell = (TableTableCellElement) cells.item(i);
        cell.setStyleName(cellStyleName);
      }
View Full Code Here

Examples of org.palo.viewapi.AxisHierarchy.removeProperty()

//      String path = xAxisHierarchy.getProperty("filterPaths");     
      updateLocalFilter(axisHierarchy, visibleElements);
      if (filterPaths != null) {
        axisHierarchy.addProperty(new Property<String>("filterPaths", filterPaths));
      } else {
        axisHierarchy.removeProperty(new Property<String>("filterPaths", ""));
      }
    }
    if (axisHierarchy.getLocalFilter() == null) {
      updateLocalFilter(axisHierarchy, initialLocalFilter);
      return false;
View Full Code Here

Examples of org.rssowl.core.persist.IBookMark.removeProperty()

        feedDao.save(feed);
        feedsCreated.add(feedReference.getLink());
      }

      bm.removeProperty(ITypeImporter.DESCRIPTION_KEY);
      bm.removeProperty(ITypeImporter.HOMEPAGE_KEY);
    }

    /* Folder */
    else if (element instanceof IFolder) {
View Full Code Here

Examples of org.rssowl.core.persist.IEntity.removeProperty()

      String newNotes = fNotesInput.getText();

      boolean save = false;

      if (!StringUtils.isSet(newNotes) && StringUtils.isSet(oldNotes)) {
        entity.removeProperty(NOTES_PREF_ID);
        save = true;
      } else if (!newNotes.equals(oldNotes)) {
        entity.setProperty(NOTES_PREF_ID, newNotes);
        save = true;
      }
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.