Package org.cruxframework.crux.core.client.dto

Examples of org.cruxframework.crux.core.client.dto.DataObject


      for (String dataObject : dataNames)
      {
        try
        {
          Class<?> dataClass = Class.forName(dataObject);
          DataObject annot = dataClass.getAnnotation(DataObject.class);
          if (dataObjects.containsKey(annot.value()))
          {
            throw new CruxGeneratorException("Duplicated DataObject found: ["+annot.value()+"].");
          }
         
          dataObjects.put(annot.value(), dataClass.getCanonicalName());
          dataObjectIdentifiers.put(annot.value(), extractIdentifiers(dataClass));
        }
        catch (ClassNotFoundException e)
        {
          logger.error("Error initializing DataObjects.",e);
        }
View Full Code Here

TOP

Related Classes of org.cruxframework.crux.core.client.dto.DataObject

Copyright © 2018 www.massapicom. 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.