TrabalhosGratuitos.com - Trabalhos, Monografias, Artigos, Exames, Resumos de livros, Dissertações
Pesquisar

Teste de Inclusão de Trabalhos

Por:   •  12/11/2019  •  Artigo  •  471 Palavras (2 Páginas)  •  110 Visualizações

Página 1 de 2

package br.ufes.informatica.rationalontology.core.domain;

import java.io.Serializable;

import br.ufes.inf.nemo.jbutler.ejb.persistence.PersistentObjectSupport;

public class Car extends PersistentObjectSupport implements Comparable<Access> {

//private long id;

private String brand;

private int year;

private int price;

private boolean sold;

public Car() {}

public Car(long id, String brand, int year) {

//this.id = id;

setId(id);

this.brand = brand;

this.year = year;

}

public Car(long id, String brand, int year, int price, boolean sold) {

//this.id = id;

setId(id);

this.brand = brand;

this.year = year;

this.price = price;

this.sold = sold;

}

/*

public Long getId() {

return id;

}

public void setId(Long id) {

this.id = id;

}*/

public String getBrand() {

return brand;

}

public void setBrand(String brand) {

this.brand = brand;

}

public int getYear() {

return year;

}

public void setYear(int year) {

this.year = year;

}

public int getPrice() {

return price;

}

public void setPrice(int price) {

this.price = price;

}

...

Baixar como (para membros premium)  txt (1.7 Kb)   pdf (28 Kb)   docx (8 Kb)  
Continuar por mais 1 página »
Disponível apenas no TrabalhosGratuitos.com