Package org.openiaml.model.model

Examples of org.openiaml.model.model.NamedElement.eContainingFeature()


   */
  public String formatElement(EObject element) {
    if (element instanceof NamedElement) {
      NamedElement ne = (NamedElement) element;
      if (ne instanceof Event && ne.getName() == null) {
        return ne.eClass().getName() + " " + ne.eContainingFeature().getName();
      } else {
        return ne.eClass().getName() + " '" + ne.getName() + "'";
      }
    }
    return element.toString();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.