View Javadoc

1   package com.atlassian.plugins.rest.doclet.generators.schema.beans.permissionscheme;
2   
3   import org.codehaus.jackson.annotate.JsonIgnore;
4   import org.codehaus.jackson.annotate.JsonProperty;
5   
6   import java.net.URI;
7   
8   /**
9    * @since v5.0
10   */
11  public class GroupJsonBean
12  {
13      @JsonProperty
14      private String name;
15  
16      @JsonProperty
17      private URI self;
18  
19      public GroupJsonBean()
20      {
21      }
22  
23      public GroupJsonBean(String name, URI self)
24      {
25          this.name = name;
26          this.self = self;
27      }
28  
29      public String getName()
30      {
31          return name;
32      }
33  
34      public void setName(String name)
35      {
36          this.name = name;
37      }
38  
39      public URI getSelf()
40      {
41          return self;
42      }
43  
44      @JsonIgnore
45      public void setSelf(URI self)
46      {
47          this.self = self;
48      }
49  }
50