1 18 19 package sync4j.syncclient.spds.engine; 20 21 28 public class SyncItemProperty { 29 30 32 35 private String name = null; 36 public String getName(){ 37 return this.name; 38 } 39 40 public void setName(String name){ 41 this.name = name; 42 } 43 44 47 private String type = null; 48 public String getType(){ 49 return type; 50 } 51 52 public void setType(String type){ 53 this.type = type; 54 } 55 56 59 private boolean key = false; 60 public boolean isKey(){ 61 return key; 62 } 63 64 67 private Object value = null; 68 public Object getValue(){ 69 return value; 70 } 71 72 public void setValue(Object value){ 73 this.value = value; 74 } 75 76 78 public SyncItemProperty(String name, Object value) { 79 this(name, value, value.getClass().getName()); 80 } 81 82 public SyncItemProperty(String name, Object value, String type) { 83 this.name = name; 84 this.value = value; 85 this.type = type; 86 } 87 } | Popular Tags |