Examples of adjustJavaClass()


Examples of org.dmd.dms.ClassDefinition.adjustJavaClass()

    Iterator<ClassDefinition> cdefs = sd.getClassDefList();
   
    if (cdefs != null){
      while(cdefs.hasNext()){
        ClassDefinition cd = cdefs.next();
        cd.adjustJavaClass();
       
        if (cd.getDMWPackage() == null){
          ResultException ex = new ResultException();
          ex.addError("The " + cd.getDefinedIn().getName() + " schema must define the dmwPackage attribute to facilitate wrapper creation.");
          ex.result.lastResult().fileName(cd.getDefinedIn().getFile());
View Full Code Here

Examples of org.dmd.dms.ClassDefinition.adjustJavaClass()

        if (cd.generateWrapper(genContext) == false){
//          DebugInfo.debug("Skipping " + cd.getName() + " for context " + genContext);
          continue;
        }
       
        cd.adjustJavaClass(genContext,genSuffix);
       
        if (cd.getClassType() == ClassTypeEnum.AUXILIARY){
          createIfRequired(auxwdir);
          dumpAUX(cd, auxwdir);
        }
View Full Code Here

Examples of org.dmd.dms.ClassDefinition.adjustJavaClass()

    Iterator<ClassDefinition> cdefs = sd.getClassDefList();
   
    if (cdefs != null){
      while(cdefs.hasNext()){
        ClassDefinition cd = cdefs.next();
        cd.adjustJavaClass(genContext,genSuffix);
       
        if (cd.getClassType() == ClassTypeEnum.AUXILIARY){
          createIfRequired(auxwdir);
          dumpAUX(cd, auxwdir);
        }
View Full Code Here

Examples of org.dmd.dms.ClassDefinition.adjustJavaClass()

        if (cd.generateWrapper(genContext) == false){
//          DebugInfo.debug("Skipping " + cd.getName() + " for context " + genContext);
          continue;
        }
       
        cd.adjustJavaClass(genContext,genSuffix);
       
        if (cd.getClassType() == ClassTypeEnum.AUXILIARY){
//          createIfRequired(auxwdir);
          dumpAUX(cd, dmwdir);
        }
View Full Code Here

Examples of org.dmd.dms.TypeDefinition.adjustJavaClass()

     
      if (td.getIsRefType()){
        if (useWrappedObjectRefs){
          // We have to make some adjustments to handle the fact that we
          // may not be generating this code in the same location as the DMOs
          td.adjustJavaClass();
         
          addImport(uniqueImports, longestImport, td.getAuxHolderImport(), "Is reference type aux");
         
          // If this is multi-valued, we don't need the REF because we're returning the Iterable
          if (ta.valueType == ValueTypeEnum.SINGLE){
View Full Code Here

Examples of org.dmd.dms.TypeDefinition.adjustJavaClass()

      TypeDefinition td = ta.td;
     
      if (td.getIsRefType()){
        // We have to make some adjustments to handle the fact that we
        // may not be generating this code in the same location as the DMOs
        td.adjustJavaClass();
       
        addImport(uniqueImports, longestImport, td.getAuxHolderImport(), "Is reference type aux");
       
        // If this is multi-valued, we don't need the REF because we're returning the Iterable
        if (ta.valueType == ValueTypeEnum.SINGLE){
View Full Code Here

Examples of org.dmd.dms.TypeDefinition.adjustJavaClass()

      TypeDefinition td = ta.td;
     
      if (td.getIsRefType()){
        // We have to make some adjustments to handle the fact that we
        // may not be generating this code in the same location as the DMOs
        td.adjustJavaClass();
       
        addImport(uniqueImports, longestImport, td.getAuxHolderImport(), "Is reference type aux");
       
        // If this is multi-valued, we don't need the REF because we're returning the Iterable
        if (ta.valueType == ValueTypeEnum.SINGLE){
View Full Code Here

Examples of org.dmd.dms.TypeDefinition.adjustJavaClass()

     
      if (td.getIsRefType()){
        if (useWrappedObjectRefs){
          // We have to make some adjustments to handle the fact that we
          // may not be generating this code in the same location as the DMOs
          td.adjustJavaClass();
         
          if (td.getIsExtendedRefType() && ta.valueType == ValueTypeEnum.SINGLE){
            // no need to import the ref type
          }
          else
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.