KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis2 > deployment > repository > util > WSInfo


1 /*
2  * Copyright 2004,2005 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
17 package org.apache.axis2.deployment.repository.util;
18
19
20 public class WSInfo {
21
22     private String JavaDoc filename;
23     private long lastmodifieddate;
24     /**
25      * To check whether the file is a module or a servise
26      */

27     private int type;
28
29     public WSInfo(String JavaDoc filename, long lastmodifieddate) {
30         this.filename = filename;
31         this.lastmodifieddate = lastmodifieddate;
32     }
33
34     public WSInfo(String JavaDoc filename, long lastmodifieddate, int type) {
35         this.filename = filename;
36         this.lastmodifieddate = lastmodifieddate;
37         this.type = type;
38     }
39
40     public String JavaDoc getFilename() {
41         return filename;
42     }
43
44     public void setFilename(String JavaDoc filename) {
45         this.filename = filename;
46     }
47
48     public long getLastmodifieddate() {
49         return lastmodifieddate;
50     }
51
52     public void setLastmodifieddate(long lastmodifieddate) {
53         this.lastmodifieddate = lastmodifieddate;
54     }
55
56     public int getType() {
57         return type;
58     }
59 }
60
Popular Tags