View Javadoc
1   /*
2    * Licensed under the GPL License. You may not use this file except in compliance with the License.
3    * You may obtain a copy of the License at
4    *
5    *   https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
6    *
7    * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
8    * WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
9    * PURPOSE.
10   */
11  package psiprobe.model;
12  
13  /**
14   * POJO representing application "resource" in Tomcat.
15   */
16  public class ApplicationResource {
17  
18    /** The application name. */
19    private String applicationName;
20  
21    /** The name. */
22    private String name;
23  
24    /** The type. */
25    private String type;
26  
27    /** The scope. */
28    private String scope;
29  
30    /** The auth. */
31    private String auth;
32  
33    /** The link to. */
34    private String linkTo;
35  
36    /** The description. */
37    private String description;
38  
39    /** The looked up. */
40    private boolean lookedUp;
41  
42    /** The data source info. */
43    private DataSourceInfo dataSourceInfo;
44  
45    /**
46     * Gets the application name.
47     *
48     * @return the application name
49     */
50    public String getApplicationName() {
51      return applicationName;
52    }
53  
54    /**
55     * Sets the application name.
56     *
57     * @param applicationName the new application name
58     */
59    public void setApplicationName(String applicationName) {
60      this.applicationName = applicationName;
61    }
62  
63    /**
64     * Gets the name.
65     *
66     * @return the name
67     */
68    public String getName() {
69      return name;
70    }
71  
72    /**
73     * Sets the name.
74     *
75     * @param name the new name
76     */
77    public void setName(String name) {
78      this.name = name;
79    }
80  
81    /**
82     * Gets the type.
83     *
84     * @return the type
85     */
86    public String getType() {
87      return type;
88    }
89  
90    /**
91     * Sets the type.
92     *
93     * @param type the new type
94     */
95    public void setType(String type) {
96      this.type = type;
97    }
98  
99    /**
100    * Gets the scope.
101    *
102    * @return the scope
103    */
104   public String getScope() {
105     return scope;
106   }
107 
108   /**
109    * Sets the scope.
110    *
111    * @param scope the new scope
112    */
113   public void setScope(String scope) {
114     this.scope = scope;
115   }
116 
117   /**
118    * Gets the auth.
119    *
120    * @return the auth
121    */
122   public String getAuth() {
123     return auth;
124   }
125 
126   /**
127    * Sets the auth.
128    *
129    * @param auth the new auth
130    */
131   public void setAuth(String auth) {
132     this.auth = auth;
133   }
134 
135   /**
136    * Gets the description.
137    *
138    * @return the description
139    */
140   public String getDescription() {
141     return description;
142   }
143 
144   /**
145    * Sets the description.
146    *
147    * @param description the new description
148    */
149   public void setDescription(String description) {
150     this.description = description;
151   }
152 
153   /**
154    * Gets the data source info.
155    *
156    * @return the data source info
157    */
158   public DataSourceInfo getDataSourceInfo() {
159     return dataSourceInfo;
160   }
161 
162   /**
163    * Sets the data source info.
164    *
165    * @param dataSourceInfo the new data source info
166    */
167   public void setDataSourceInfo(DataSourceInfo dataSourceInfo) {
168     this.dataSourceInfo = dataSourceInfo;
169   }
170 
171   /**
172    * Checks if is looked up.
173    *
174    * @return true, if is looked up
175    */
176   public boolean isLookedUp() {
177     return lookedUp;
178   }
179 
180   /**
181    * Sets the looked up.
182    *
183    * @param lookedUp the new looked up
184    */
185   public void setLookedUp(boolean lookedUp) {
186     this.lookedUp = lookedUp;
187   }
188 
189   /**
190    * Gets the link to.
191    *
192    * @return the link to
193    */
194   public String getLinkTo() {
195     return linkTo;
196   }
197 
198   /**
199    * Sets the link to.
200    *
201    * @param linkTo the new link to
202    */
203   public void setLinkTo(String linkTo) {
204     this.linkTo = linkTo;
205   }
206 
207 }