Package archmapper.main.model.stylemapping

Examples of archmapper.main.model.stylemapping.ImplementationArtifactType


       

        if (binding.getSuperclass() != null &&
            binding.getSuperclass() != type.getAST().resolveWellKnownType("java.lang.Object")) {
          // Check Restriction.noSuperClass
          ImplementationArtifactType artifactType = mappingHelper.getTypeOf(artifactDef);
          if (artifactType != null && artifactType instanceof ClassType) {
            ClassType classType = (ClassType) artifactType;
            if (classType.getRestrictions().contains(ClassTypeRestriction.noSuperclass)) {
              generateResultsForASTNode(history, type, resource,
                  "The type "+ binding.getQualifiedName() + " should "+
View Full Code Here


      if (type != null) {
        if (typeMapping == null) {
          archMappingErrors.add("A "+ artifactType +" type was defined ("+ type +") although there is no style "+
              "mapping for the containing "+ implDef.getParent().getName()+ ".");
        } else {
          ImplementationArtifactType artType = typeMapping.getImplementationArtifactType(type);
         
          if (artType == null) {
            archMappingErrors.add("A "+ artifactType +" type with the type name "+ type +
                " does not exist in the style mapping.");
          }
View Full Code Here

  public List<String> getSuperInterfaces(ImplementationArtifactDefinition artifactDefinition) {
    List<String> interfaces = new ArrayList<String>();
   
    interfaces.addAll(artifactDefinition.getSuperInterfaces());
   
    ImplementationArtifactType type = getTypeOf(artifactDefinition);
    if (type != null) {
      interfaces.addAll(type.getSuperInterfaces());
    }
   
    return interfaces;
  }
View Full Code Here

      ClassDefinition classDef = (ClassDefinition) artifactDefinition;
      if (classDef.getSuperClass() != null) {
        return classDef.getSuperClass();
      }
     
      ImplementationArtifactType type = getTypeOf(artifactDefinition);
      if (type != null && type instanceof ClassType) {
        return ((ClassType) type).getSuperClass();
      }
    }
   
View Full Code Here

TOP

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

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.