Package net.officefloor.model.section
Class FunctionEscalationToFunctionModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.FunctionEscalationToFunctionModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class FunctionEscalationToFunctionModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FunctionEscalationToFunctionModel.FunctionEscalationToFunctionEvent
-
Constructor Summary
Constructors Constructor Description FunctionEscalationToFunctionModel()
Default constructor.FunctionEscalationToFunctionModel(java.lang.String functionName)
Convenience constructor for new non-linked instance.FunctionEscalationToFunctionModel(java.lang.String functionName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.FunctionEscalationToFunctionModel(java.lang.String functionName, FunctionEscalationModel escalation, FunctionModel function)
Convenience constructor.FunctionEscalationToFunctionModel(java.lang.String functionName, FunctionEscalationModel escalation, FunctionModel function, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect()
Connects to theAbstractModel
instances.FunctionEscalationModel
getEscalation()
FunctionModel
getFunction()
java.lang.String
getFunctionName()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setEscalation(FunctionEscalationModel escalation)
void
setFunction(FunctionModel function)
void
setFunctionName(java.lang.String functionName)
-
Methods inherited from class net.officefloor.model.AbstractModel
addItemToList, addPropertyChangeListener, changeField, firePropertyChange, getX, getY, removeItemFromList, removePropertyChangeListener, setX, setY
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.model.Model
addPropertyChangeListener, getX, getY, removePropertyChangeListener, setX, setY
-
-
-
-
Constructor Detail
-
FunctionEscalationToFunctionModel
public FunctionEscalationToFunctionModel()
Default constructor.
-
FunctionEscalationToFunctionModel
public FunctionEscalationToFunctionModel(java.lang.String functionName)
Convenience constructor for new non-linked instance.- Parameters:
functionName
- Function name.
-
FunctionEscalationToFunctionModel
public FunctionEscalationToFunctionModel(java.lang.String functionName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
functionName
- Function name.x
- Horizontal location.y
- Vertical location.
-
FunctionEscalationToFunctionModel
public FunctionEscalationToFunctionModel(java.lang.String functionName, FunctionEscalationModel escalation, FunctionModel function)
Convenience constructor.- Parameters:
functionName
- Function name.escalation
- Escalation.function
- Function.
-
FunctionEscalationToFunctionModel
public FunctionEscalationToFunctionModel(java.lang.String functionName, FunctionEscalationModel escalation, FunctionModel function, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
functionName
- Function name.escalation
- Escalation.function
- Function.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getFunctionName
public java.lang.String getFunctionName()
- Returns:
- Function name.
-
setFunctionName
public void setFunctionName(java.lang.String functionName)
- Parameters:
functionName
- Function name.
-
getEscalation
public FunctionEscalationModel getEscalation()
- Returns:
- Escalation.
-
setEscalation
public void setEscalation(FunctionEscalationModel escalation)
- Parameters:
escalation
- Escalation.
-
getFunction
public FunctionModel getFunction()
- Returns:
- Function.
-
setFunction
public void setFunction(FunctionModel function)
- Parameters:
function
- Function.
-
isRemovable
public boolean isRemovable()
Description copied from interface:ConnectionModel
Indicates if this connection is removable.- Specified by:
isRemovable
in interfaceConnectionModel
- Returns:
- Indicates if removable.
-
connect
public void connect()
Connects to theAbstractModel
instances.- Specified by:
connect
in interfaceConnectionModel
-
remove
public void remove()
Removes connection to theAbstractModel
instances.- Specified by:
remove
in interfaceConnectionModel
-
-