![JAR search and dependency download from the Maven repository](/logo.png)
net.officefloor.woof.model.woof.WoofProcedureOutputToWoofSecurityModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of officeweb_configuration Show documentation
Show all versions of officeweb_configuration Show documentation
Configuration for WoOF (Web on OfficeFloor)
/*
*
*/
package net.officefloor.woof.model.woof;
import javax.annotation.Generated;
import net.officefloor.model.AbstractModel;
import net.officefloor.model.ConnectionModel;
@Generated("net.officefloor.model.generate.ModelGenerator")
public class WoofProcedureOutputToWoofSecurityModel extends AbstractModel implements ConnectionModel {
public static enum WoofProcedureOutputToWoofSecurityEvent {
CHANGE_HTTP_SECURITY_NAME, CHANGE_WOOF_PROCEDURE_OUTPUT, CHANGE_WOOF_SECURITY
}
/**
* Default constructor.
*/
public WoofProcedureOutputToWoofSecurityModel() {
}
/**
* Convenience constructor for new non-linked instance.
*
* @param httpSecurityName Http security name.
*/
public WoofProcedureOutputToWoofSecurityModel(
String httpSecurityName
) {
this.httpSecurityName = httpSecurityName;
}
/**
* Convenience constructor for new non-linked instance allowing XY initialising.
*
* @param httpSecurityName Http security name.
* @param x Horizontal location.
* @param y Vertical location.
*/
public WoofProcedureOutputToWoofSecurityModel(
String httpSecurityName
, int x
, int y
) {
this.httpSecurityName = httpSecurityName;
this.setX(x);
this.setY(y);
}
/**
* Convenience constructor.
*
* @param httpSecurityName Http security name.
* @param woofProcedureOutput Woof procedure output.
* @param woofSecurity Woof security.
*/
public WoofProcedureOutputToWoofSecurityModel(
String httpSecurityName
, WoofProcedureOutputModel woofProcedureOutput
, WoofSecurityModel woofSecurity
) {
this.httpSecurityName = httpSecurityName;
this.woofProcedureOutput = woofProcedureOutput;
this.woofSecurity = woofSecurity;
}
/**
* Convenience constructor allowing XY initialising.
*
* @param httpSecurityName Http security name.
* @param woofProcedureOutput Woof procedure output.
* @param woofSecurity Woof security.
* @param x Horizontal location.
* @param y Vertical location.
*/
public WoofProcedureOutputToWoofSecurityModel(
String httpSecurityName
, WoofProcedureOutputModel woofProcedureOutput
, WoofSecurityModel woofSecurity
, int x
, int y
) {
this.httpSecurityName = httpSecurityName;
this.woofProcedureOutput = woofProcedureOutput;
this.woofSecurity = woofSecurity;
this.setX(x);
this.setY(y);
}
/**
* Http security name.
*/
private String httpSecurityName;
/**
* @return Http security name.
*/
public String getHttpSecurityName() {
return this.httpSecurityName;
}
/**
* @param httpSecurityName Http security name.
*/
public void setHttpSecurityName(String httpSecurityName) {
String oldValue = this.httpSecurityName;
this.httpSecurityName = httpSecurityName;
this.changeField(oldValue, this.httpSecurityName, WoofProcedureOutputToWoofSecurityEvent.CHANGE_HTTP_SECURITY_NAME);
}
/**
* Woof procedure output.
*/
private WoofProcedureOutputModel woofProcedureOutput;
/**
* @return Woof procedure output.
*/
public WoofProcedureOutputModel getWoofProcedureOutput() {
return this.woofProcedureOutput;
}
/**
* @param woofProcedureOutput Woof procedure output.
*/
public void setWoofProcedureOutput(WoofProcedureOutputModel woofProcedureOutput) {
WoofProcedureOutputModel oldValue = this.woofProcedureOutput;
this.woofProcedureOutput = woofProcedureOutput;
this.changeField(oldValue, this.woofProcedureOutput, WoofProcedureOutputToWoofSecurityEvent.CHANGE_WOOF_PROCEDURE_OUTPUT);
}
/**
* Woof security.
*/
private WoofSecurityModel woofSecurity;
/**
* @return Woof security.
*/
public WoofSecurityModel getWoofSecurity() {
return this.woofSecurity;
}
/**
* @param woofSecurity Woof security.
*/
public void setWoofSecurity(WoofSecurityModel woofSecurity) {
WoofSecurityModel oldValue = this.woofSecurity;
this.woofSecurity = woofSecurity;
this.changeField(oldValue, this.woofSecurity, WoofProcedureOutputToWoofSecurityEvent.CHANGE_WOOF_SECURITY);
}
/**
* @return Indicates if removable.
*/
public boolean isRemovable() {
return true;
}
/**
* Connects to the {@link AbstractModel} instances.
*/
public void connect() {
this.woofProcedureOutput.setWoofSecurity(this);
this.woofSecurity.addWoofProcedureOutput(this);
}
/**
* Removes connection to the {@link AbstractModel} instances.
*/
public void remove() {
this.woofProcedureOutput.setWoofSecurity(null);
this.woofSecurity.removeWoofProcedureOutput(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy