public class Order {
private String region;
private String rep;
private String item;
private int unit;
private float cost;
public void setRegion(String newRegion)
{
this.region= newRegion;
}
public void setRep(String newRep)
{
this.rep= newRep;
}
public void setItem(String newItem)
{
this.rep= newItem;
}
public void setUnit(int newUnit)
{
this.unit= newUnit;
}
public void setCost(float newCost)
{
this.cost= newCost;
}
public String getRegion()
{
return this.region;
}
public String getRep()
{
return this.rep;
}
public String getItem()
{
return this.item;
}
public int getUnit()
{
return this.unit;
}
public float getCost()
{
return this.cost;
}
}
Walang komento:
Mag-post ng isang Komento