Examples of removeField()


Examples of org.graylog2.plugin.configuration.ConfigurationRequest.removeField()

    public static class Config extends KafkaTransport.Config {
        @Override
        public ConfigurationRequest getRequestedConfiguration() {
            final ConfigurationRequest r = super.getRequestedConfiguration();
            // we provide a default value for that setting
            r.removeField(CK_TOPIC_FILTER);
            return r;
        }
    }
}
View Full Code Here

Examples of org.jboss.forge.parser.java.JavaClass.removeField()

            if (javaClass.hasField(fieldName) && !javaClass.getField(fieldName).isType(Conversation.class))
            {
               if (overwrite)
               {
                  javaClass.removeField(javaClass.getField(fieldName));
               }
               else
               {
                  throw new RuntimeException("Field [" + fieldName + "] exists. Re-run with '--overwrite' to continue.");
               }
View Full Code Here

Examples of org.jboss.forge.roaster.model.source.JavaClassSource.removeField()

            if (javaClass.hasField(fieldName) && !javaClass.getField(fieldName).getType().isType(Conversation.class))
            {
               if (overwriteValue)
               {
                  javaClass.removeField(javaClass.getField(fieldName));
               }
               else
               {
                  return Results.fail("Field [" + fieldName + "] already exists.");
               }
View Full Code Here

Examples of org.vertx.java.core.json.JsonObject.removeField()

  }

  private JsonObject getResultFromReply(Message<JsonObject> reply) {
    JsonObject body = reply.body();
    JsonObject world = body.getObject("result");
    Object id = world.removeField("_id");
    world.putValue("id", id);
    return world;
  }

  private void handleQueriesMongo(final HttpServerRequest req) {
View Full Code Here

Examples of org.xmpp.forms.DataForm.removeField()

    }
   
    public void addFormType() {
        DataForm challengeForm = getChallengeForm();
       
        challengeForm.removeField("FORM_TYPE");
       
        FormField field = challengeForm.addField();
        field.setVariable("FORM_TYPE");
        field.setType(FormField.Type.hidden);
        field.addValue("urn:xmpp:tmp:challenge");
View Full Code Here

Examples of pedro.model.RecordModel.removeField()

                        {
                          final DataFieldModel dataFieldModel = (DataFieldModel)iterator.next();

                          if( dataFieldModel.getName().trim().equals( "Microscope" ) ) //$NON-NLS-1$
                          {
                            spotRecordModel.removeField( dataFieldModel )
                          }
                        }

                        // TODO: Work out why Microscope cannot be added.
                        // spotRecordModel.addChild( "Microscope", microscopeRecordModel, false ); //$NON-NLS-1$
View Full Code Here

Examples of quickfix.Message.Header.removeField()

        String destinationCompId = getField(header, DeliverToCompID.FIELD);
        if (destinationCompId != null) {
            String destinationSubId = getField(header, DeliverToSubID.FIELD);
            String destinationLocationId = getField(header, DeliverToLocationID.FIELD);
           
            header.removeField(DeliverToCompID.FIELD);
            header.removeField(DeliverToSubID.FIELD);
            header.removeField(DeliverToLocationID.FIELD);
           
            String gatewayCompId = getField(header, TargetCompID.FIELD);
            String gatewaySubId = getField(header, TargetSubID.FIELD);
View Full Code Here

Examples of soot.SootClass.removeField()

            for (Iterator fields = entityClass.getFields().snapshotIterator(); fields
                    .hasNext();) {
                SootField field = (SootField) fields.next();

                if (unusedFieldSet.contains(field)) {
                    entityClass.removeField(field);
                }
            }
        }
    }
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.