This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!

Pegawai.java

By: fanjava on Oct 5th, 2012  |  syntax: Java  |  size: 0.63 KB  |  views: 44  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. package fandesign.velocity.struts2.validation.entity;
  2.  
  3. /**
  4.  * @author FandyAkhmad
  5.  *
  6.  */
  7. public class Pegawai {
  8.         private int id;
  9.         private String name;
  10.         private String job;
  11.         private double salary;
  12.        
  13.         public int getId() {
  14.                 return id;
  15.         }
  16.         public void setId(int id) {
  17.                 this.id = id;
  18.         }
  19.         public String getName() {
  20.                 return name;
  21.         }
  22.         public void setName(String name) {
  23.                 this.name = name;
  24.         }
  25.         public String getJob() {
  26.                 return job;
  27.         }
  28.         public void setJob(String job) {
  29.                 this.job = job;
  30.         }
  31.         public double getSalary() {
  32.                 return salary;
  33.         }
  34.         public void setSalary(double salary) {
  35.                 this.salary = salary;
  36.         }
  37.        
  38. }
clone this paste RAW Paste Data