Examples of TextContext


Examples of org.uengine.contexts.TextContext

    }

  TextContext displayName = TextContext.createInstance()
    public TextContext getDisplayName(){
      if(displayName.getText()==null){
        TextContext result = TextContext.createInstance();
        result.setText(getName());
        return result;
      }
     
      return displayName;
   
View Full Code Here

Examples of org.uengine.contexts.TextContext

  TextContext name;
    public TextContext getName() {
      return name;
    }
    public void setName(TextContext name) {
      TextContext oldName = this.name;
      this.name = name;
     
      //TODO All the properties should be coded like this
      firePropertyChangeEvent(new PropertyChangeEvent(this, "name", oldName, name));
    }
View Full Code Here

Examples of org.uengine.contexts.TextContext

      //TODO All the properties should be coded like this
      firePropertyChangeEvent(new PropertyChangeEvent(this, "name", oldName, name));
    }
    public void setName(String name) {
      if(getName()==null){
        TextContext textCtx = TextContext.createInstance(getProcessDefinition());
        setName(textCtx);   
      }
     
      getName().setText(name);
    }
View Full Code Here

Examples of org.uengine.contexts.TextContext

         TransformerArgument source = (TransformerArgument) linkedPair.getSource();
         Record target = (Record) linkedPair.getTarget();
        
         paramContext = new MappingElement();

         TextContext argumentText = TextContext.createInstance();
         argumentText.setText(target.getReferenceName());
         paramContext.setArgument(argumentText);
        
         ((MappingElement)paramContext).setKey(Record.KEY == target.getKeyType());
         //paramContext.setVariable(ProcessVariable.forName(source.getReferenceName()));
        
         if(target.getExtendedProperties()!=null && target.getExtendedProperties().containsKey("type")){
           paramContext.setType((Class)target.getExtendedProperties().get("type"));
         }
        
         source.getTransformer().beforeSerialization();
        
         TransformerMapping transformerMapping = new TransformerMapping();
         transformerMapping.setTransformer(source.getTransformer());
         transformerMapping.setLinkedArgumentName(source.getName());
        
         paramContext.setTransformerMapping(transformerMapping);
        
       }else if (linkedPair.getSource() instanceof Record && linkedPair.getTarget() instanceof Record){
      
        
         Record source = (Record) linkedPair.getSource();
         Record target = (Record) linkedPair.getTarget();
        
         paramContext = new MappingElement();
         TextContext argumentText = TextContext.createInstance();
         argumentText.setText(target.getReferenceName());
         paramContext.setArgument(argumentText);
         paramContext.setVariable(ProcessVariable.forName(source.getReferenceName()));
         ((MappingElement)paramContext).setKey(Record.KEY == target.getKeyType());
        
         if(target.getExtendedProperties()!=null && target.getExtendedProperties().containsKey("type")){
View Full Code Here

Examples of org.uengine.contexts.TextContext

      public String getName() {
        return getDisplayName().getText();
      }

      public TextContext getDisplayName() {
        TextContext tc = TextContext.createInstance();

        tc.setText(createApproverRoleName());
        return tc;
      }

      public RoleMapping getMapping(ProcessInstance inst, String tracingTag) throws Exception {
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.