GeSHi © 2004-2007 Nigel McNie, 2007-2010 Benny Baumann, 2008-2009 Milian Wolff
- public class Vehicle {
- /**
- * license number of the vehicle
- */
- /**
- * type of the vehicle
- */
- /**
- * The model of the vehicle.
- */
- private int year;
- /**
- * Comments about this vehicle.
- */
- public Vehicle(){
- }
- /**
- * Vehicle constructor
- * @param _licNumber license number of the vehicle
- * @param _type Type of the vehicle
- * @param _year The model of the vehicle
- * @param _comment Comments about this vehicle
- */
- licNumber = _licNumber;
- type = _type;
- year = _year;
- comment = _comment;
- }
- /**
- * @return the licNumber
- */
- return licNumber;
- }
- /**
- * @param licNumber the licNumber to set
- */
- this.licNumber = licNumber;
- }
- /**
- * @return the type
- */
- return type;
- }
- /**
- * @param type the type to set
- */
- this.type = type;
- }
- /**
- * @return the year
- */
- public int getYear() {
- return year;
- }
- /**
- * @param year the year to set
- */
- public void setYear(int year) {
- this.year = year;
- }
- /**
- * @return the comment
- */
- return comment;
- }
- /**
- * @param comment the comment to set
- */
- this.comment = comment;
- }
Parsed in 0.211 seconds at 7.26 KB/s