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 * @author jsightler28 */29 @Entity
30 @Table(name="j3_canonicalization_method")
31publicclassCanonicalizationMethod {
32private Long id;
33private String algorithm;
3435 @Id
36 @GeneratedValue(strategy=GenerationType.AUTO)
37public Long getId() {
38return id;
39 }
4041publicvoid setId(Long id) {
42this.id = id;
43 }
4445 @Column(name="algorithm")
46public String getAlgorithm() {
47return algorithm;
48 }
4950publicvoid setAlgorithm(String algorithm) {
51this.algorithm = algorithm;
52 }
53 }