View Javadoc

1   package org.lsst.ccs.config;
2   
3   import javax.persistence.Entity;
4   import javax.persistence.GeneratedValue;
5   import javax.persistence.Id;
6   import java.io.Serializable;
7   
8   /**
9    * A deployment descriptor is a key for a set of deployed jars.
10   */
11  @Entity
12  public class DeploymentDescriptor implements Serializable {
13      private static final long serialVersionUID = 3961785339431413471L;
14      @Id
15      @GeneratedValue
16      private long id;
17  
18      //@NaturalId
19      private String descriptor ;
20  
21      public String getDescriptor() {
22          return descriptor;
23      }
24  
25      public void setDescriptor(String descriptor) {
26          this.descriptor = descriptor;
27      }
28  
29      public long getId() {
30          return id;
31      }
32  
33      void setId(long id) {
34          this.id = id;
35      }
36  
37      protected DeploymentDescriptor() {
38      }
39  }