![JAR search and dependency download from the Maven repository](/logo.png)
net.officefloor.woof.model.teams.PropertyFileModel 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.teams;
import javax.annotation.Generated;
import net.officefloor.model.AbstractModel;
import net.officefloor.model.ConnectionModel;
import net.officefloor.model.ItemModel;
import net.officefloor.model.RemoveConnectionsAction;
@Generated("net.officefloor.model.generate.ModelGenerator")
public class PropertyFileModel extends AbstractModel implements ItemModel, PropertySourceModel {
public static enum PropertyFileEvent {
CHANGE_PATH
}
/**
* Default constructor.
*/
public PropertyFileModel() {
}
/**
* Convenience constructor.
*
* @param path Path.
*/
public PropertyFileModel(
String path
) {
this.path = path;
}
/**
* Convenience constructor allowing XY initialising.
*
* @param path Path.
* @param x Horizontal location.
* @param y Vertical location.
*/
public PropertyFileModel(
String path
, int x
, int y
) {
this.path = path;
this.setX(x);
this.setY(y);
}
/**
* Path.
*/
private String path;
/**
* @return Path.
*/
public String getPath() {
return this.path;
}
/**
* @param path Path.
*/
public void setPath(String path) {
String oldValue = this.path;
this.path = path;
this.changeField(oldValue, this.path, PropertyFileEvent.CHANGE_PATH);
}
/**
* Remove Connections.
*
* @return {@link RemoveConnectionsAction} to remove the {@link ConnectionModel} instances.
*/
public RemoveConnectionsAction removeConnections() {
RemoveConnectionsAction _action = new RemoveConnectionsAction(this);
return _action;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy