taylor 2004/12/22 09:51:41 Added: portals-bridges/common/src/java/org/apache/portals/bridges/beans TabBean.java Log: http://nagoya.apache.org/jira/browse/JS2-175 Moved common beans into common bridges
PR: CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.1 jakarta-jetspeed-2/portals-bridges/common/src/java/org/apache/portals/bridges/beans/TabBean.java Index: TabBean.java =================================================================== /* * Copyright 2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.portals.bridges.beans; /** * * @author <a href="mailto:[EMAIL PROTECTED]">Jeremy Ford</a> * @version $ID$ */ public class TabBean { private String id; public TabBean() { } public TabBean(String id) { this.id = id; } /** * @return Returns the id. */ public String getId() { return id; } /** * @param id The id to set. */ public void setId(String id) { this.id = id; } public boolean equals(Object obj) { boolean result = false; if(obj instanceof TabBean) { TabBean tab = (TabBean)obj; result = tab.id.equals(id); } return result; } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]