Examples of type()


Examples of org.jibx.schema.elements.AnnotatedBase.type()

        if (s_logger.isInfoEnabled()) {
            s_logger.info("Generating enumeration class " + fullname);
        }
        GroupItem group = (GroupItem)item;
        AnnotatedBase comp = group.getFirstChild().getSchemaComponent();
        if (comp.type() == SchemaBase.SIMPLETYPE_TYPE) {
            comp = (AnnotatedBase)((SimpleTypeElement)comp).getDerivation();
        }
        SimpleRestrictionElement restrict = (SimpleRestrictionElement)comp;
        FilteredSegmentList facets = restrict.getFacetsList();
        if (java5) {
View Full Code Here

Examples of org.jibx.schema.elements.FacetElement.type()

       
        // create a static instance of class for each enumeration value
        ArrayList enumpairs = new ArrayList();
        for (int i = 0; i < facets.size(); i++) {
            FacetElement facet = (FacetElement)facets.get(i);
            if (facet.type() == SchemaBase.ENUMERATION_TYPE) {
               
                // get value for this enumeration element
                FacetElement.Enumeration enumelem = (Enumeration)facet;
                String value = enumelem.getValue();
               
View Full Code Here

Examples of org.jibx.schema.elements.OpenAttrBase.type()

            OpenAttrBase comp = current.getSchemaComponent();
            last = comp;
            if (comp instanceof INamed) {
                String check = ((INamed)comp).getName();
                if (check != null) {
                    int type = comp.type();
                    if (type == SchemaBase.ATTRIBUTE_TYPE || type == SchemaBase.ELEMENT_TYPE) {
                        name = check;
                    } else if (alttext == null) {
                        alttext = "'" + check + "' " + comp.name();
                    }
View Full Code Here

Examples of org.jnetpcap.protocol.network.Icmp.type()

    assertTrue(packet.hasHeader(ip, 1));
    assertTrue(packet.hasHeader(Udp.ID));
    assertTrue(packet.hasHeader(Payload.ID));

    // Check specific values
    assertEquals(3, icmp.type());
    assertEquals(3, icmp.code());
    assertEquals(0x2731, icmp.checksum());
    assertEquals(0, unreach.reserved());

    assertEquals(0x8724, ip.checksum());
View Full Code Here

Examples of org.jrest4guice.persistence.ibatis.annotations.Cachemodel.type()

      cacheModelIds.add(id);

      String[] flushOnExecute = annotation.flushOnExecute();

      cacheModelSb.append("  <cacheModel id=\"" + id
          + "\" type=\"" + annotation.type()
          + "\">");

      cacheModelSb.append("\n    <flushInterval hours=\""
          + annotation.flushInterval() + "\"/>");
      for (String statement : flushOnExecute) {
View Full Code Here

Examples of org.jrest4guice.transaction.annotations.Transactional.type()

    Transactional transactional = method.getAnnotation(Transactional.class);
    if(transactional == null){
      transactional = method.getDeclaringClass().getAnnotation(Transactional.class);
    }
   
    TransactionalType type = transactional.type();
   
    IbatisTransaction transaction = sqlMapClientHolder.getIbatisTransaction();
   
    if(transaction.isActive()){
      return methodInvocation.proceed();
View Full Code Here

Examples of org.jruby.runtime.invokedynamic.VariableSite.type()

        MethodHandle handle;

        handle = lookup.findStatic(Bootstrap.class, operation, type.insertParameterTypes(0, VariableSite.class));

        handle = handle.bindTo(site);
        site.setTarget(handle.asType(site.type()));

        return site;
    }

    public static CallSite searchConst(Lookup lookup, String name, MethodType type) {
View Full Code Here

Examples of org.jtester.annotations.SpringBeanRemote.type()

      if (StringHelper.isBlankOrNull(beanID)) {
        beanID = field.getName();
      }
      SpringBeanRemoteType type = SpringBeanRemoteType.getTypeFromURL(beanID);
      if (type == null) {
        type = springBeanRemote.type();
        beanID = type.name() + "/" + beanID;
      }

      if (beanFactory.containsBeanDefinition(beanID)) {
        JTesterLogger.info(String.format("spring bean[%s] has been defined in application context!", beanID));
View Full Code Here

Examples of org.keycloak.events.EventQuery.type()

        EventQuery query = eventStore.createQuery().realm(realm.getId());
        if (client != null) {
            query.client(client);
        }
        if (type != null) {
            query.type(EventType.valueOf(type));
        }
        if (user != null) {
            query.user(user);
        }
        if (ipAddress != null) {
View Full Code Here

Examples of org.locationtech.geogig.api.RevFeatureType.type()

            ImmutableList<PropertyDescriptor> oldDescriptors = oldRevFeatureType
                    .sortedDescriptors();
            ImmutableList<PropertyDescriptor> newDescriptors = newRevFeatureType
                    .sortedDescriptors();
            SimpleFeatureBuilder featureBuilder = new SimpleFeatureBuilder(
                    (SimpleFeatureType) newRevFeatureType.type());
            Map<Name, Optional<?>> attrs = Maps.newHashMap();
            for (int i = 0; i < oldDescriptors.size(); i++) {
                PropertyDescriptor descriptor = oldDescriptors.get(i);
                if (newDescriptors.contains(descriptor)) {
                    Optional<Object> value = values.get(i);
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.