Package archmapper.main.model.stylemapping

Examples of archmapper.main.model.stylemapping.PortTypeMapping


    if (portMapping != null &&
        portMapping.getExport() == PortMappingOption.all) {
      return true;
    }
   
    PortTypeMapping portTypeMapping = styleMapping.getPortTypeMapping(port.getStyleType());
    if (portTypeMapping != null) {
      if (portTypeMapping.getExport() == PortTypeExportOption.all) {
        return true;
      } else if (portTypeMapping.getExport() == PortTypeExportOption.none) {
        return false;
      } else if (classDef != null) {
        if (portTypeMapping.isExportedType(classDef.getType())) {
          return true;
        }
      }
    }
   
View Full Code Here


    if (portMapping != null &&
        portMapping.getUse() == PortMappingOption.all) {
      return true;
    }
   
    PortTypeMapping portTypeMapping = styleMapping.getPortTypeMapping(port.getStyleType());

    if (portTypeMapping != null) {
      if (portTypeMapping.getUsingClasses() == PortTypeExportOption.all) {
        return true;
      } else if (portTypeMapping.getUsingClasses() == PortTypeExportOption.none) {
        return false;
      } else if (classDef != null) {
        // look if the class type is a using class type...
        if (portTypeMapping.isUsingType(classDef.getType())) {
          return true;
        }
      }
    }
   
View Full Code Here

    ClassType classType = new ClassType();
    compT2Mapping.getClassTypes().add(classType);
    classType.setTypeName("ClassType2");
    classType.setSingleton(true);
   
    PortTypeMapping ptMapping = new PortTypeMapping();
    styleMapping.getPortTypeMapping().add(ptMapping);
    ptMapping.setTypeName("PortType2");
    ptMapping.getExportedTypes().add(classType);
    //ptMapping.setExport(PortTypeExportOption.all);
   
    RoleTypeMapping rtMapping1 = new RoleTypeMapping();
    styleMapping.getRoleTypeMapping().add(rtMapping1);
    rtMapping1.setTypeName("CalleeRole");
View Full Code Here

TOP

Related Classes of archmapper.main.model.stylemapping.PortTypeMapping

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.