reaproveitamento-poo-java

commit 1211474624897e26a2ed2e34c04388e4b2e60722

Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>

models/imovel: add preco final (preco de venda?)

 src/org/porcellis/models/Imovel.java | 6 +++++-


diff --git a/src/org/porcellis/models/Imovel.java b/src/org/porcellis/models/Imovel.java
index f9374db1b7f09da4940405fb5a2539cafa9d631a..b6015aab90129d0160f33fa10fcda81568159bc7 100644
--- a/src/org/porcellis/models/Imovel.java
+++ b/src/org/porcellis/models/Imovel.java
@@ -18,7 +18,11 @@ 	}
 
 	@Override
 	public double getITBI() {
-		return precoVenda * 0.02;
+		return 0.0; // XXX: Implementado nas subclasses
+	}
+
+	public double precoFinal() {
+		return precoCotacao + getITBI();
 	}
 
 	public Endereco getEndereco() {