File Source: IncomingReferrer.java

         /* 
    P/P   *  Method: org.apache.roller.weblogger.business.referrers.IncomingReferrer__static_init
          */
     1  /*
     2  * Licensed to the Apache Software Foundation (ASF) under one or more
     3  *  contributor license agreements.  The ASF licenses this file to You
     4  * under the Apache License, Version 2.0 (the "License"); you may not
     5  * 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.  For additional information regarding
    15  * copyright in this work, please see the NOTICE file in the top level
    16  * directory of this distribution.
    17  */
    18  /*
    19   * IncomingReferrer.java
    20   *
    21   * Created on December 20, 2005, 3:39 PM
    22   */
    23  
    24  package org.apache.roller.weblogger.business.referrers;
    25  
    26  /**
    27   * Represents an incoming (unprocessed) referrer.
    28   *
    29   * @author Allen Gilliland
    30   */
    31  public class IncomingReferrer {
    32      
    33      private String referrerUrl = null;
    34      private String requestUrl = null;
    35      private String weblogHandle = null;
    36      private String weblogAnchor = null;
    37      private String weblogDateString = null;
    38      
    39      
             /* 
    P/P       *  Method: void org.apache.roller.weblogger.business.referrers.IncomingReferrer()
              * 
              *  Postconditions:
              *    this.referrerUrl == null
              *    this.requestUrl == null
              *    this.weblogAnchor == null
              *    this.weblogDateString == null
              *    this.weblogHandle == null
              */
    40      public IncomingReferrer() {}
    41  
    42      public String getReferrerUrl() {
                 /* 
    P/P           *  Method: String getReferrerUrl()
                  * 
                  *  Preconditions:
                  *    init'ed(this.referrerUrl)
                  * 
                  *  Postconditions:
                  *    return_value == this.referrerUrl
                  *    init'ed(return_value)
                  */
    43          return referrerUrl;
    44      }
    45  
    46      public void setReferrerUrl(String referrerUrl) {
                 /* 
    P/P           *  Method: void setReferrerUrl(String)
                  * 
                  *  Postconditions:
                  *    this.referrerUrl == referrerUrl
                  *    init'ed(this.referrerUrl)
                  */
    47          this.referrerUrl = referrerUrl;
    48      }
    49  
    50      public String getRequestUrl() {
                 /* 
    P/P           *  Method: String getRequestUrl()
                  * 
                  *  Preconditions:
                  *    init'ed(this.requestUrl)
                  * 
                  *  Postconditions:
                  *    return_value == this.requestUrl
                  *    init'ed(return_value)
                  */
    51          return requestUrl;
    52      }
    53  
    54      public void setRequestUrl(String requestUrl) {
                 /* 
    P/P           *  Method: void setRequestUrl(String)
                  * 
                  *  Postconditions:
                  *    this.requestUrl == requestUrl
                  *    init'ed(this.requestUrl)
                  */
    55          this.requestUrl = requestUrl;
    56      }
    57  
    58      public String getWeblogHandle() {
                 /* 
    P/P           *  Method: String getWeblogHandle()
                  * 
                  *  Preconditions:
                  *    init'ed(this.weblogHandle)
                  * 
                  *  Postconditions:
                  *    return_value == this.weblogHandle
                  *    init'ed(return_value)
                  */
    59          return weblogHandle;
    60      }
    61  
    62      public void setWeblogHandle(String weblogHandle) {
                 /* 
    P/P           *  Method: void setWeblogHandle(String)
                  * 
                  *  Postconditions:
                  *    this.weblogHandle == weblogHandle
                  *    init'ed(this.weblogHandle)
                  */
    63          this.weblogHandle = weblogHandle;
    64      }
    65  
    66      public String getWeblogAnchor() {
                 /* 
    P/P           *  Method: String getWeblogAnchor()
                  * 
                  *  Preconditions:
                  *    init'ed(this.weblogAnchor)
                  * 
                  *  Postconditions:
                  *    return_value == this.weblogAnchor
                  *    init'ed(return_value)
                  */
    67          return weblogAnchor;
    68      }
    69  
    70      public void setWeblogAnchor(String weblogAnchor) {
                 /* 
    P/P           *  Method: void setWeblogAnchor(String)
                  * 
                  *  Postconditions:
                  *    this.weblogAnchor == weblogAnchor
                  *    init'ed(this.weblogAnchor)
                  */
    71          this.weblogAnchor = weblogAnchor;
    72      }
    73  
    74      public String getWeblogDateString() {
                 /* 
    P/P           *  Method: String getWeblogDateString()
                  * 
                  *  Preconditions:
                  *    init'ed(this.weblogDateString)
                  * 
                  *  Postconditions:
                  *    return_value == this.weblogDateString
                  *    init'ed(return_value)
                  */
    75          return weblogDateString;
    76      }
    77  
    78      public void setWeblogDateString(String weblogDateString) {
                 /* 
    P/P           *  Method: void setWeblogDateString(String)
                  * 
                  *  Postconditions:
                  *    this.weblogDateString == weblogDateString
                  *    init'ed(this.weblogDateString)
                  */
    79          this.weblogDateString = weblogDateString;
    80      }
    81      
    82  }








SofCheck Inspector Build Version : 2.18479
IncomingReferrer.java 2009-Jan-02 14:25:16
IncomingReferrer.class 2009-Sep-04 03:12:30