net.officefloor.model.section
Class PropertyModel

java.lang.Object
  extended by net.officefloor.model.AbstractModel
      extended by net.officefloor.model.section.PropertyModel
All Implemented Interfaces:
ItemModel<PropertyModel>, Model

@Generated(value="net.officefloor.model.generate.ModelGenerator")
public class PropertyModel
extends AbstractModel
implements ItemModel<PropertyModel>


Nested Class Summary
static class PropertyModel.PropertyEvent
           
 
Constructor Summary
PropertyModel()
          Default constructor.
PropertyModel(String name, String value)
          Convenience constructor.
PropertyModel(String name, String value, int x, int y)
          Convenience constructor allowing XY initialising.
 
Method Summary
 String getName()
           
 String getValue()
           
 RemoveConnectionsAction<PropertyModel> removeConnections()
          Remove Connections.
 void setName(String name)
           
 void setValue(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(String name,
                     String value)
Convenience constructor.


PropertyModel

public PropertyModel(String name,
                     String value,
                     int x,
                     int y)
Convenience constructor allowing XY initialising.

Method Detail

getName

public String getName()

setName

public void setName(String name)

getValue

public String getValue()

setValue

public void setValue(String value)

removeConnections

public RemoveConnectionsAction<PropertyModel> removeConnections()
Remove Connections.

Specified by:
removeConnections in interface ItemModel<PropertyModel>
Returns:
RemoveConnectionsAction containing the ConnectionModel instances removed.


Copyright © 2005-2013. All Rights Reserved.