Package fr.imag.adele.apam.maven.plugin

Examples of fr.imag.adele.apam.maven.plugin.ApamCapability


      ApamCapability entCap, Validator validator) {
    /*
     * add the attribute coming from "above" if not already instantiated and
     * heritable
     */
    ApamCapability group = entCap.getGroup();
    if (group != null && group.getProperties() != null) {
      if (group.getKind().equals(ComponentKind.IMPLEMENTATION)
          && !group.getProperties().containsKey(CST.IMPLNAME)) {
        group.putAttr(CST.IMPLNAME, group.getName(),validator);
      }
      group.freeze();
      for (String prop : group.getProperties().keySet()) {
        if (ret.get(prop) == null
            && Attribute.isInheritedAttribute(prop)) {
          ret.put(prop, group.getProperties().get(prop));
        }
      }
    }
    return group;
  }
View Full Code Here

TOP

Related Classes of fr.imag.adele.apam.maven.plugin.ApamCapability

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.