Examples of Domain


Examples of com.linguamathematica.oa4j.TopicsAnalysis.Domain

  }

  private static TopicsAnalysis topicsAnalysisForURL()
  {
    final Set<Domain> domains = newSet(//@formatter:off
        new Domain(topic("Internet", 9), new Domain(topic("web page", 4),Domain.NULL)),
        new Domain(topic("Computers", 5), new Domain(topic("domain name", 4),Domain.NULL)));

    final Set<Noun> topTopics = newSet(

        topTopic(topic("example",4), of(Polarity.NEUTRAL, 0), of(OfferingGuidance.NOT_AT_ALL, 1),
            of(RequestingGuidance.NOT_AT_ALL, 1)),
View Full Code Here

Examples of com.s3auth.hosts.Domain

     */
    @Test
    public void convertsToXml() throws Exception {
        final JaxbDomain obj = new JaxbDomain(
            // @checkstyle AnonInnerLength (50 lines)
            new Domain() {
                @Override
                public String name() {
                    return "localhost";
                }
                @Override
View Full Code Here

Examples of com.sparc.knappsack.components.entities.Domain

        assertFalse(validator.supports(String.class));
    }

    @Test
    public void testValid() {
        Domain domain = new Organization();
        domain.setId(1L);
        domain.getUuid();

        form.setDomainUUID(domain.getUuid());
        form.setAddress("testAddress");
        form.setCompanyName("testCompany");
        form.setEmailAddress("test@test.com");
        form.setFirstName("firstName");
        form.setLastName("lastName");
        form.setRegion(1L);
        form.setDeviceType(DeviceType.IPAD_1);
        form.setPhoneNumber("1231231234");
        form.getLanguages().add(Language.ENGLISH);

        Mockito.when(domainService.getByUUID(form.getDomainUUID())).thenReturn(domain);
        Mockito.when(domainService.getDomainForRegion(form.getRegion())).thenReturn(domain);
        Mockito.when(domainRequestService.doesDomainRequestExist(domain.getId(), form.getEmailAddress())).thenReturn(false);

        validator.validate(form, errors);
        assertEquals(errors.getErrorCount(), 0);

    }
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.Domain

    @GET
    @Produces({"text/plain"})
    public String get() {

        Domain entity = RestService.getDomain();

        File loc =
                new File(System.getProperty("user.home") + "/acvs/v3/admin/rest/src/main/java/org/glassfish/admin/rest/resources");
        loc.mkdirs();
        genDir = loc.getAbsolutePath();
View Full Code Here

Examples of com.twilio.sdk.resource.instance.sip.Domain

   *
   * @param sid The 34 character sid starting with SD
   * @return the sip domain
   */
  public Domain getDomain(String sid) {
    Domain domain = new Domain(this.getClient(), sid);
    domain.setRequestAccountSid(this.getRequestAccountSid());
    return domain;
  }
View Full Code Here

Examples of de.innovationgate.wga.config.Domain

      try {
        config = runtime.retrieveWGAConfig(false);
        if (config != null) {
          Iterator<Domain> domains = config.getDomains().iterator();
          while (domains.hasNext()) {
            Domain domain = domains.next();
            _domains.put(domain.getName(), domain);
          }
        }
      } catch (IncompatibleWGAConfigVersion e) {
      } catch (IOException e) {
      }
      List<String> domainItems = new ArrayList<String>();
      domainItems.addAll(_domains.keySet());
      Collections.sort(domainItems);
      String[] domainNames = domainItems.toArray(new String[0]);
      _comboDomain.setItems(domainNames);
      // compute index of default domain
      for (int i=0; i < domainNames.length; i++) {
        Domain domain = _domains.get(domainNames[i]);
        if (WGAConfiguration.UID_DEFAULT_DOMAIN.equals(domain.getUid())) {
          _comboDomain.select(i);
          break;
        }
      }
      _comboDomain.computeSize(SWT.DEFAULT,SWT.DEFAULT,true);
View Full Code Here

Examples of de.novanic.eventservice.client.event.domain.Domain

        } catch(EventServiceException e) {}
    }

    @Test
    public void testListen() throws Exception {
        final Domain theDomain = DomainFactory.getDomain("test_domain");
        final UserInfo theUserInfo = new UserInfo("test_user");

        ByteArrayOutputStream theByteArrayOutputStream = new ByteArrayOutputStream();

        StreamingServerConnector theStreamingServerConnector = createStreamingServerConnector(700, theByteArrayOutputStream);
View Full Code Here

Examples of facebook4j.Domain

            List<Domain> domains = new ArrayList<Domain>();
            Iterator ids = json.keys();
            while (ids.hasNext()) {
                String id = (String) ids.next();
                JSONObject domainJSONObject = (JSONObject) json.get(id);
                Domain domain = new DomainJSONImpl(domainJSONObject);
                if (conf.isJSONStoreEnabled()) {
                    DataObjectFactoryUtil.registerJSONObject(domain, domainJSONObject);
                }
                domains.add(domain);
            }
View Full Code Here

Examples of fr.ippon.tatami.domain.Domain

    public boolean isUseAdviceWith() {
        return true; // returning true here to force CamelTestSupport NOT to start camel context
    }

    private void setupAndLaunchContext(TatamibotConfiguration configuration) throws Exception {
        Domain domain = new Domain();
        domain.setName("ippon.fr");

        when(domainRepository.getAllDomains()).thenReturn(newHashSet(domain));
        when(tatamibotConfigurationRepository.findTatamibotConfigurationsByDomain("ippon.fr")).thenReturn(newHashSet(configuration));

        // Note : we have to configure the context ourself as the mocks are used during route creation .. 
View Full Code Here

Examples of hermes.Domain

               log.debug("found " + entry.getClassName() + " bound at " + entry.getName());

               if (object instanceof Destination)
               {
                  final Domain domain = Domain.getDomain((Destination) object);

                  if (domain == Domain.TOPIC)
                  {
                     child = new TopicTreeNode(entry.getName(), (Topic) object);
                  }
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.