Package org.jboss.xb.annotations

Examples of org.jboss.xb.annotations.JBossXmlCollection.type()


                     {
                        JBossXmlCollection jbossXmlCollection = memberProp
                              .getUnderlyingAnnotation(JBossXmlCollection.class);
                        if (jbossXmlCollection != null)
                        {
                           memberTypeInfo = memberTypeInfo.getTypeInfoFactory().getTypeInfo(jbossXmlCollection.type());
                        }
                        memberTypeInfo = findComponentType((ClassInfo) memberTypeInfo);
                     }
                  }
                  // if it is bound with XmlElement.type to a collection
View Full Code Here


      ClassInfo collectionType = null;
      JBossXmlCollection xmlCol = propertyInfo.getUnderlyingAnnotation(JBossXmlCollection.class);
      if (xmlCol != null)
      {
         collectionType = (ClassInfo) propertyType.getTypeInfoFactory().getTypeInfo(xmlCol.type());
      }
      else if (!Modifier.isAbstract(((ClassInfo) propertyType).getModifiers()))
      {
         collectionType = (ClassInfo) propertyType;
      }
View Full Code Here

/* 1224 */       localModel = createCollection(localModel);
/*      */
/* 1226 */       JBossXmlCollection xmlCol = (JBossXmlCollection)property.getUnderlyingAnnotation(JBossXmlCollection.class);
/* 1227 */       if (xmlCol != null)
/*      */       {
/* 1230 */         propertyType = propertyType.getTypeInfoFactory().getTypeInfo(xmlCol.type());
/*      */       }
/*      */
/*      */     }
/* 1234 */     else if (!property.getType().isPrimitive())
/*      */     {
View Full Code Here

/*      */               {
/* 1373 */                 JBossXmlCollection jbossXmlCollection = (JBossXmlCollection)memberProp.getUnderlyingAnnotation(JBossXmlCollection.class);
/*      */
/* 1375 */                 if (jbossXmlCollection != null)
/*      */                 {
/* 1377 */                   memberTypeInfo = memberTypeInfo.getTypeInfoFactory().getTypeInfo(jbossXmlCollection.type());
/*      */                 }
/* 1379 */                 memberTypeInfo = findComponentType((ClassInfo)memberTypeInfo);
/*      */               }
/*      */
/*      */             }
View Full Code Here

/*     */
/*  60 */     ClassInfo collectionType = null;
/*  61 */     JBossXmlCollection xmlCol = (JBossXmlCollection)propertyInfo.getUnderlyingAnnotation(JBossXmlCollection.class);
/*  62 */     if (xmlCol != null)
/*     */     {
/*  64 */       collectionType = (ClassInfo)propertyType.getTypeInfoFactory().getTypeInfo(xmlCol.type());
/*     */     }
/*  66 */     else if (!Modifier.isAbstract(((ClassInfo)propertyType).getModifiers()))
/*     */     {
/*  68 */       collectionType = (ClassInfo)propertyType;
/*     */     }
View Full Code Here

      ClassInfo collectionType = null;
      JBossXmlCollection xmlCol = propertyInfo.getUnderlyingAnnotation(JBossXmlCollection.class);
      if (xmlCol != null)
      {
         collectionType = (ClassInfo) propertyType.getTypeInfoFactory().getTypeInfo(xmlCol.type());
      }
      else if (!Modifier.isAbstract(((ClassInfo) propertyType).getModifiers()))
      {
         collectionType = (ClassInfo) propertyType;
      }
View Full Code Here

            log.trace("Property " + property.getName() + " is a collection");
         JBossXmlCollection xmlCol = property.getUnderlyingAnnotation(JBossXmlCollection.class);
         if (xmlCol != null)
         {
            // this is the type that should be analyzed
            propertyType = propertyType.getTypeInfoFactory().getTypeInfo(xmlCol.type());
         }
         ClassInfo propertyClassInfo = (ClassInfo)propertyType;
         propertyXmlType = propertyClassInfo.getUnderlyingAnnotation(XmlType.class);
         propertyComponentType = propertyClassInfo.getComponentType();
      }
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.