Package archmapper.main.model.architecture

Examples of archmapper.main.model.architecture.ArchitectureElement


    ImplementableArchitectureElementMapping mapping = archMapping.getComponentOrConnectorMappingByName(componentOrConnectorName);
    if (mapping != null) {
      return mapping;
    }
   
    ArchitectureElement archElem = arch.getComponentOrConnectorByName(componentOrConnectorName);
    if (archElem == null) {
      return null;
    }
   
    // we have to create a new mapping
View Full Code Here


   * @return the type, or null, if the artifact definition has no type or
   *       an invalid type.
   */
  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());
        }
      }
View Full Code Here

    Configuration conf = getArchitecture(request);
    if (styleMapping == null || conf == null) {
      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")) {
View Full Code Here

TOP

Related Classes of archmapper.main.model.architecture.ArchitectureElement

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.