Class LinkBean
java.lang.Object
uk.ac.manchester.spinnaker.machine.bean.LinkBean
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Valid ChipLocationWhere the link is going.What direction the link is going in. -
Constructor Summary
ConstructorsConstructorDescriptionLinkBean(int sourceLinkId, int destinationX, int destinationY) Make an instance. -
Method Summary
-
Field Details
-
destination
Where the link is going. -
sourceDirection
-
-
Constructor Details
-
LinkBean
public LinkBean(int sourceLinkId, int destinationX, int destinationY) Make an instance.- Parameters:
sourceLinkId- What is the direction of the link?destinationX- Where is the link going to? X coordinate.destinationY- Where is the link going to? Y coordinate.
-