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 static enum SectionManagedObjectEvent {
      CHANGE_SECTION_MANAGED_OBJECT_NAME, CHANGE_MANAGED_OBJECT_SCOPE, CHANGE_SECTION_MANAGED_OBJECT_SOURCE, ADD_SUB_SECTION_OBJECT, REMOVE_SUB_SECTION_OBJECT, ADD_SECTION_MANAGED_OBJECT_DEPENDENCY, REMOVE_SECTION_MANAGED_OBJECT_DEPENDENCY, ADD_DEPENDENT_SECTION_MANAGED_OBJECT, REMOVE_DEPENDENT_SECTION_MANAGED_OBJECT
     }

    
Default constructor.
 
     public SectionManagedObjectModel() {
     }

    
Convenience constructor for new non-linked instance.
 
     public SectionManagedObjectModel(
       String sectionManagedObjectName
     , String managedObjectScope
     ) {
         this. = sectionManagedObjectName;
         this. = managedObjectScope;
     }

    
Convenience constructor.
 
     public SectionManagedObjectModel(
       String sectionManagedObjectName
     , String managedObjectScope
     , SectionManagedObjectToSectionManagedObjectSourceModel sectionManagedObjectSource
     , SubSectionObjectToSectionManagedObjectModel[] subSectionObject
     , SectionManagedObjectDependencyModel[] sectionManagedObjectDependency
     , SectionManagedObjectDependencyToSectionManagedObjectModel[] dependentSectionManagedObject
     ) {
         this. = sectionManagedObjectName;
         this. = managedObjectScope;
         this. = sectionManagedObjectSource;
         if (subSectionObject != null) {
             for (SubSectionObjectToSectionManagedObjectModel model : subSectionObject) {
                 this..add(model);
             }
         }
         if (sectionManagedObjectDependency != null) {
             for (SectionManagedObjectDependencyModel model : sectionManagedObjectDependency) {
                 this..add(model);
             }
         }
         if (dependentSectionManagedObject != null) {
             for (SectionManagedObjectDependencyToSectionManagedObjectModel model : dependentSectionManagedObject) {
                 this..add(model);
             }
         }
     }

    
Convenience constructor allowing XY initialising.
 
     public SectionManagedObjectModel(
       String sectionManagedObjectName
     , String managedObjectScope
     , SectionManagedObjectToSectionManagedObjectSourceModel sectionManagedObjectSource
     , SubSectionObjectToSectionManagedObjectModel[] subSectionObject
     , SectionManagedObjectDependencyModel[] sectionManagedObjectDependency
     , SectionManagedObjectDependencyToSectionManagedObjectModel[] dependentSectionManagedObject
     , int x
     , int y
     ) {
         this. = sectionManagedObjectName;
         this. = managedObjectScope;
         this. = sectionManagedObjectSource;
         if (subSectionObject != null) {
             for (SubSectionObjectToSectionManagedObjectModel model : subSectionObject) {
                 this..add(model);
             }
         }
         if (sectionManagedObjectDependency != null) {
             for (SectionManagedObjectDependencyModel model : sectionManagedObjectDependency) {
                 this..add(model);
             }
         }
         if (dependentSectionManagedObject != null) {
             for (SectionManagedObjectDependencyToSectionManagedObjectModel model : dependentSectionManagedObject) {
                 this..add(model);
             }
        }
        this.setX(x);
        this.setY(y);
    }

    
Section managed object name.
        return this.;
    }
    public void setSectionManagedObjectName(String sectionManagedObjectName) {
        String oldValue = this.;
        this. = sectionManagedObjectName;
    }

    
Managed object scope.
    private String managedObjectScope;
    public String getManagedObjectScope() {
        return this.;
    }
    public void setManagedObjectScope(String managedObjectScope) {
        String oldValue = this.;
        this. = managedObjectScope;
    }

    
Section managed object source.
        return this.;
    }
        this. = sectionManagedObjectSource;
    }


    
Sub section object.
        return this.;
    }
    public void addSubSectionObject(SubSectionObjectToSectionManagedObjectModel subSectionObject) {
    }
    }

    
Section managed object dependency.
        return this.;
    }
    public void addSectionManagedObjectDependency(SectionManagedObjectDependencyModel sectionManagedObjectDependency) {
    }
    public void removeSectionManagedObjectDependency(SectionManagedObjectDependencyModel sectionManagedObjectDependency) {
    }

    
Dependent section managed object.
        return this.;
    }
    }
    }


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