Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * 
   */
  package net.officefloor.model.section;
  
  import java.util.List;
  
 
 
 @Generated("net.officefloor.model.generate.ModelGenerator")
 public class SubSectionInputModel extends AbstractModel implements ItemModel<SubSectionInputModel> {
 
     public static enum SubSectionInputEvent {
      CHANGE_SUB_SECTION_INPUT_NAME, CHANGE_PARAMETER_TYPE, CHANGE_IS_PUBLIC, CHANGE_PUBLIC_INPUT_NAME, ADD_SUB_SECTION_OUTPUT, REMOVE_SUB_SECTION_OUTPUT, ADD_SECTION_MANAGED_OBJECT_SOURCE_FLOW, REMOVE_SECTION_MANAGED_OBJECT_SOURCE_FLOW
     }

    
Default constructor.
 
     public SubSectionInputModel() {
     }

    
Convenience constructor for new non-linked instance.
 
     public SubSectionInputModel(
       String subSectionInputName
     , String parameterType
     , boolean isPublic
     , String publicInputName
     ) {
         this. = subSectionInputName;
         this. = parameterType;
         this. = isPublic;
         this. = publicInputName;
     }

    
Convenience constructor.
 
     public SubSectionInputModel(
       String subSectionInputName
     , String parameterType
     , boolean isPublic
     , String publicInputName
     , SubSectionOutputToSubSectionInputModel[] subSectionOutput
     , SectionManagedObjectSourceFlowToSubSectionInputModel[] sectionManagedObjectSourceFlow
     ) {
         this. = subSectionInputName;
         this. = parameterType;
         this. = isPublic;
         this. = publicInputName;
         if (subSectionOutput != null) {
             for (SubSectionOutputToSubSectionInputModel model : subSectionOutput) {
                 this..add(model);
             }
         }
         if (sectionManagedObjectSourceFlow != null) {
             for (SectionManagedObjectSourceFlowToSubSectionInputModel model : sectionManagedObjectSourceFlow) {
                 this..add(model);
             }
         }
     }

    
Convenience constructor allowing XY initialising.
 
     public SubSectionInputModel(
       String subSectionInputName
     , String parameterType
     , boolean isPublic
     , String publicInputName
     , SubSectionOutputToSubSectionInputModel[] subSectionOutput
     , SectionManagedObjectSourceFlowToSubSectionInputModel[] sectionManagedObjectSourceFlow
     , int x
     , int y
     ) {
         this. = subSectionInputName;
         this. = parameterType;
         this. = isPublic;
         this. = publicInputName;
         if (subSectionOutput != null) {
             for (SubSectionOutputToSubSectionInputModel model : subSectionOutput) {
                 this..add(model);
             }
         }
         if (sectionManagedObjectSourceFlow != null) {
             for (SectionManagedObjectSourceFlowToSubSectionInputModel model : sectionManagedObjectSourceFlow) {
                 this..add(model);
             }
         }
         this.setX(x);
         this.setY(y);
     }

    
Sub section input name.
    private String subSectionInputName;
    public String getSubSectionInputName() {
        return this.;
    }
    public void setSubSectionInputName(String subSectionInputName) {
        String oldValue = this.;
        this. = subSectionInputName;
    }

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

    
Is public.
    private boolean isPublic;
    public boolean getIsPublic() {
        return this.;
    }
    public void setIsPublic(boolean isPublic) {
        boolean oldValue = this.;
        this. = isPublic;
        this.changeField(oldValuethis..);
    }

    
Public input name.
    private String publicInputName;
    public String getPublicInputName() {
        return this.;
    }
    public void setPublicInputName(String publicInputName) {
        String oldValue = this.;
        this. = publicInputName;
    }


    
Sub section output.
        return this.;
    }
    public void addSubSectionOutput(SubSectionOutputToSubSectionInputModel subSectionOutput) {
        this.addItemToList(subSectionOutputthis..);
    }
    public void removeSubSectionOutput(SubSectionOutputToSubSectionInputModel subSectionOutput) {
    }

    
Section managed object source flow.
        return this.;
    }
    public void addSectionManagedObjectSourceFlow(SectionManagedObjectSourceFlowToSubSectionInputModel sectionManagedObjectSourceFlow) {
    }
    }


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