Tabnine Logo
AttributeExtension.getAttributeQNameLocalPart
Code IndexAdd Tabnine to your IDE (free)

How to use
getAttributeQNameLocalPart
method
in
com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.extension.client.AttributeExtension

Best Java code snippets using com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.extension.client.AttributeExtension.getAttributeQNameLocalPart (Showing top 6 results out of 315)

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public AttributeExtension getAttributeExtension(String ns, String lp){
  for(AttributeExtension att : attributeExtensions){
    if(att.getAttributeQNameNS().equals(ns) && att.getAttributeQNameLocalPart().equals(lp)){
      return att;
    }
  }
  return null;
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public AttributeExtension getAttributeExtension(String ns, String lp){
  for(AttributeExtension att : attributeExtensions){
    if(att.getAttributeQNameNS().equals(ns) && att.getAttributeQNameLocalPart().equals(lp)){
      return att;
    }
  }
  return null;
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public void addAttributeExtension(AttributeExtension att){
  for(AttributeExtension a : attributeExtensions){
    if(a.hasSameErasure(att)){
      throw new IllegalArgumentException(
          "This element ("+id+") already has an attribute with QName "
          +a.getAttributeQNameNS()+":"+a.getAttributeQNameLocalPart()+".");
    }
  }
  this.attributeExtensions.add(att);
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public void addAttributeExtension(AttributeExtension att){
  for(AttributeExtension a : attributeExtensions){
    if(a.hasSameErasure(att)){
      String qname = a.getAttributeQNameNS()+":"+a.getAttributeQNameLocalPart();
      throw new IllegalArgumentException(
          "This element ("+id+") already has an attribute with QName "+qname+".");
    }
  }
  this.attributeExtensions.add(att);
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-service

private void adaptAttributeExtensions(WithOtherAttributes element, WithAttributeExtension bean){
  for(AttributeExtension att : bean.getAttributeExtensions()){
    element.addOtherAttribute(new QName(att.getAttributeQNameNS(), att.getAttributeQNameLocalPart()), att.getAttributeValue());
  }
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-service

  private static void adaptExtensions(IDiagramElement bean, DiagramElement elt){
    if(!bean.getObjectExtensions().isEmpty()){
      Extension ee = objectFactory.create(Extension.class);
      for(ObjectExtension obj : bean.getObjectExtensions()){
        ee.addAnyXmlObject(bindingManager.clientToServer(obj));
      }
      elt.setExtension(ee);
    }
    
    for(AttributeExtension att : bean.getAttributeExtensions()){
      elt.addOtherAttribute(new QName(att.getAttributeQNameNS(), att.getAttributeQNameLocalPart()), att.getAttributeValue());
    }
  }
}
com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.extension.clientAttributeExtensiongetAttributeQNameLocalPart

Popular methods of AttributeExtension

  • getAttributeQNameNS
  • hasSameErasure
  • <init>
  • getAttributeValue

Popular in Java

  • Running tasks concurrently on multiple threads
  • findViewById (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JOptionPane (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now