Class Machine
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.machinemanager.responses.Machine
Describes a machine by its name, tags, width and height.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Get the height of the machine.getName()
Get the name of the machine.getTags()
Get the tags associated with the machine.int
getWidth()
Get the width of the machine.void
setHeight
(int height) Set the height of the machine.void
Set the name of the machine.void
Set the tags associated with the machine.void
setWidth
(int width) Set the width of the machine.
-
Constructor Details
-
Machine
public Machine()
-
-
Method Details
-
getName
Get the name of the machine.- Returns:
- The name of the machine
-
setName
Set the name of the machine.- Parameters:
name
- The name of the machine to set
-
getTags
Get the tags associated with the machine.- Returns:
- The tags
-
setTags
Set the tags associated with the machine.- Parameters:
tags
- The tags to set
-
getWidth
public int getWidth()Get the width of the machine.- Returns:
- The width in chips
-
setWidth
public void setWidth(int width) Set the width of the machine.- Parameters:
width
- The width in chips
-
getHeight
public int getHeight()Get the height of the machine.- Returns:
- The height in chips
-
setHeight
public void setHeight(int height) Set the height of the machine.- Parameters:
height
- The height in chips
-