Examples of dataType()


Examples of org.data2semantics.platform.core.data.Output.dataType()

                ReferenceInput newInput = new ReferenceInput(this, inputName, description, inputType, refOutput, false);
               
                if(domain().typeMatches(refOutput, newInput))
                  newInput.setMultiValue(false);
                else
                if(isList(refOutput.dataType())){
                  newInput.setMultiValue(true);
              }
                multiInputRefs.add(newInput);
               
          } else {
View Full Code Here

Examples of org.data2semantics.platform.core.data.Output.dataType()

                   refModule = workflow.modules.get(refModuleName);
       
        Output refOutput = refModule.output(refOutputName);
        Domain inputDomain = module.domain();
     
        DataType outputType = refOutput.dataType();
        module.addRefInput(inputName, description, refOutput, type, false, print);
       
        if(inputDomain.typeMatches(refOutput, module.input(inputName))){
          // Single reference input case
          ((ReferenceInput) module.input(inputName)).setMultiValue(false);
View Full Code Here

Examples of org.infinispan.jmx.annotations.ManagedAttribute.dataType()

               Element metric = doc.createElement("metric");
               metric.setAttribute("property", property);
               metric.setAttribute("displayName", displayName);
               metric.setAttribute("displayType", managedAttr.displayType().toString());
               metric.setAttribute("dataType", managedAttr.dataType().toString());
               metric.setAttribute("units", managedAttr.units().toString());
               metric.setAttribute("description", managedAttr.description());

               parent.appendChild(metric);
            }
View Full Code Here

Examples of org.infinispan.jmx.annotations.ManagedAttribute.dataType()

               String displayName = withNamePrefix ? "[" + mbean.objectName() + "] " + managedAttr.displayName() : managedAttr.displayName();
               validateDisplayName(displayName);
               metric.setAttribute("property", property);
               metric.setAttribute("displayName", displayName);
               metric.setAttribute("displayType", managedAttr.displayType().toString());
               metric.setAttribute("dataType", managedAttr.dataType().toString());
               metric.setAttribute("units", managedAttr.units().toString());
               metric.setAttribute("description", managedAttr.description());
               parent.appendChild(metric);
            }
         }
View Full Code Here

Examples of org.infinispan.jmx.annotations.ManagedAttribute.dataType()

               Element metric = doc.createElement("metric");
               metric.setAttribute("property", property);
               metric.setAttribute("displayName", displayName);
               metric.setAttribute("displayType", managedAttr.displayType().toString());
               metric.setAttribute("dataType", managedAttr.dataType().toString());
               metric.setAttribute("units", managedAttr.units().toString());
               metric.setAttribute("description", managedAttr.description());

               parent.appendChild(metric);
            }
View Full Code Here

Examples of org.infinispan.jmx.annotations.ManagedAttribute.dataType()

               String displayName = withNamePrefix ? "[" + mbean.objectName() + "] " + managedAttr.displayName() : managedAttr.displayName();
               validateDisplayName(displayName);
               metric.setAttribute("property", property);
               metric.setAttribute("displayName", displayName);
               metric.setAttribute("displayType", managedAttr.displayType().toString());
               metric.setAttribute("dataType", managedAttr.dataType().toString());
               metric.setAttribute("units", managedAttr.units().toString());
               metric.setAttribute("description", managedAttr.description());
               parent.appendChild(metric);
            }
         }
View Full Code Here

Examples of org.jvnet.hk2.config.Attribute.dataType()

        addAnnotationsToDescriptor(descriptor, info);
        descriptor.setField(DESC_NOT_NULL, "" + info.notNull());

        Class type = info.returnType();
        final Attribute a = info.attribute();
        if (a != null && a.dataType() != String.class && type == String.class)
        {
            // FIXME
        }

        String description = "@Attribute " + name;
View Full Code Here

Examples of org.jvnet.hk2.config.Attribute.dataType()

            Attribute a = method.getAnnotation(Attribute.class);
            Param p = method.getAnnotation(Param.class);
            if ((a != null) || (p != null)) {
                String type = "String";
                if (a != null) {
                    type = a.dataType().getName();
                }
                if (methodName.startsWith("get") || methodName.startsWith("set")) {
                    methodName = methodName.substring(3);
                }
                String fieldName = Util.lowerCaseFirstLetter(methodName);
View Full Code Here

Examples of org.jvnet.hk2.config.Attribute.dataType()

            Attribute a = method.getAnnotation(Attribute.class);
            Param p = method.getAnnotation(Param.class);
            if ((a != null) || (p != null)) {
                String type = "String";
                if (a != null) {
                    type = a.dataType().getName();
                }
                if (methodName.startsWith("get") || methodName.startsWith("set")) {
                    methodName = methodName.substring(3);
                }
                String fieldName = Util.lowerCaseFirstLetter(methodName);
View Full Code Here

Examples of org.jvnet.hk2.config.Attribute.dataType()

            Attribute a = method.getAnnotation(Attribute.class);
            Param p = method.getAnnotation(Param.class);
            if ((a != null) || (p != null)) {
                String type = "String";
                if (a != null) {
                    type = a.dataType().getName();
                }
                if (methodName.startsWith("get") || methodName.startsWith("set")) {
                    methodName = methodName.substring(3);
                }
                String fieldName = Util.lowerCaseFirstLetter(methodName);
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.