Class Engine


  • public class Engine
    extends Object
    • Constructor Detail

      • Engine

        public Engine()
    • Method Detail

      • getName

        public String getName()
        Name of the Engine. Can only contain lowercase letters, numbers, and hyphens.
        Returns:
        name of the engine
      • getType

        public String getType()
        Type of the Engine.
        Returns:
        type of the engine
      • setName

        public Engine setName​(String name)
        Name of the Engine. Can only contain lowercase letters, numbers, and hyphens.
        Parameters:
        name - name of the engine
        Returns:
        this.
      • setType

        public Engine setType​(String type)
        Type of the Engine.
        Parameters:
        type - type of the engine
        Returns:
        this.