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 TaskEscalationModel extends AbstractModel implements ItemModel<TaskEscalationModel> {
 
     public static enum TaskEscalationEvent {
      CHANGE_ESCALATION_TYPE, CHANGE_TASK, CHANGE_EXTERNAL_FLOW
     }

    
Default constructor.
 
     public TaskEscalationModel() {
     }

    
Convenience constructor for new non-linked instance.
 
     public TaskEscalationModel(
       String escalationType
     ) {
         this. = escalationType;
     }

    
Convenience constructor.
 
     public TaskEscalationModel(
       String escalationType
     , TaskEscalationToTaskModel task
     , TaskEscalationToExternalFlowModel externalFlow
     ) {
         this. = escalationType;
         this. = task;
         this. = externalFlow;
     }

    
Convenience constructor allowing XY initialising.
 
     public TaskEscalationModel(
       String escalationType
     , TaskEscalationToTaskModel task
     , TaskEscalationToExternalFlowModel externalFlow
     , int x
     , int y
     ) {
         this. = escalationType;
         this. = task;
         this. = externalFlow;
         this.setX(x);
         this.setY(y);
     }

    
Escalation type.
 
     private String escalationType;
 
     public String getEscalationType() {
         return this.;
     }
 
     public void setEscalationType(String escalationType) {
         String oldValue = this.;
         this. = escalationType;
         this.changeField(oldValuethis..);
     }

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

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



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