This project has retired. For details please refer to its Attic page.
SignatureMethod xref
View Javadoc
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 at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * 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 and
14   * limitations under the License.
15   */
16  package org.apache.juddi.model;
17  
18  import javax.persistence.Column;
19  import javax.persistence.Entity;
20  import javax.persistence.GeneratedValue;
21  import javax.persistence.GenerationType;
22  import javax.persistence.Id;
23  import javax.persistence.Table;
24  
25  /**
26   *
27   */
28  @Entity
29  @Table(name="j3_signature_method")
30  public class SignatureMethod {
31      private Long id;
32      private String algorithm;
33      
34      @Id
35      @GeneratedValue(strategy=GenerationType.AUTO)
36      public Long getId() {
37          return id;
38      }
39  
40      public void setId(Long id) {
41          this.id = id;
42      }
43  
44      @Column(name="algorithm")
45      public String getAlgorithm() {
46          return algorithm;
47      }
48  
49      public void setAlgorithm(String algorithm) {
50          this.algorithm = algorithm;
51      }
52  }