Examples of field()


Examples of com.sun.codemodel.JDefinedClass.field()

        ErrorHandler errorHandler ) {
       
        for( ClassOutline ci : outline.getClasses() ) {
            JDefinedClass impl = ci.implClass;
            if (ci.getSuperClass() == null) {
                JVar $loc = impl.field(JMod.PROTECTED, Locator.class, fieldName);
                $loc.annotate(XmlLocation.class);
                $loc.annotate(XmlTransient.class);

                impl._implements(Locatable.class);
View Full Code Here

Examples of com.sun.codemodel.internal.JDefinedClass.field()

        ErrorHandler errorHandler ) {

        for( ClassOutline ci : outline.getClasses() ) {
            JDefinedClass impl = ci.implClass;
            if (ci.getSuperClass() == null) {
                JVar $loc = impl.field(JMod.PROTECTED, Locator.class, fieldName);
                $loc.annotate(XmlLocation.class);
                $loc.annotate(XmlTransient.class);

                impl._implements(Locatable.class);
View Full Code Here

Examples of com.sun.jdi.event.AccessWatchpointEvent.field()

                        if ( event instanceof AccessWatchpointEvent )
                        {
                            AccessWatchpointEvent accessEvent = (AccessWatchpointEvent) event;
                            handler.onAccessWatchpoint( suspension, event.virtualMachine(), accessEvent.thread(),
                                                        (WatchpointRequest) event.request(), accessEvent.object(),
                                                        accessEvent.field(), accessEvent.valueCurrent(),
                                                        accessEvent.location() );
                        }
                        else if ( event instanceof ModificationWatchpointEvent )
                        {
                            ModificationWatchpointEvent modificationEvent = (ModificationWatchpointEvent) event;
View Full Code Here

Examples of com.sun.jdi.event.ModificationWatchpointEvent.field()

                            ModificationWatchpointEvent modificationEvent = (ModificationWatchpointEvent) event;
                            handler.onModificationWatchpoint( suspension, event.virtualMachine(),
                                                              modificationEvent.thread(),
                                                              (WatchpointRequest) event.request(),
                                                              modificationEvent.object(),
                                                              modificationEvent.field(),
                                                              modificationEvent.valueCurrent(),
                                                              modificationEvent.valueToBe(),
                                                              modificationEvent.location() );
                        }
                        else
View Full Code Here

Examples of com.sun.jdi.event.WatchpointEvent.field()

                        else
                        {
                            WatchpointEvent watchpointEvent = (WatchpointEvent) event;
                            handler.onWatchpoint( suspension, event.virtualMachine(), watchpointEvent.thread(),
                                                  (WatchpointRequest) event.request(), watchpointEvent.object(),
                                                  watchpointEvent.field(), watchpointEvent.valueCurrent(),
                                                  watchpointEvent.location() );
                        }
                    }
                    else if ( event instanceof BreakpointEvent )
                    {
View Full Code Here

Examples of com.sun.jersey.multipart.FormDataMultiPart.field()

            String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";

            FormDataMultiPart mp = new FormDataMultiPart();
            for (FileForImport fileForImport : files) {
                mp.field("visibilitySource", fileForImport.getVisibilitySource(), MediaType.MULTIPART_FORM_DATA_TYPE);
                FormDataContentDisposition dispo = FormDataContentDisposition
                        .name("file")
                        .fileName(fileForImport.getFileName())
                        .size(fileForImport.getFile().length())
                        .build();
View Full Code Here

Examples of com.uwyn.rife.database.queries.Select.field()

        .warning("Tried to install IndexQueueDbStructure but it failed; " +
            "probably already installed.");
    }
   
    final Select get_messages = new Select(d);
    get_messages
      .field("moment")
      .field("botname")
      .field("channel")
      .field("servername")
      .field("nickname")
View Full Code Here

Examples of com.uwyn.rife.database.queries.Select.field()

      .field("hostname")
      .field("message")
      .from("log");

    final Select count_messages = new Select(d);
    count_messages
      .field("count(*)")
      .from("log");

    class Scope
    {
View Full Code Here

Examples of de.spinscale.elasticsearch.action.suggest.refresh.SuggestRefreshRequest.field()

            if (request.hasContent()) {
                XContentParser parser = XContentFactory.xContent(request.content()).createParser(request.content());
                Map<String, Object> parserMap = parser.mapAndClose();

                if (parserMap.containsKey("field")) {
                    suggestRefreshRequest.field(XContentMapValues.nodeStringValue(parserMap.get("field"), ""));
                }
            }

            client.execute(SuggestRefreshAction.INSTANCE, suggestRefreshRequest, new RestToXContentListener<SuggestRefreshResponse>(channel));
        } catch (IOException e) {
View Full Code Here

Examples of de.spinscale.elasticsearch.action.suggest.suggest.SuggestRequest.field()

            } else {
                channel.sendResponse(new BytesRestResponse(BAD_REQUEST, "Please provide body data or source parameter"));
            }

            SuggestRequest suggestRequest = new SuggestRequest(indices);
            suggestRequest.field(XContentMapValues.nodeStringValue(parserMap.get("field"), ""));
            suggestRequest.suggestType(XContentMapValues.nodeStringValue(parserMap.get("type"), ""));
            if (parserMap.containsKey("analyzer")) {
                suggestRequest.indexAnalyzer(XContentMapValues.nodeStringValue(parserMap.get("analyzer"), ""));
                suggestRequest.queryAnalyzer(XContentMapValues.nodeStringValue(parserMap.get("analyzer"), ""));
            } else {
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.