1 package com.rift.coad.daemon.messageservice.db; 2 4 5 6 9 public class MessageProperty implements java.io.Serializable { 10 11 13 17 private Integer id; 18 private String name; 19 private Integer boolValue; 20 private Integer byteValue; 21 private Double doubleValue; 22 private Float floatValue; 23 private Integer intValue; 24 private Long longValue; 25 private String stringValue; 26 private byte[] objectValue; 27 private Message message; 28 29 31 32 public MessageProperty() { 33 } 34 35 36 public MessageProperty(String name) { 37 this.name = name; 38 } 39 40 public MessageProperty(String name, Integer boolValue, Integer byteValue, Double doubleValue, Float floatValue, Integer intValue, Long longValue, String stringValue, byte[] objectValue, Message message) { 41 this.name = name; 42 this.boolValue = boolValue; 43 this.byteValue = byteValue; 44 this.doubleValue = doubleValue; 45 this.floatValue = floatValue; 46 this.intValue = intValue; 47 this.longValue = longValue; 48 this.stringValue = stringValue; 49 this.objectValue = objectValue; 50 this.message = message; 51 } 52 53 54 59 public Integer getId() { 60 return this.id; 61 } 62 63 public void setId(Integer id) { 64 this.id = id; 65 } 66 public String getName() { 67 return this.name; 68 } 69 70 public void setName(String name) { 71 this.name = name; 72 } 73 public Integer getBoolValue() { 74 return this.boolValue; 75 } 76 77 public void setBoolValue(Integer boolValue) { 78 this.boolValue = boolValue; 79 } 80 public Integer getByteValue() { 81 return this.byteValue; 82 } 83 84 public void setByteValue(Integer byteValue) { 85 this.byteValue = byteValue; 86 } 87 public Double getDoubleValue() { 88 return this.doubleValue; 89 } 90 91 public void setDoubleValue(Double doubleValue) { 92 this.doubleValue = doubleValue; 93 } 94 public Float getFloatValue() { 95 return this.floatValue; 96 } 97 98 public void setFloatValue(Float floatValue) { 99 this.floatValue = floatValue; 100 } 101 public Integer getIntValue() { 102 return this.intValue; 103 } 104 105 public void setIntValue(Integer intValue) { 106 this.intValue = intValue; 107 } 108 public Long getLongValue() { 109 return this.longValue; 110 } 111 112 public void setLongValue(Long longValue) { 113 this.longValue = longValue; 114 } 115 public String getStringValue() { 116 return this.stringValue; 117 } 118 119 public void setStringValue(String stringValue) { 120 this.stringValue = stringValue; 121 } 122 public byte[] getObjectValue() { 123 return this.objectValue; 124 } 125 126 public void setObjectValue(byte[] objectValue) { 127 this.objectValue = objectValue; 128 } 129 public Message getMessage() { 130 return this.message; 131 } 132 133 public void setMessage(Message message) { 134 this.message = message; 135 } 136 137 138 139 140 } 141 142 143 | Popular Tags |