001: /******************************************************************************
002: * JBoss, a division of Red Hat *
003: * Copyright 2006, Red Hat Middleware, LLC, and individual *
004: * contributors as indicated by the @authors tag. See the *
005: * copyright.txt in the distribution for a full listing of *
006: * individual contributors. *
007: * *
008: * This is free software; you can redistribute it and/or modify it *
009: * under the terms of the GNU Lesser General Public License as *
010: * published by the Free Software Foundation; either version 2.1 of *
011: * the License, or (at your option) any later version. *
012: * *
013: * This software is distributed in the hope that it will be useful, *
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of *
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
016: * Lesser General Public License for more details. *
017: * *
018: * You should have received a copy of the GNU Lesser General Public *
019: * License along with this software; if not, write to the Free *
020: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
021: * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
022: ******************************************************************************/package org.jboss.portal.wsrp.core;
023:
024: import java.io.Serializable;
025:
026: public class RegistrationData implements Serializable {
027: protected java.lang.String consumerName;
028: protected java.lang.String consumerAgent;
029: protected boolean methodGetSupported;
030: protected java.lang.String[] consumerModes;
031: protected java.lang.String[] consumerWindowStates;
032: protected java.lang.String[] consumerUserScopes;
033: protected java.lang.String[] customUserProfileData;
034: protected org.jboss.portal.wsrp.core.Property[] registrationProperties;
035: protected org.jboss.portal.wsrp.core.Extension[] extensions;
036:
037: public RegistrationData() {
038: }
039:
040: public RegistrationData(
041: java.lang.String consumerName,
042: java.lang.String consumerAgent,
043: boolean methodGetSupported,
044: java.lang.String[] consumerModes,
045: java.lang.String[] consumerWindowStates,
046: java.lang.String[] consumerUserScopes,
047: java.lang.String[] customUserProfileData,
048: org.jboss.portal.wsrp.core.Property[] registrationProperties,
049: org.jboss.portal.wsrp.core.Extension[] extensions) {
050: this .consumerName = consumerName;
051: this .consumerAgent = consumerAgent;
052: this .methodGetSupported = methodGetSupported;
053: this .consumerModes = consumerModes;
054: this .consumerWindowStates = consumerWindowStates;
055: this .consumerUserScopes = consumerUserScopes;
056: this .customUserProfileData = customUserProfileData;
057: this .registrationProperties = registrationProperties;
058: this .extensions = extensions;
059: }
060:
061: public java.lang.String getConsumerName() {
062: return consumerName;
063: }
064:
065: public void setConsumerName(java.lang.String consumerName) {
066: this .consumerName = consumerName;
067: }
068:
069: public java.lang.String getConsumerAgent() {
070: return consumerAgent;
071: }
072:
073: public void setConsumerAgent(java.lang.String consumerAgent) {
074: this .consumerAgent = consumerAgent;
075: }
076:
077: public boolean isMethodGetSupported() {
078: return methodGetSupported;
079: }
080:
081: public void setMethodGetSupported(boolean methodGetSupported) {
082: this .methodGetSupported = methodGetSupported;
083: }
084:
085: public java.lang.String[] getConsumerModes() {
086: return consumerModes;
087: }
088:
089: public void setConsumerModes(java.lang.String[] consumerModes) {
090: this .consumerModes = consumerModes;
091: }
092:
093: public java.lang.String[] getConsumerWindowStates() {
094: return consumerWindowStates;
095: }
096:
097: public void setConsumerWindowStates(
098: java.lang.String[] consumerWindowStates) {
099: this .consumerWindowStates = consumerWindowStates;
100: }
101:
102: public java.lang.String[] getConsumerUserScopes() {
103: return consumerUserScopes;
104: }
105:
106: public void setConsumerUserScopes(
107: java.lang.String[] consumerUserScopes) {
108: this .consumerUserScopes = consumerUserScopes;
109: }
110:
111: public java.lang.String[] getCustomUserProfileData() {
112: return customUserProfileData;
113: }
114:
115: public void setCustomUserProfileData(
116: java.lang.String[] customUserProfileData) {
117: this .customUserProfileData = customUserProfileData;
118: }
119:
120: public org.jboss.portal.wsrp.core.Property[] getRegistrationProperties() {
121: return registrationProperties;
122: }
123:
124: public void setRegistrationProperties(
125: org.jboss.portal.wsrp.core.Property[] registrationProperties) {
126: this .registrationProperties = registrationProperties;
127: }
128:
129: public org.jboss.portal.wsrp.core.Extension[] getExtensions() {
130: return extensions;
131: }
132:
133: public void setExtensions(
134: org.jboss.portal.wsrp.core.Extension[] extensions) {
135: this.extensions = extensions;
136: }
137: }
|