Use an edition instead of a site.
[arachne.git] / src / net / pterodactylus / arachne / core / Page.java
index 8c4ae44..a833fab 100644 (file)
@@ -4,15 +4,15 @@
 package net.pterodactylus.arachne.core;
 
 /**
- * Container for a page. A page consists of a {@link Site} and a path within the
- * site.
+ * Container for a page. A page consists of an {@link Edition} and a path within
+ * the edition.
  *
  * @author David ‘Bombe’ Roden <bombe@pterodactylus.net>
  */
 public class Page {
 
-       /** The site of the page. */
-       private final Site site;
+       /** The edition of the page. */
+       private final Edition edition;
 
        /** The path of the page. */
        private final String path;
@@ -20,23 +20,23 @@ public class Page {
        /**
         * Creates a new page.
         *
-        * @param site
-        *            The site of the page
+        * @param edition
+        *            The edition of the page
         * @param path
         *            The path of the page
         */
-       public Page(Site site, String path) {
-               this.site = site;
+       public Page(Edition edition, String path) {
+               this.edition = edition;
                this.path = path;
        }
 
        /**
-        * Returns the site of the page.
+        * Returns the edition of the page.
         *
-        * @return The page’s site
+        * @return The page’s edition
         */
-       public Site getSite() {
-               return site;
+       public Edition getSite() {
+               return edition;
        }
 
        /**