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 OfficeManagedObjectSourceEvent {
      CHANGE_OFFICE_MANAGED_OBJECT_SOURCE_NAME, CHANGE_MANAGED_OBJECT_SOURCE_CLASS_NAME, CHANGE_OBJECT_TYPE, CHANGE_TIMEOUT, ADD_PROPERTY, REMOVE_PROPERTY, ADD_OFFICE_MANAGED_OBJECT, REMOVE_OFFICE_MANAGED_OBJECT, ADD_OFFICE_INPUT_MANAGED_OBJECT_DEPENDENCY, REMOVE_OFFICE_INPUT_MANAGED_OBJECT_DEPENDENCY, ADD_OFFICE_MANAGED_OBJECT_SOURCE_FLOW, REMOVE_OFFICE_MANAGED_OBJECT_SOURCE_FLOW, ADD_OFFICE_MANAGED_OBJECT_SOURCE_TEAM, REMOVE_OFFICE_MANAGED_OBJECT_SOURCE_TEAM
     }

    
Default constructor.
 
     public OfficeManagedObjectSourceModel() {
     }

    
Convenience constructor for new non-linked instance.
 
       String officeManagedObjectSourceName
     , String managedObjectSourceClassName
     , String objectType
     , String timeout
     ) {
         this. = officeManagedObjectSourceName;
         this. = managedObjectSourceClassName;
         this. = objectType;
         this. = timeout;
     }

    
Convenience constructor.
 
       String officeManagedObjectSourceName
     , String managedObjectSourceClassName
     , String objectType
     , String timeout
     , PropertyModel[] property
     , OfficeManagedObjectToOfficeManagedObjectSourceModel[] officeManagedObject
     , OfficeInputManagedObjectDependencyModel[] officeInputManagedObjectDependency
     , OfficeManagedObjectSourceFlowModel[] officeManagedObjectSourceFlow
     , OfficeManagedObjectSourceTeamModel[] officeManagedObjectSourceTeam
     ) {
         this. = officeManagedObjectSourceName;
         this. = managedObjectSourceClassName;
         this. = objectType;
         this. = timeout;
         if (property != null) {
             for (PropertyModel model : property) {
                 this..add(model);
             }
         }
         if (officeManagedObject != null) {
             for (OfficeManagedObjectToOfficeManagedObjectSourceModel model : officeManagedObject) {
                 this..add(model);
             }
         }
         if (officeInputManagedObjectDependency != null) {
             for (OfficeInputManagedObjectDependencyModel model : officeInputManagedObjectDependency) {
                 this..add(model);
             }
         }
         if (officeManagedObjectSourceFlow != null) {
             for (OfficeManagedObjectSourceFlowModel model : officeManagedObjectSourceFlow) {
                 this..add(model);
             }
         }
         if (officeManagedObjectSourceTeam != null) {
             for (OfficeManagedObjectSourceTeamModel model : officeManagedObjectSourceTeam) {
                 this..add(model);
             }
         }
     }

    
Convenience constructor allowing XY initialising.
 
       String officeManagedObjectSourceName
     , String managedObjectSourceClassName
     , String objectType
     , String timeout
     , PropertyModel[] property
     , OfficeManagedObjectToOfficeManagedObjectSourceModel[] officeManagedObject
     , OfficeInputManagedObjectDependencyModel[] officeInputManagedObjectDependency
     , OfficeManagedObjectSourceFlowModel[] officeManagedObjectSourceFlow
    , OfficeManagedObjectSourceTeamModel[] officeManagedObjectSourceTeam
    , int x
    , int y
    ) {
        this. = officeManagedObjectSourceName;
        this. = managedObjectSourceClassName;
        this. = objectType;
        this. = timeout;
        if (property != null) {
            for (PropertyModel model : property) {
                this..add(model);
            }
        }
        if (officeManagedObject != null) {
            for (OfficeManagedObjectToOfficeManagedObjectSourceModel model : officeManagedObject) {
                this..add(model);
            }
        }
        if (officeInputManagedObjectDependency != null) {
            for (OfficeInputManagedObjectDependencyModel model : officeInputManagedObjectDependency) {
                this..add(model);
            }
        }
        if (officeManagedObjectSourceFlow != null) {
            for (OfficeManagedObjectSourceFlowModel model : officeManagedObjectSourceFlow) {
                this..add(model);
            }
        }
        if (officeManagedObjectSourceTeam != null) {
            for (OfficeManagedObjectSourceTeamModel model : officeManagedObjectSourceTeam) {
                this..add(model);
            }
        }
        this.setX(x);
        this.setY(y);
    }

    
Office managed object source name.
        return this.;
    }
    public void setOfficeManagedObjectSourceName(String officeManagedObjectSourceName) {
        String oldValue = this.;
        this. = officeManagedObjectSourceName;
    }

    
Managed object source class name.
        return this.;
    }
    public void setManagedObjectSourceClassName(String managedObjectSourceClassName) {
        String oldValue = this.;
        this. = managedObjectSourceClassName;
    }

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

    
Timeout.
    private String timeout;
    public String getTimeout() {
        return this.;
    }
    public void setTimeout(String timeout) {
        String oldValue = this.;
        this. = timeout;
        this.changeField(oldValuethis..);
    }


    
Property.
    private List<PropertyModelproperty = new LinkedList<PropertyModel>();
    public List<PropertyModelgetProperties() {
        return this.;
    }
    public void addProperty(PropertyModel property) {
        this.addItemToList(propertythis..);
    }
    public void removeProperty(PropertyModel property) {
    }

    
Office managed object.
        return this.;
    }
    }
    }

    
Office input managed object dependency.
        return this.;
    }
    public void addOfficeInputManagedObjectDependency(OfficeInputManagedObjectDependencyModel officeInputManagedObjectDependency) {
    }
    public void removeOfficeInputManagedObjectDependency(OfficeInputManagedObjectDependencyModel officeInputManagedObjectDependency) {
    }

    
Office managed object source flow.
        return this.;
    }
    public void addOfficeManagedObjectSourceFlow(OfficeManagedObjectSourceFlowModel officeManagedObjectSourceFlow) {
    }
    public void removeOfficeManagedObjectSourceFlow(OfficeManagedObjectSourceFlowModel officeManagedObjectSourceFlow) {
    }

    
Office managed object source team.
        return this.;
    }
    public void addOfficeManagedObjectSourceTeam(OfficeManagedObjectSourceTeamModel officeManagedObjectSourceTeam) {
    }
    public void removeOfficeManagedObjectSourceTeam(OfficeManagedObjectSourceTeamModel officeManagedObjectSourceTeam) {
    }


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