001: /**
002: * Copyright (c) 2007, Aberystwyth University
003: *
004: * All rights reserved.
005: *
006: * Redistribution and use in source and binary forms, with or without
007: * modification, are permitted provided that the following conditions
008: * are met:
009: *
010: * - Redistributions of source code must retain the above
011: * copyright notice, this list of conditions and the
012: * following disclaimer.
013: *
014: * - Redistributions in binary form must reproduce the above copyright
015: * notice, this list of conditions and the following disclaimer in
016: * the documentation and/or other materials provided with the
017: * distribution.
018: *
019: * - Neither the name of the Centre for Advanced Software and
020: * Intelligent Systems (CASIS) nor the names of its
021: * contributors may be used to endorse or promote products derived
022: * from this software without specific prior written permission.
023: *
024: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
025: * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
026: * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
027: * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
028: * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
029: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
030: * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
031: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
032: * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
033: * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
034: * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
035: * SUCH DAMAGE.
036: */package org.purl.sword.base;
037:
038: /**
039: * Represents a ServiceDocumentRequest.
040: *
041: * @author Stuart Lewis
042: *
043: */
044: public class ServiceDocumentRequest {
045:
046: private String username;
047:
048: private String password;
049:
050: private String onBehalfOf;
051:
052: private String IPAddress;
053:
054: /**
055: * @return the authenticatedUserName
056: */
057: public String getUsername() {
058: return username;
059: }
060:
061: /**
062: * @param authenticatedUserName the authenticatedUserName to set
063: */
064: public void setUsername(String username) {
065: this .username = username;
066: }
067:
068: /**
069: * @return the authenticatedUserPassword
070: */
071: public String getPassword() {
072: return password;
073: }
074:
075: /**
076: * @param password the password to set
077: */
078: public void setPassword(String password) {
079: this .password = password;
080: }
081:
082: /**
083: * @return the onBehalfOf
084: */
085: public String getOnBehalfOf() {
086: return onBehalfOf;
087: }
088:
089: /**
090: * @param onBehalfOf the onBehalfOf to set
091: */
092: public void setOnBehalfOf(String onBehalfOf) {
093: this .onBehalfOf = onBehalfOf;
094: }
095:
096: /**
097: * Get the IP address of the user
098: *
099: * @return the the IP address
100: */
101: public String getIPAddress() {
102: return IPAddress;
103: }
104:
105: /**
106: * Set the IP address of the user
107: *
108: * @param String the IP address
109: */
110: public void setIPAddress(String IPAddress) {
111: this.IPAddress = IPAddress;
112: }
113: }
|