Examples of TypeInfo


Examples of com.sun.enterprise.management.support.TypeInfo

    boolean  success  = true;
    final Iterator  iter    = j2eeTypes.iterator();
    while ( iter.hasNext() )
    {
      final String    j2eeType  = (String)iter.next();
      final TypeInfo  info  = infos.getInfo( j2eeType );
     
      final Class  theInterface  = info.getInterface();
      try
      {
        final String  value  =
          (String)ClassUtil.getFieldValue( theInterface, "J2EE_TYPE" );
        assert( value.equals( j2eeType ) ) :
View Full Code Here

Examples of com.sun.star.lib.uno.typeinfo.TypeInfo

  static public boolean isTypeClassSimple(TypeClass typeClass) {
    return typeClass.getValue() < __typeClassToTypeDescription.length;
  }

  static private TypeInfo []__getTypeInfos(Class zInterface) {
    TypeInfo typeInfos[] = null;

    try {
      Field field = zInterface.getField("UNOTYPEINFO");
      typeInfos = (TypeInfo[])field.get(null);
View Full Code Here

Examples of com.sun.xml.bind.v2.model.core.TypeInfo

     */
    private void addTypeName(NonElement<T, C> r) {
        QName t = r.getTypeName();
        if(t==null)     return;

        TypeInfo old = typeNames.put(t,r);
        if(old!=null) {
            // collision
            reportError(new IllegalAnnotationException(
                    Messages.CONFLICTING_XML_TYPE_MAPPING.format(r.getTypeName()),
                    old, r ));
View Full Code Here

Examples of com.sun.xml.internal.bind.v2.model.core.TypeInfo

     */
    private void addTypeName(NonElement<T, C> r) {
        QName t = r.getTypeName();
        if(t==null)     return;

        TypeInfo old = typeNames.put(t,r);
        if(old!=null) {
            // collision
            reportError(new IllegalAnnotationException(
                    Messages.CONFLICTING_XML_TYPE_MAPPING.format(r.getTypeName()),
                    old, r ));
View Full Code Here

Examples of com.sun.xml.ws.spi.db.TypeInfo

    public XMLBridge getXMLBridge() {
        return getOwner().getXMLBridge(typeInfo);
    }
   
    public XMLBridge getInlinedRepeatedElementBridge() {
        TypeInfo itemType = getItemType();
        if (itemType != null && itemType.getWrapperType() == null) {
            XMLBridge xb = getOwner().getXMLBridge(itemType);
            if (xb != null) return new RepeatedElementBridge(typeInfo, xb);
        }
        return null;
    }
View Full Code Here

Examples of com.winvector.db.DBIterable.TypeInfo

          if(firstCol) {
            firstCol = false;
          } else {
            p.print(sep);
          }
          final TypeInfo columnInfo = source.getJavaClassName(ki);
          p.print(TrivialReader.safeStr(ki) + ":" + columnInfo.sqlColumnType);
        }
        p.println();
        first = false;
      }
View Full Code Here

Examples of de.danielbechler.diff.instantiation.TypeInfo

        return String.class;
      }
    });
    when(instances.getWorking()).thenReturn("foo");
    when(instances.getBase()).thenReturn("bar");
    when(typeInfoResolver.typeInfoForNode(any(DiffNode.class))).thenReturn(new TypeInfo(Class.class));

    beanDiffer = new BeanDiffer(differDispatcher, introspectableResolver, returnableResolver, comparisonStrategyResolver, typeInfoResolver);
  }
View Full Code Here

Examples of easysm.datatypes.information.TypeInfo

   * Does not handle optional types (ClassType [0..1]).
   * Values are not synchronized. Needs a manual call to refreshFromClass.
   */
  public static Type classAsType(Class cl)
  {
    TypeInfo typeInfo = new TypeInfo(cl.name());
    return new Type(typeInfo, false, null);
  }
View Full Code Here

Examples of net.sourceforge.jtds.jdbc.TypeInfo

    public TypeInfoTest(String testName) {
        super(testName);
    }

    public void testCharTypes() {
        TypeInfo charType = new TypeInfo("char", Types.CHAR, false);
        // Following types are normalized to char
        TypeInfo nchar = new TypeInfo("nchar", -8, false);
        TypeInfo uniqueid = new TypeInfo("uniqueidentifier", -11, false);

        assertComparesLessThan(charType, nchar);
        assertComparesLessThan(nchar, uniqueid);
    }
View Full Code Here

Examples of org.adjective.syntactic.convert.j8to7.type.TypeInfo

    }

    protected TypeInfo getTypeInfo(final JavaType forType)
    {
        final String name = _importer.getQualifiedName(forType);
        final TypeInfo typeInfo = _classFinder.getClass(name, getTypeParameters(forType));
        if (typeInfo == null)
        {
            throw new ConversionException("Cannot find '" + name + "' in " + _classFinder);
        }
        return typeInfo;
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.