Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * 
   */
  package net.officefloor.model.office;
  
  
 
 @Generated("net.officefloor.model.generate.ModelGenerator")
 
     public static enum OfficeEscalationToOfficeSectionInputEvent {
      CHANGE_OFFICE_SECTION_NAME, CHANGE_OFFICE_SECTION_INPUT_NAME, CHANGE_OFFICE_ESCALATION, CHANGE_OFFICE_SECTION_INPUT
     }

    
Default constructor.
 
     }

    
Convenience constructor for new non-linked instance.
 
       String officeSectionName
     , String officeSectionInputName
     ) {
         this. = officeSectionName;
         this. = officeSectionInputName;
     }

    
Convenience constructor.
 
       String officeSectionName
     , String officeSectionInputName
     , OfficeEscalationModel officeEscalation
     , OfficeSectionInputModel officeSectionInput
     ) {
         this. = officeSectionName;
         this. = officeSectionInputName;
         this. = officeEscalation;
         this. = officeSectionInput;
     }

    
Convenience constructor allowing XY initialising.
 
       String officeSectionName
     , String officeSectionInputName
     , OfficeEscalationModel officeEscalation
     , OfficeSectionInputModel officeSectionInput
     , int x
     , int y
     ) {
         this. = officeSectionName;
         this. = officeSectionInputName;
         this. = officeEscalation;
         this. = officeSectionInput;
         this.setX(x);
         this.setY(y);
     }

    
Office section name.
 
     private String officeSectionName;
 
     public String getOfficeSectionName() {
         return this.;
     }
 
     public void setOfficeSectionName(String officeSectionName) {
         String oldValue = this.;
         this. = officeSectionName;
     }

    
Office section input name.
 
     private String officeSectionInputName;
 
     public String getOfficeSectionInputName() {
         return this.;
     }
 
     public void setOfficeSectionInputName(String officeSectionInputName) {
         String oldValue = this.;
         this. = officeSectionInputName;
     }

    
Office escalation.
        return this.;
    }
    public void setOfficeEscalation(OfficeEscalationModel officeEscalation) {
        OfficeEscalationModel oldValue = this.;
        this. = officeEscalation;
    }

    
Office section input.
        return this.;
    }
    public void setOfficeSectionInput(OfficeSectionInputModel officeSectionInput) {
        OfficeSectionInputModel oldValue = this.;
        this. = officeSectionInput;
    }
    /*
     * ConnectionModel
     */
    public boolean isRemovable() {
        return true;
    }
    public void connect() {
        this..setOfficeSectionInput(this);
        this..addOfficeEscalation(this);
    }
    public void remove() {
        this..setOfficeSectionInput(null);
        this..removeOfficeEscalation(this);
    }
New to GrepCode? Check out our FAQ X