1/*2 * Copyright 2012 The Apache Software Foundation.3 *4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 *8 * http://www.apache.org/licenses/LICENSE-2.09 *10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */16package org.apache.juddi.model;
1718import javax.persistence.Column;
19import javax.persistence.Entity;
20import javax.persistence.GeneratedValue;
21import javax.persistence.GenerationType;
22import javax.persistence.Id;
23import javax.persistence.Lob;
24import javax.persistence.Table;
2526/**27 *28 */29 @Entity
30 @Table(name="j3_signature_value")
31publicclassSignatureValueimplements java.io.Serializable {
32privatestaticfinallong serialVersionUID = -3233157941119408717L;
3334private Long id;
35private byte[] value;
36private String xmlID;
3738 @Id
39 @GeneratedValue(strategy=GenerationType.AUTO)
40public Long getId() {
41return id;
42 }
4344publicvoid setId(Long id) {
45this.id = id;
46 }
4748 @Column(name="value_bytes", length = 65636)
49 @Lob
50public byte[] getValue() {
51return value;
52 }
5354publicvoid setValue(byte[] value) {
55this.value = value;
56 }
5758 @Column(name="xml_id")
59public String getXmlID() {
60return xmlID;
61 }
6263publicvoid setXmlID(String xmlID) {
64this.xmlID = xmlID;
65 }
66 }