Browse CVS Repository
Contents of /pal/wiki/src/main/java/jp/sf/pal/wiki/entity/WikiPage.java
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( show annotations)
( download)
( as text)
Thu Feb 1 22:30:24 2007 UTC
(17 years, 1 month ago)
by shinsuke
Branch: MAIN
CVS Tags: RELEASE-0_1, HEAD
File MIME type: text/x-java
added list page. supported WikiName.
| 1 |
/* |
| 2 |
* Copyright 2004-2006 The Portal Application Laboratory Team. |
| 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, |
| 13 |
* either express or implied. See the License for the specific language |
| 14 |
* governing permissions and limitations under the License. |
| 15 |
*/ |
| 16 |
package jp.sf.pal.wiki.entity; |
| 17 |
|
| 18 |
import java.io.File; |
| 19 |
import java.util.Date; |
| 20 |
|
| 21 |
/** |
| 22 |
* @author shinsuke |
| 23 |
* |
| 24 |
*/ |
| 25 |
public class WikiPage { |
| 26 |
private String pageName; |
| 27 |
|
| 28 |
private File file; |
| 29 |
|
| 30 |
private Date updated; |
| 31 |
|
| 32 |
/** |
| 33 |
* @return Returns the file. |
| 34 |
*/ |
| 35 |
public File getFile() { |
| 36 |
return file; |
| 37 |
} |
| 38 |
|
| 39 |
/** |
| 40 |
* @param file |
| 41 |
* The file to set. |
| 42 |
*/ |
| 43 |
public void setFile(File file) { |
| 44 |
this.file = file; |
| 45 |
} |
| 46 |
|
| 47 |
/** |
| 48 |
* @return Returns the title. |
| 49 |
*/ |
| 50 |
public String getPageName() { |
| 51 |
return pageName; |
| 52 |
} |
| 53 |
|
| 54 |
/** |
| 55 |
* @param title |
| 56 |
* The title to set. |
| 57 |
*/ |
| 58 |
public void setPageName(String title) { |
| 59 |
this.pageName = title; |
| 60 |
} |
| 61 |
|
| 62 |
/** |
| 63 |
* @return Returns the updated. |
| 64 |
*/ |
| 65 |
public Date getUpdated() { |
| 66 |
return updated; |
| 67 |
} |
| 68 |
|
| 69 |
/** |
| 70 |
* @param updated |
| 71 |
* The updated to set. |
| 72 |
*/ |
| 73 |
public void setUpdated(Date updated) { |
| 74 |
this.updated = updated; |
| 75 |
} |
| 76 |
|
| 77 |
/** |
| 78 |
* @return Returns the label. |
| 79 |
*/ |
| 80 |
public String getLabel() { |
| 81 |
return pageName; |
| 82 |
} |
| 83 |
|
| 84 |
/** |
| 85 |
* @return Returns the value. |
| 86 |
*/ |
| 87 |
public String getValue() { |
| 88 |
return pageName; |
| 89 |
} |
| 90 |
|
| 91 |
} |
|