07697module item id-8881310 Instructions: Create a project called Conveyor It includes two java files: Conveyor java and ConveyorApp java ConveyorApp is the test client and includes the main method. Conveyor java Create a public class called Conveyor based on UML class diagram above. Include the following three comments to help you structure the code. // fields // constructors // methods In this step attention to details is very important. Make sure to match the names, types, parameter lists, access modifiers, etc exactly as specified. No class members should be added or removed . The speed is measured in m/s (meters per second) For clarity please include an inline comment next to the field declaration The getters should have the typical default implementation The constructor and setter require some input validation. Negative speed should not be allowed. Whenever the user provides a negative speed value it should be ignored and the speed should remain unchanged. In case of the constructor the field would remain default initialized ( speed: 0) Hint: avoid code duplication. * The method timeToTransport requires some calculation Based on the current speed t should return the time it takes to transport an item for the specified distance. The distance is provided in meters and the time should be returned in seconds. ConveyorApp.java: Class Conveyor App is a test client and includes the main method. It calls the constructor and methods of class Conveyor in order to test that it works as expected In main do the following: Create two conveyors: a flat belt conveyor and a roller conveyor Both are instances of Conveyor For the first conveyor the type is flat belt and its speed is 0.9 m/s For the second conveyor the type is roller and its speed is -0.5 m/s. Notice that we used an invalid negative speed. We do this in order to test the input validtion. . Foe hath ro 8881310 ConveyorApp java Class ConveyorApp is a test client and includes the main method. It calls the constructor and methods of class Conveyor in order to test that it works as expected. In main do the following: Create two conveyors: a flat belt conveyor and a roller conveyor Both are instances of Conveyor. For the first conveyor the type is flat belt and its speed is 0.9 m/s. For the second conveyor the type is roller and its speed is -0.5 m/s. Notice that we used an invalid negative speed. We do this in order to test the input validation. For both conveyors print the following conveyor information e the type of the conveyor - the current speed how long it takes to transport an item 50 m If the input validation works as expected the negative speed never got assigned to the field and the speed of the second conveyor defaulted to 0. Without any movement of the conveyor it takes forever to transport an item Important: obtain the required values from the Conveyor instances (by calling methods from class Conveyor) . At this point we tested the constructors, the getters, and the method timeToTransport However, we haven't tested the setter In order to test the setter do the following . Change the speed of the first conveyor to -3 t validation should notice that the value is not valid and thus leave the speed unchanged (still 0.9) -Change the speed of the second conveyor to 0.4 0.4 is a valid speed and the field should be updated accordingly. . Again print the conveyor information we printed before but this time it reflects the latest updates. . Make the output look exactly like the expected output shown below Notice that it includes labels, units Notice also that the time displays only one digit after the decimal point Create a video recording that shows shows the code of class Conveyor and ConveyorApp Please start at the very top of the file and slowly scroll down so that I can stop in order to have a closer look at the code. After showing the code compile and run the program Type here to search . Again print the conveyor information we printed before but updates. Make the output look exactly like the expected output shown below. Notice that it includes labels, units, etc Notice also that the time displays only one digit after the decimal point Create a video recording that shows shows the code of class Conveyor and ConveyorApp. Please start at the very top of the file and slowly scroll down so that I can stop in order to have a closer look at the code. After showing the code compile and run the program. Change the size of the output window so that all of the output can be seen. The length of the video should be about 1 minute Expected Output: Conveyori: flat belt conveyor with a speed of o.9/ Tine to transport an item 58 n: 55.6 Conveyor?: roller conveyor with a speed of o.e n/ Tine to transport an iten Se n: infinity . updating speed Tine to transport an item 50 m: 55.6 Time to transport an item som: 125. Submit both the video recording and a zip file that i A04 Conveyor Criteria :.O pts 07697module item id-8881310 Instructions: Create a project called Conveyor It includes two java files: Conveyor java and ConveyorApp java ConveyorApp is the test client and includes the main method. Conveyor java Create a public class called Conveyor based on UML class diagram above. Include the following three comments to help you structure the code. // fields // constructors // methods In this step attention to details is very important. Make sure to match the names, types, parameter lists, access modifiers, etc exactly as specified. No class members should be added or removed . The speed is measured in m/s (meters per second) For clarity please include an inline comment next to the field declaration The getters should have the typical default implementation The constructor and setter require some input validation. Negative speed should not be allowed. Whenever the user provides a negative speed value it should be ignored and the speed should remain unchanged. In case of the constructor the field would remain default initialized ( speed: 0) Hint: avoid code duplication. * The method timeToTransport requires some calculation Based on the current speed t should return the time it takes to transport an item for the specified distance. The distance is provided in meters and the time should be returned in seconds. ConveyorApp.java: Class Conveyor App is a test client and includes the main method. It calls the constructor and methods of class Conveyor in order to test that it works as expected In main do the following: Create two conveyors: a flat belt conveyor and a roller conveyor Both are instances of Conveyor For the first conveyor the type is flat belt and its speed is 0.9 m/s For the second conveyor the type is roller and its speed is -0.5 m/s. Notice that we used an invalid negative speed. We do this in order to test the input validtion. . Foe hath ro 8881310 ConveyorApp java Class ConveyorApp is a test client and includes the main method. It calls the constructor and methods of class Conveyor in order to test that it works as expected. In main do the following: Create two conveyors: a flat belt conveyor and a roller conveyor Both are instances of Conveyor. For the first conveyor the type is flat belt and its speed is 0.9 m/s. For the second conveyor the type is roller and its speed is -0.5 m/s. Notice that we used an invalid negative speed. We do this in order to test the input validation. For both conveyors print the following conveyor information e the type of the conveyor - the current speed how long it takes to transport an item 50 m If the input validation works as expected the negative speed never got assigned to the field and the speed of the second conveyor defaulted to 0. Without any movement of the conveyor it takes forever to transport an item Important: obtain the required values from the Conveyor instances (by calling methods from class Conveyor) . At this point we tested the constructors, the getters, and the method timeToTransport However, we haven't tested the setter In order to test the setter do the following . Change the speed of the first conveyor to -3 t validation should notice that the value is not valid and thus leave the speed unchanged (still 0.9) -Change the speed of the second conveyor to 0.4 0.4 is a valid speed and the field should be updated accordingly. . Again print the conveyor information we printed before but this time it reflects the latest updates. . Make the output look exactly like the expected output shown below Notice that it includes labels, units Notice also that the time displays only one digit after the decimal point Create a video recording that shows shows the code of class Conveyor and ConveyorApp Please start at the very top of the file and slowly scroll down so that I can stop in order to have a closer look at the code. After showing the code compile and run the program Type here to search . Again print the conveyor information we printed before but updates. Make the output look exactly like the expected output shown below. Notice that it includes labels, units, etc Notice also that the time displays only one digit after the decimal point Create a video recording that shows shows the code of class Conveyor and ConveyorApp. Please start at the very top of the file and slowly scroll down so that I can stop in order to have a closer look at the code. After showing the code compile and run the program. Change the size of the output window so that all of the output can be seen. The length of the video should be about 1 minute Expected Output: Conveyori: flat belt conveyor with a speed of o.9/ Tine to transport an item 58 n: 55.6 Conveyor?: roller conveyor with a speed of o.e n/ Tine to transport an iten Se n: infinity . updating speed Tine to transport an item 50 m: 55.6 Time to transport an item som: 125. Submit both the video recording and a zip file that i A04 Conveyor Criteria :.O pts