/Users/johnr/Desktop/IA pdf Downloads/Criteria__P__-_Coding_Project_Upload_all_2022-05-03/IA_Fai/src/main/java/RealEstateProject.java
 1 
 2 import java.util.ArrayList;
 3 
 4 /*
 5  * To change this license header, choose License Headers in Project Properties.
 6  * To change this template file, choose Tools | Templates
 7  * and open the template in the editor.
 8  */
 9 
10 /**
11  *
12  * @author 21020
13  */
14 public class RealEstateProject {
15     //attributes
16     private String name = "not set yet";
17     private String property = "not set yet";
18     private String address = "not set yet";
19     private int price = 100000;
20     private String email = "not set yet";
21    
22     
23            
24     public RealEstateProject(){
25                
26     }
27     
28    public RealEstateProject(String name, String property, String address,  int price, String email){
29        this.name = name;
30        this.address = address;
31        this.property = property;
32        this.price = price;
33        this.email = email;
34    }
35     
36      public String getName(){
37         return name;
38      }
39      
40      public String getAddress(){
41          return address;
42      }
43      public String getProperty(){
44          return property;
45      }
46      public int getPrice(){
47          return price;
48      }
49      public String getEmail(){
50          return email;
51      }
52     
53     
54   
55     public void setName (String name){
56         this.name = name;
57     }
58     public void setAddress (String address){
59         this.address = address;
60     }
61     public void setProperty (String property){
62         this.property = property;
63     }
64     public void setPrice (int price){
65         this.price = price;
66     }
67     public void setEmail (String email){
68         this.email = email;
69     }
70     
71     
72   
73     }
74     
75 
76