Package net.officefloor.woof.model.teams
Class PropertyModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.woof.model.teams.PropertyModel
-
- All Implemented Interfaces:
ItemModel<PropertyModel>
,Model
,PropertySourceModel
@Generated("net.officefloor.model.generate.ModelGenerator") public class PropertyModel extends AbstractModel implements ItemModel<PropertyModel>, PropertySourceModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PropertyModel.PropertyEvent
-
Constructor Summary
Constructors Constructor Description PropertyModel()
Default constructor.PropertyModel(java.lang.String name, java.lang.String value)
Convenience constructor.PropertyModel(java.lang.String name, java.lang.String value, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
java.lang.String
getValue()
RemoveConnectionsAction<PropertyModel>
removeConnections()
Remove Connections.void
setName(java.lang.String name)
void
setValue(java.lang.String value)
-
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
-
PropertyModel
public PropertyModel()
Default constructor.
-
PropertyModel
public PropertyModel(java.lang.String name, java.lang.String value)
Convenience constructor.- Parameters:
name
- Name.value
- Value.
-
PropertyModel
public PropertyModel(java.lang.String name, java.lang.String value, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
name
- Name.value
- Value.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- Name.
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- Name.
-
getValue
public java.lang.String getValue()
- Returns:
- Value.
-
setValue
public void setValue(java.lang.String value)
- Parameters:
value
- Value.
-
removeConnections
public RemoveConnectionsAction<PropertyModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<PropertyModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-