Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * 
  */
 package net.officefloor.model.conform;
 
 
@Generated("net.officefloor.model.generate.ModelGenerator")
public class ConformModel extends AbstractModel implements ItemModel<ConformModel> {
    public static enum ConformEvent {
     CHANGE_EXISTING_MODEL, CHANGE_TARGET_MODEL
    }

    
Default constructor.
    public ConformModel() {
    }

    
Convenience constructor.
    public ConformModel(
      ExistingModel existingModel
    , TargetModel targetModel
    ) {
        this. = existingModel;
        this. = targetModel;
    }

    
Convenience constructor allowing XY initialising.
    public ConformModel(
      ExistingModel existingModel
    , TargetModel targetModel
    , int x
    , int y
    ) {
        this. = existingModel;
        this. = targetModel;
        this.setX(x);
        this.setY(y);
    }

    
Existing model.
    private ExistingModel existingModel;
    public ExistingModel getExistingModel() {
        return this.;
    }
    public void setExistingModel(ExistingModel existingModel) {
        ExistingModel oldValue = this.;
        this. = existingModel;
        this.changeField(oldValuethis..);
    }

    
Target model.
    private TargetModel targetModel;
    public TargetModel getTargetModel() {
        return this.;
    }
    public void setTargetModel(TargetModel targetModel) {
        TargetModel oldValue = this.;
        this. = targetModel;
        this.changeField(oldValuethis..);
    }



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