Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 6 7 package org.roller.pojos; 8 9 10 19 public class RollerPropertyData 20 extends org.roller.pojos.PersistentObject 21 implements java.io.Serializable  22 { 23 24 static final long serialVersionUID = 6913562779484028899L; 25 26 27 30 private String name; 31 32 35 private String value; 36 37 38 public RollerPropertyData() {} 39 40 41 public RollerPropertyData(String name, String value) { 42 this.name = name; 43 this.value = value; 44 } 45 46 47 public void setData(PersistentObject object) 48 { 49 if (object instanceof RollerPropertyData) 50 { 51 RollerPropertyData prop = (RollerPropertyData) object; 52 this.name = prop.name; 53 this.value = prop.value; 54 } 55 } 56 57 58 public String toString() 59 { 60 return (this.name + "=" + this.value); 61 } 62 63 64 71 public String getName() { 72 73 return this.name; 74 } 75 76 82 public void setName(String name) { 83 84 this.name = name; 85 } 86 87 94 public String getValue() { 95 96 return this.value; 97 } 98 99 105 public void setValue(String value) { 106 107 this.value = value; 108 } 109 110 111 public String getId() { 112 return null; 114 } 115 116 117 public void setId(String id) { 118 } 120 } 121
| Popular Tags
|