Package archmapper.main.model.stylemapping

Examples of archmapper.main.model.stylemapping.ImplementableTypeMapping


    }
   
  }
 
  protected void checkInvalidNamesInComponentAndConnectorMappings(ImplementableArchitectureElementMapping mapping) {
    ImplementableTypeMapping typeMapping = null;
   
    if (styleMapping != null) {
      if (mapping instanceof ComponentMapping) {
        Component comp = arch.getComponentByName(mapping.getName());
        typeMapping = styleMapping.getComponentType(comp.getStyleType());
View Full Code Here


   */
  public ImplementationArtifactType getTypeOf(ImplementationArtifactDefinition artifactDefinition) {
    if (artifactDefinition.getType() != null) {
      ArchitectureElement archElem = arch.getComponentOrConnectorByName(artifactDefinition.getParent().getName());
      if (archElem != null) {
        ImplementableTypeMapping typeMapping = styleMapping.getImplementableTypeMapping(archElem.getStyleType());

        if (typeMapping != null) {
          return typeMapping.getImplementationArtifactType(artifactDefinition.getType());
        }
      }
    }
   
    return null;
View Full Code Here

      return;
    }
   
    ArchitectureElement archElem = getParentComponentOrConnector(request.getNode(), conf);
    if (archElem != null) {
      ImplementableTypeMapping typeMapping = styleMapping.getImplementableTypeMapping(archElem.getStyleType());
     
      if (typeMapping != null) {
        List<? extends ImplementationArtifactType> types = typeMapping.getClassTypes();
       
        if (artifactType.equals("interfaceDefinition")) {
          types = typeMapping.getInterfaceTypes();
        } else if (artifactType.equals("fileDefinition")) {
          types = typeMapping.getFileTypes();
        }
       
        for (ImplementationArtifactType type : types) {
          addAttributeProposal(type.getTypeName(), request);
        }
View Full Code Here

        }
      }
     
      MappingHelper mappingHelper = new MappingHelper(model);

      ImplementableTypeMapping typeMapping = styleMapping
          .getImplementableTypeMapping(archElem.getStyleType());
      ImplementableArchitectureElementMapping archElemMapping = archMapping.getComponentOrConnectorMappingByName(archElem
          .getName());

      if (archElemMapping != null) {
View Full Code Here

TOP

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

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.