Tabnine Logo
IOperationBean
Code IndexAdd Tabnine to your IDE (free)

How to use
IOperationBean
in
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.service

Best Java code snippets using com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.service.IOperationBean (Showing top 12 results out of 315)

origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected Object[] convertDataToObject(IOperationBean data) {
  
  Object[] object = new Object[5];
  
  object[0] = data.getName();
  object[1] = data.getMessageIn();
  object[2] = data.getMessageOut();
  object[3] = data.getErrors();
  object[4] = data.getWsdlImplementationRef();
  
  return object;
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void visitOperation(IOperationBean op) {
  if(op.getId().equals(this.id) && bean==null){bean = op;}
}
@Override
origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected boolean isValid(IOperationBean data) {
  
  if (data.getName()!=null && data.getName().equals("")==false && data.getMessageIn()!=null && data.getMessageOut()!=null){
    return true;
  }
  
  return false;
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public Set<IMessageBean> getMessages() {
  Set<IMessageBean> res = new HashSet<IMessageBean>();
  for (IOperationBean op : getOperations()) {
    res.add(op.getMessageIn());
    if (op.getMessageOut() != null) {
      res.add(op.getMessageOut());
    }
  }
  return res;
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-service

private Operation buildOperation(IOperationBean opBean){
  Operation op = newInstance(Operation.class);
  setDocumentationAndExtensions(op, opBean);
  op.setName(opBean.getName());
  op.setId(opBean.getId());
  
  if(opBean.getWsdlImplementationRef()!=null && !opBean.getWsdlImplementationRef().isEmpty()) {
    op.setImplementationRef(getQNameFromString(opBean.getWsdlImplementationRef()));
  }
  
  return op;
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

this.visitOperation(op);
IMessageBean msg = op.getMessageIn();
this.visitOperationMessageIn(msg,op);
msg = op.getMessageOut();
if(msg!=null){
  this.visitOperationMessageOut(msg,op);
if(op.getErrors()!=null){
  for(IErrorBean mb : op.getErrors()){
    this.visitOperationError(mb,op);
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public IOperationBean getOperationByName(String name) {
  for (IInterfaceBean itf : interfaces) {
    for (IOperationBean op : itf.getOperations()) {
      if (op.getName().equals(name)) {
        return op;
      }
    }
  }
  return null;
}
origin: com.ebmwebsourcing.petalsbpm/definitions-editor

  @Override
  protected void bind(Record record, IOperationBean value) {
    
    value.setName(record.getAsString(Operation.name.toString()));
    value.setMessageIn((IMessageBean) record.getAsObject(Operation.inMessage.toString()));
    value.setMessageOut((IMessageBean)record.getAsObject(Operation.outMessage.toString()));
//        value.setErrors(record);
//        value.setWsdlImplementationRef(ref);
    
  }

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public Set<IErrorBean> getErrors() {
  Set<IErrorBean> res = new HashSet<IErrorBean>();
  for (IOperationBean op : getOperations()) {
    if (op.getErrors() != null) {
      res.addAll(op.getErrors());
    }
  }
  return res;
}
origin: com.ebmwebsourcing.petalsbpm/definitions-editor

 private void validate(IOperationBean operationBean){
   
   
   //check if operation is ok, if yes, add it to interface				
   if (operationBean.getName()!=null && operationBean.getName().equals("")==false && operationBean.getMessageIn()!=null && operationBean.getMessageOut()!=null){
     
     if (actualInterface.getOperations().contains(operationBean)==false) actualInterface.addOperation(operationBean);
     
     //if interface is ok
     if (actualInterface.getName()!=null  && actualInterface.getName().equals("")==false ){
       
       //add interface to definitions 
       interfaceController.fireEvent(new AddInterfaceEvent(actualInterface));
       
     }
   }
   
}
 
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public IMessageBean getMessageByName(String name) {
  for (IInterfaceBean itf : interfaces) {
    for (IOperationBean op : itf.getOperations()) {
      if (op.getMessageIn().getName().equals(name)) {
        return op.getMessageIn();
      }
      if (op.getMessageOut() != null && op.getMessageOut().getName().equals(name)) {
        return op.getMessageOut();
      }
    }
  }
  return null;
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public IOperationBean getOperationById(String id) {
  for(IOperationBean op : operations){
    if(op.getId().equals(id)){
      return op;
    }
  }
  return null;
}
////////////////////////////////////////////
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.serviceIOperationBean

Most used methods

  • getName
  • getErrors
  • getId
  • getMessageIn
  • getMessageOut
  • getWsdlImplementationRef
  • setMessageIn
  • setMessageOut
  • setName

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JTable (javax.swing)
  • Top Vim plugins
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