Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * 
   */
  package net.officefloor.model.desk;
  
  
 
 @Generated("net.officefloor.model.generate.ModelGenerator")
 public class TaskFlowModel extends AbstractModel implements ItemModel<TaskFlowModel> {
 
     public static enum TaskFlowEvent {
      CHANGE_FLOW_NAME, CHANGE_KEY, CHANGE_ARGUMENT_TYPE, CHANGE_EXTERNAL_FLOW, CHANGE_TASK
     }

    
Default constructor.
 
     public TaskFlowModel() {
     }

    
Convenience constructor for new non-linked instance.
 
     public TaskFlowModel(
       String flowName
     , String key
     , String argumentType
     ) {
         this. = flowName;
         this. = key;
         this. = argumentType;
     }

    
Convenience constructor.
 
     public TaskFlowModel(
       String flowName
     , String key
     , String argumentType
     , TaskFlowToExternalFlowModel externalFlow
     , TaskFlowToTaskModel task
     ) {
         this. = flowName;
         this. = key;
         this. = argumentType;
         this. = externalFlow;
         this. = task;
     }

    
Convenience constructor allowing XY initialising.
 
     public TaskFlowModel(
       String flowName
     , String key
     , String argumentType
     , TaskFlowToExternalFlowModel externalFlow
     , TaskFlowToTaskModel task
     , int x
     , int y
     ) {
         this. = flowName;
         this. = key;
         this. = argumentType;
         this. = externalFlow;
         this. = task;
         this.setX(x);
         this.setY(y);
     }

    
Flow name.
 
     private String flowName;
 
     public String getFlowName() {
         return this.;
     }
 
     public void setFlowName(String flowName) {
         String oldValue = this.;
         this. = flowName;
         this.changeField(oldValuethis..);
     }

    
Key.
 
     private String key;
 
     public String getKey() {
         return this.;
     }
 
    public void setKey(String key) {
        String oldValue = this.;
        this. = key;
        this.changeField(oldValuethis..);
    }

    
Argument type.
    private String argumentType;
    public String getArgumentType() {
        return this.;
    }
    public void setArgumentType(String argumentType) {
        String oldValue = this.;
        this. = argumentType;
        this.changeField(oldValuethis..);
    }

    
External flow.
        return this.;
    }
    public void setExternalFlow(TaskFlowToExternalFlowModel externalFlow) {
        TaskFlowToExternalFlowModel oldValue = this.;
        this. = externalFlow;
        this.changeField(oldValuethis..);
    }

    
Task.
    private TaskFlowToTaskModel task;
    public TaskFlowToTaskModel getTask() {
        return this.;
    }
    public void setTask(TaskFlowToTaskModel task) {
        TaskFlowToTaskModel oldValue = this.;
        this. = task;
        this.changeField(oldValuethis..);
    }



    
Remove Connections.
        _action.disconnect(this.);
        _action.disconnect(this.);
        return _action;
    }
New to GrepCode? Check out our FAQ X