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.Table;
2425/**26 *27 */28 @Entity
29 @Table(name="j3_signature_method")
30publicclassSignatureMethod {
31private Long id;
32private String algorithm;
3334 @Id
35 @GeneratedValue(strategy=GenerationType.AUTO)
36public Long getId() {
37return id;
38 }
3940publicvoid setId(Long id) {
41this.id = id;
42 }
4344 @Column(name="algorithm")
45public String getAlgorithm() {
46return algorithm;
47 }
4849publicvoid setAlgorithm(String algorithm) {
50this.algorithm = algorithm;
51 }
52 }