Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * 
   */
  package net.officefloor.model.desk;
  
  import java.util.List;
  
 
 
 @Generated("net.officefloor.model.generate.ModelGenerator")
 
     public static enum DeskManagedObjectSourceEvent {
      CHANGE_DESK_MANAGED_OBJECT_SOURCE_NAME, CHANGE_MANAGED_OBJECT_SOURCE_CLASS_NAME, CHANGE_OBJECT_TYPE, CHANGE_TIMEOUT, ADD_PROPERTY, REMOVE_PROPERTY, ADD_DESK_MANAGED_OBJECT, REMOVE_DESK_MANAGED_OBJECT, ADD_DESK_MANAGED_OBJECT_SOURCE_FLOW, REMOVE_DESK_MANAGED_OBJECT_SOURCE_FLOW
     }

    
Default constructor.
 
     public DeskManagedObjectSourceModel() {
     }

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

    
Convenience constructor.
 
       String deskManagedObjectSourceName
     , String managedObjectSourceClassName
     , String objectType
     , String timeout
     , PropertyModel[] property
     , DeskManagedObjectToDeskManagedObjectSourceModel[] deskManagedObject
     , DeskManagedObjectSourceFlowModel[] deskManagedObjectSourceFlow
     ) {
         this. = deskManagedObjectSourceName;
         this. = managedObjectSourceClassName;
         this. = objectType;
         this. = timeout;
         if (property != null) {
             for (PropertyModel model : property) {
                 this..add(model);
             }
         }
         if (deskManagedObject != null) {
             for (DeskManagedObjectToDeskManagedObjectSourceModel model : deskManagedObject) {
                 this..add(model);
             }
         }
         if (deskManagedObjectSourceFlow != null) {
             for (DeskManagedObjectSourceFlowModel model : deskManagedObjectSourceFlow) {
                 this..add(model);
             }
         }
     }

    
Convenience constructor allowing XY initialising.
 
       String deskManagedObjectSourceName
     , String managedObjectSourceClassName
     , String objectType
     , String timeout
     , PropertyModel[] property
     , DeskManagedObjectToDeskManagedObjectSourceModel[] deskManagedObject
     , DeskManagedObjectSourceFlowModel[] deskManagedObjectSourceFlow
     , int x
     , int y
     ) {
         this. = deskManagedObjectSourceName;
         this. = managedObjectSourceClassName;
         this. = objectType;
         this. = timeout;
         if (property != null) {
             for (PropertyModel model : property) {
                 this..add(model);
             }
         }
         if (deskManagedObject != null) {
            for (DeskManagedObjectToDeskManagedObjectSourceModel model : deskManagedObject) {
                this..add(model);
            }
        }
        if (deskManagedObjectSourceFlow != null) {
            for (DeskManagedObjectSourceFlowModel model : deskManagedObjectSourceFlow) {
                this..add(model);
            }
        }
        this.setX(x);
        this.setY(y);
    }

    
Desk managed object source name.
        return this.;
    }
    public void setDeskManagedObjectSourceName(String deskManagedObjectSourceName) {
        String oldValue = this.;
        this. = deskManagedObjectSourceName;
    }

    
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) {
    }

    
Desk managed object.
        return this.;
    }
    }
    }

    
Desk managed object source flow.
        return this.;
    }
    public void addDeskManagedObjectSourceFlow(DeskManagedObjectSourceFlowModel deskManagedObjectSourceFlow) {
    }
    public void removeDeskManagedObjectSourceFlow(DeskManagedObjectSourceFlowModel deskManagedObjectSourceFlow) {
    }


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