drupal
Saturday, September 1, 2012
Friday, May 27, 2011
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
public class Vehicle {
/**
* license number of the vehicle
*/
private String licNumber;
/**
* type of the vehicle
*/
private String type;
/**
* The model of the vehicle.
*/
private int year;
/**
* Comments about this vehicle.
*/
private String comment;
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
*/
public Vehicle(String _licNumber, String _type, int _year, String _comment){
licNumber = _licNumber;
type = _type;
year = _year;
comment = _comment;
}
/**
* @return the licNumber
*/
public String getLicNumber() {
return licNumber;
}
/**
* @param licNumber the licNumber to set
*/
public void setLicNumber(String licNumber) {
this.licNumber = licNumber;
}
/**
* @return the type
*/
public String getType() {
return type;
}
/**
* @param type the type to set
*/
public void setType(String type) {
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
*/
public String getComment() {
return comment;
}
/**
* @param comment the comment to set
*/
public void setComment(String comment) {
this.comment = comment;
}
/**
* license number of the vehicle
*/
private String licNumber;
/**
* type of the vehicle
*/
private String type;
/**
* The model of the vehicle.
*/
private int year;
/**
* Comments about this vehicle.
*/
private String comment;
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
*/
public Vehicle(String _licNumber, String _type, int _year, String _comment){
licNumber = _licNumber;
type = _type;
year = _year;
comment = _comment;
}
/**
* @return the licNumber
*/
public String getLicNumber() {
return licNumber;
}
/**
* @param licNumber the licNumber to set
*/
public void setLicNumber(String licNumber) {
this.licNumber = licNumber;
}
/**
* @return the type
*/
public String getType() {
return type;
}
/**
* @param type the type to set
*/
public void setType(String type) {
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
*/
public String getComment() {
return comment;
}
/**
* @param comment the comment to set
*/
public void setComment(String comment) {
this.comment = comment;
}
Subscribe to:
Posts (Atom)