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 class OfficeSectionInputModel extends AbstractModel implements ItemModel<OfficeSectionInputModel> {
 
     public static enum OfficeSectionInputEvent {
      CHANGE_OFFICE_SECTION_INPUT_NAME, CHANGE_PARAMETER_TYPE, ADD_OFFICE_SECTION_OUTPUT, REMOVE_OFFICE_SECTION_OUTPUT, ADD_OFFICE_MANAGED_OBJECT_SOURCE_FLOW, REMOVE_OFFICE_MANAGED_OBJECT_SOURCE_FLOW, ADD_OFFICE_ESCALATION, REMOVE_OFFICE_ESCALATION
     }

    
Default constructor.
 
     public OfficeSectionInputModel() {
     }

    
Convenience constructor for new non-linked instance.
 
     public OfficeSectionInputModel(
       String officeSectionInputName
     , String parameterType
     ) {
         this. = officeSectionInputName;
         this. = parameterType;
     }

    
Convenience constructor.
 
     public OfficeSectionInputModel(
       String officeSectionInputName
     , String parameterType
     , OfficeSectionOutputToOfficeSectionInputModel[] officeSectionOutput
     , OfficeManagedObjectSourceFlowToOfficeSectionInputModel[] officeManagedObjectSourceFlow
     , OfficeEscalationToOfficeSectionInputModel[] officeEscalation
     ) {
         this. = officeSectionInputName;
         this. = parameterType;
         if (officeSectionOutput != null) {
             for (OfficeSectionOutputToOfficeSectionInputModel model : officeSectionOutput) {
                 this..add(model);
             }
         }
         if (officeManagedObjectSourceFlow != null) {
             for (OfficeManagedObjectSourceFlowToOfficeSectionInputModel model : officeManagedObjectSourceFlow) {
                 this..add(model);
             }
         }
         if (officeEscalation != null) {
             for (OfficeEscalationToOfficeSectionInputModel model : officeEscalation) {
                 this..add(model);
             }
         }
     }

    
Convenience constructor allowing XY initialising.
 
     public OfficeSectionInputModel(
       String officeSectionInputName
     , String parameterType
     , OfficeSectionOutputToOfficeSectionInputModel[] officeSectionOutput
     , OfficeManagedObjectSourceFlowToOfficeSectionInputModel[] officeManagedObjectSourceFlow
     , OfficeEscalationToOfficeSectionInputModel[] officeEscalation
     , int x
     , int y
     ) {
         this. = officeSectionInputName;
         this. = parameterType;
         if (officeSectionOutput != null) {
             for (OfficeSectionOutputToOfficeSectionInputModel model : officeSectionOutput) {
                 this..add(model);
             }
         }
         if (officeManagedObjectSourceFlow != null) {
             for (OfficeManagedObjectSourceFlowToOfficeSectionInputModel model : officeManagedObjectSourceFlow) {
                 this..add(model);
             }
         }
         if (officeEscalation != null) {
             for (OfficeEscalationToOfficeSectionInputModel model : officeEscalation) {
                 this..add(model);
             }
         }
         this.setX(x);
         this.setY(y);
     }

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

    
Parameter type.
    private String parameterType;
    public String getParameterType() {
        return this.;
    }
    public void setParameterType(String parameterType) {
        String oldValue = this.;
        this. = parameterType;
    }


    
Office section output.
        return this.;
    }
    public void addOfficeSectionOutput(OfficeSectionOutputToOfficeSectionInputModel officeSectionOutput) {
    }
    public void removeOfficeSectionOutput(OfficeSectionOutputToOfficeSectionInputModel officeSectionOutput) {
    }

    
Office managed object source flow.
        return this.;
    }
    }
    }

    
Office escalation.
        return this.;
    }
    public void addOfficeEscalation(OfficeEscalationToOfficeSectionInputModel officeEscalation) {
        this.addItemToList(officeEscalationthis..);
    }
    public void removeOfficeEscalation(OfficeEscalationToOfficeSectionInputModel officeEscalation) {
    }


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