Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * 
   */
  package net.officefloor.model.office;
  
  import java.util.List;
  
 
 
 @Generated("net.officefloor.model.generate.ModelGenerator")
 
     public static enum OfficeSectionResponsibilityEvent {
      CHANGE_OFFICE_SECTION_RESPONSIBILITY_NAME, CHANGE_OFFICE_TEAM, ADD_OFFICE_SECTION_RESPONSIBILITY_OBJECT, REMOVE_OFFICE_SECTION_RESPONSIBILITY_OBJECT
     }

    
Default constructor.
 
     public OfficeSectionResponsibilityModel() {
     }

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

    
Convenience constructor.
 
       String officeSectionResponsibilityName
     , OfficeSectionResponsibilityObjectModel[] officeSectionResponsibilityObject
     ) {
         this. = officeSectionResponsibilityName;
         this. = officeTeam;
         if (officeSectionResponsibilityObject != null) {
             for (OfficeSectionResponsibilityObjectModel model : officeSectionResponsibilityObject) {
                 this..add(model);
             }
         }
     }

    
Convenience constructor allowing XY initialising.
 
       String officeSectionResponsibilityName
     , OfficeSectionResponsibilityObjectModel[] officeSectionResponsibilityObject
     , int x
     , int y
     ) {
         this. = officeSectionResponsibilityName;
         this. = officeTeam;
         if (officeSectionResponsibilityObject != null) {
             for (OfficeSectionResponsibilityObjectModel model : officeSectionResponsibilityObject) {
                 this..add(model);
             }
         }
         this.setX(x);
         this.setY(y);
     }

    
Office section responsibility name.
 
 
         return this.;
     }
 
     public void setOfficeSectionResponsibilityName(String officeSectionResponsibilityName) {
         String oldValue = this.;
         this. = officeSectionResponsibilityName;
     }

    
Office team.
 
 
         return this.;
     }
 
     public void setOfficeTeam(OfficeSectionResponsibilityToOfficeTeamModel officeTeam) {
        this. = officeTeam;
    }


    
Office section responsibility object.
        return this.;
    }
    public void addOfficeSectionResponsibilityObject(OfficeSectionResponsibilityObjectModel officeSectionResponsibilityObject) {
    }
    public void removeOfficeSectionResponsibilityObject(OfficeSectionResponsibilityObjectModel officeSectionResponsibilityObject) {
    }


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