Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * 
   */
  package net.officefloor.model.desk;
  
  
 
 @Generated("net.officefloor.model.generate.ModelGenerator")
 
     public static enum DeskManagedObjectToDeskManagedObjectSourceEvent {
      CHANGE_DESK_MANAGED_OBJECT_SOURCE_NAME, CHANGE_DESK_MANAGED_OBJECT, CHANGE_DESK_MANAGED_OBJECT_SOURCE
     }

    
Default constructor.
 
     }

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

    
Convenience constructor.
 
       String deskManagedObjectSourceName
     , DeskManagedObjectModel deskManagedObject
     , DeskManagedObjectSourceModel deskManagedObjectSource
     ) {
         this. = deskManagedObjectSourceName;
         this. = deskManagedObject;
         this. = deskManagedObjectSource;
     }

    
Convenience constructor allowing XY initialising.
 
       String deskManagedObjectSourceName
     , DeskManagedObjectModel deskManagedObject
     , DeskManagedObjectSourceModel deskManagedObjectSource
     , int x
     , int y
     ) {
         this. = deskManagedObjectSourceName;
         this. = deskManagedObject;
         this. = deskManagedObjectSource;
         this.setX(x);
         this.setY(y);
     }

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

    
Desk managed object.
 
 
         return this.;
     }
 
     public void setDeskManagedObject(DeskManagedObjectModel deskManagedObject) {
         DeskManagedObjectModel oldValue = this.;
         this. = deskManagedObject;
     }

    
Desk managed object source.
 
 
         return this.;
    }
    public void setDeskManagedObjectSource(DeskManagedObjectSourceModel deskManagedObjectSource) {
        DeskManagedObjectSourceModel oldValue = this.;
        this. = deskManagedObjectSource;
    }
    /*
     * ConnectionModel
     */
    public boolean isRemovable() {
        return true;
    }
    public void connect() {
    }
    public void remove() {
    }
New to GrepCode? Check out our FAQ X