Examples of modify()


Examples of com.asakusafw.runtime.value.StringOption.modify()

        value.setNull();
        emitter.emit(value);
        value.modify("\n\t\\");
        emitter.emit(value);
        value.modify(LONG_STRING);
        emitter.emit(value);
        emitter.endRecord();

        emitter.close();
View Full Code Here

Examples of com.elasticinbox.core.MessageDAO.modify()

      // get message ids of label
      messageIds = LabelIndexPersistence.get(mailbox.getId(), labelId,
          null, BatchConstants.BATCH_READS, false);

      // remove label from message metadata
      messageDAO.modify(mailbox, messageIds,
          new MessageModification.Builder().removeLabels(labelIds).build());
    }
    while (messageIds.size() >= BatchConstants.BATCH_READS);

    // begin batch operation
View Full Code Here

Examples of com.halware.nakedide.eclipse.ext.annot.mdd.MetadataDescriptor.modify()

   
    TableItem tableItem = (TableItem)element;
    T nakedObjectProperty = Generics.asT(tableItem.getData());
 
    MetadataDescriptor metadataDescriptor = getMetadataDescriptor(property);
    metadataDescriptor.modify(nakedObjectProperty, value);
 
    doModify(nakedObjectProperty, property, value);
  }
 
  protected abstract void doModify(T element, String property, Object value);
View Full Code Here

Examples of com.novell.ldap.LDAPConnection.modify()

              mods = (LDAPModification[])modSet.toArray(mods);
              String oldDn = oldEntry.getDN();
              if (log.isDebugEnabled()) {
                log.debug("Writing modification to DN: "+oldDn);
              }
              lc.modify(oldDn, mods, ldapStoreConstraints);
              String msg = intres.getLocalizedMessage("publisher.ldapmodify", "CERT", oldDn);
              log.info(msg)
            } else {
              if(this.getCreateNonExistingUsers()){    
                if (oldEntry == null) {          
View Full Code Here

Examples of com.sleepycat.je.tree.LN.modify()

             */
            final long oldLNMemSize;
            if (ln != null) {
                /* LN is already resident, modify its data. */
                oldLNMemSize = ln.getMemorySizeIncludedByParent();
                ln.modify(newData);
            } else {
                /* LN is not resident, create updated LN for logging. */
                ln = dbType.createUpdatedLN(envImpl, newData);
                /* Make updated LN resident. */
                bin.updateNode(index, ln, null /*lnSlotKey*/);
 
View Full Code Here

Examples of eu.planets_project.services.modify.Modify.modify()

    private static final URI FORMAT = FormatRegistryFactory.getFormatRegistry().createExtensionUri("xml");

    @Test
    public void createService() throws MalformedURLException, ClassNotFoundException {
        Modify modify = ServiceUtils.createService(Modify.QNAME, Modify.class, new URL(ENDPOINT));
        modify.modify(DIGITAL_OBJECT, FORMAT, null);
    }

    @Test
    public void createServiceFromDescription() throws MalformedURLException {
        ServiceDescription.Builder builder = new ServiceDescription.Builder(NAME, INTERFACE_NAME);
View Full Code Here

Examples of evolaris.framework.smsservices.business.CommandEntryManager.modify()

    CommandEntryManager commandEntryManager = new CommandEntryManager(locale,session);
    CommandEntry commandEntry = commandEntryFromRequest(req, commandEntryManager);
    checkSortLabel(req, commandEntry,commandEntryManager.getTemplateCommandEntries(getCurrentGroup(req), null));
    // set template flag
    commandEntry.setUseAsTemplate(1);
    commandEntryManager.modify(commandEntry);
    LOGGER.info("set template flag in command entry #" + commandEntry.getId());
    //return list(mapping,form,req,resp);
    return mapping.findForward("reload")// reload to avoid re-post of form when admin changes group
  }
View Full Code Here

Examples of graphics.common.Point.modify()

            theWindow.clear();

            for( int i = 0; i < allGraphics.size(); i++ ) {
                GraphicsObject go = allGraphics.get( i );
                Point goP = go.getPoints()[ 0 ];
                goP.modify( moveValX[ i ], moveValY[ i ], 0.0 );
                if( goP.getRealX() < 0.0 ) {
                    goP.setX( 5.0 );
                    moveValX[ i ] = -moveValX[ i ];
                }
                if( goP.getRealX() > theWindow.getWidth() ) {
View Full Code Here

Examples of graphics.common.Velocity.modify()

            double modifier = mTime / delta;
            double deltaDecay = mShouldApplyDecay ? mDeltaDecayRate : 1.0;
            mVelDelta.modify( mVelDelta.getXPart() * modifier * deltaDecay,
                    mVelDelta.getYPart() * modifier * deltaDecay,
                    mVelDelta.getZPart() * modifier * deltaDecay );
            vel.modify( mVelDelta.getXPart(), mVelDelta.getYPart(), mVelDelta.getZPart() );

            // Make sure the modified velocity does not go below/above a certain amount
            // so that something doesn't either reverse velocity, or slow down
            // so much that it does not actually get to where it needs to go.

View Full Code Here

Examples of marauroa.common.game.IRPZone.modify()

   *            the object that has been modified.
   */
  public void modify(RPObject object) {
    IRPZone zone = zones.get(new IRPZone.ID(object.get("zoneid")));
    if (zone != null) {
      zone.modify(object);
    } else {
      logger.warn("calling RPWorld.modify on a zoneless object: " + object + " parent: " + object.getContainerBaseOwner(), new Throwable());
    }
  }

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.