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 ExternalManagedObjectEvent {
      CHANGE_EXTERNAL_MANAGED_OBJECT_NAME, CHANGE_OBJECT_TYPE, ADD_OFFICE_SECTION_OBJECT, REMOVE_OFFICE_SECTION_OBJECT, ADD_DEPENDENT_OFFICE_MANAGED_OBJECT, REMOVE_DEPENDENT_OFFICE_MANAGED_OBJECT, ADD_DEPENDENT_OFFICE_INPUT_MANAGED_OBJECT, REMOVE_DEPENDENT_OFFICE_INPUT_MANAGED_OBJECT, ADD_ADMINISTRATOR, REMOVE_ADMINISTRATOR
     }

    
Default constructor.
 
     public ExternalManagedObjectModel() {
     }

    
Convenience constructor for new non-linked instance.
 
     public ExternalManagedObjectModel(
       String externalManagedObjectName
     , String objectType
     ) {
         this. = externalManagedObjectName;
         this. = objectType;
     }

    
Convenience constructor.
 
     public ExternalManagedObjectModel(
       String externalManagedObjectName
     , String objectType
     , OfficeSectionObjectToExternalManagedObjectModel[] officeSectionObject
     , OfficeManagedObjectDependencyToExternalManagedObjectModel[] dependentOfficeManagedObject
     , OfficeInputManagedObjectDependencyToExternalManagedObjectModel[] dependentOfficeInputManagedObject
     , ExternalManagedObjectToAdministratorModel[] administrator
     ) {
         this. = externalManagedObjectName;
         this. = objectType;
         if (officeSectionObject != null) {
             for (OfficeSectionObjectToExternalManagedObjectModel model : officeSectionObject) {
                 this..add(model);
             }
         }
         if (dependentOfficeManagedObject != null) {
             for (OfficeManagedObjectDependencyToExternalManagedObjectModel model : dependentOfficeManagedObject) {
                 this..add(model);
             }
         }
         if (dependentOfficeInputManagedObject != null) {
             for (OfficeInputManagedObjectDependencyToExternalManagedObjectModel model : dependentOfficeInputManagedObject) {
                 this..add(model);
             }
         }
         if (administrator != null) {
             for (ExternalManagedObjectToAdministratorModel model : administrator) {
                 this..add(model);
             }
         }
     }

    
Convenience constructor allowing XY initialising.
 
     public ExternalManagedObjectModel(
       String externalManagedObjectName
     , String objectType
     , OfficeSectionObjectToExternalManagedObjectModel[] officeSectionObject
     , OfficeManagedObjectDependencyToExternalManagedObjectModel[] dependentOfficeManagedObject
     , OfficeInputManagedObjectDependencyToExternalManagedObjectModel[] dependentOfficeInputManagedObject
     , ExternalManagedObjectToAdministratorModel[] administrator
     , int x
     , int y
     ) {
         this. = externalManagedObjectName;
         this. = objectType;
         if (officeSectionObject != null) {
             for (OfficeSectionObjectToExternalManagedObjectModel model : officeSectionObject) {
                 this..add(model);
             }
         }
         if (dependentOfficeManagedObject != null) {
             for (OfficeManagedObjectDependencyToExternalManagedObjectModel model : dependentOfficeManagedObject) {
                 this..add(model);
             }
         }
         if (dependentOfficeInputManagedObject != null) {
            for (OfficeInputManagedObjectDependencyToExternalManagedObjectModel model : dependentOfficeInputManagedObject) {
                this..add(model);
            }
        }
        if (administrator != null) {
            for (ExternalManagedObjectToAdministratorModel model : administrator) {
                this..add(model);
            }
        }
        this.setX(x);
        this.setY(y);
    }

    
External managed object name.
        return this.;
    }
    public void setExternalManagedObjectName(String externalManagedObjectName) {
        String oldValue = this.;
        this. = externalManagedObjectName;
    }

    
Object type.
    private String objectType;
    public String getObjectType() {
        return this.;
    }
    public void setObjectType(String objectType) {
        String oldValue = this.;
        this. = objectType;
    }


    
Office section object.
        return this.;
    }
    public void addOfficeSectionObject(OfficeSectionObjectToExternalManagedObjectModel officeSectionObject) {
    }
    }

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

    
Dependent office input managed object.
        return this.;
    }
    }
    }

    
Administrator.
        return this.;
    }
    public void addAdministrator(ExternalManagedObjectToAdministratorModel administrator) {
        this.addItemToList(administratorthis..);
    }
    public void removeAdministrator(ExternalManagedObjectToAdministratorModel administrator) {
    }


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