X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fuk%2Fac%2Fvamsas%2Fclient%2FSessionHandle.java;fp=src%2Fuk%2Fac%2Fvamsas%2Fclient%2FSessionHandle.java;h=72c6d98362a612fbb34792daa2eb334af8481617;hb=844ccad5a3fcbedec17b2af66d460f31abc7cff1;hp=3bd78c6f7b7ccc863c18ff4edb7fb3ac40109e96;hpb=6f33f705957d674dc2ab6c994a6ea87f7a91f40f;p=vamsas.git diff --git a/src/uk/ac/vamsas/client/SessionHandle.java b/src/uk/ac/vamsas/client/SessionHandle.java index 3bd78c6..72c6d98 100644 --- a/src/uk/ac/vamsas/client/SessionHandle.java +++ b/src/uk/ac/vamsas/client/SessionHandle.java @@ -1,6 +1,23 @@ /* - * Created on 12-Sep-2005 - * + * This file is part of the Vamsas Client version 0.1. + * Copyright 2009 by Jim Procter, Iain Milne, Pierre Marguerite, + * Andrew Waterhouse and Dominik Lindner. + * + * Earlier versions have also been incorporated into Jalview version 2.4 + * since 2008, and TOPALi version 2 since 2007. + * + * The Vamsas Client is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * The Vamsas Client is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with the Vamsas Client. If not, see . */ package uk.ac.vamsas.client; @@ -8,11 +25,12 @@ import java.io.Serializable; /** * Uniquely locates a particular VAMSAS session. + * * @author jimp - * + * */ public class SessionHandle implements Serializable { - + /** * @param sessionUrn */ @@ -20,37 +38,39 @@ public class SessionHandle implements Serializable { super(); this.sessionUrn = _sessionUrn; } + /** * @return Returns the sessionUrn. */ public String getSessionUrn() { return this.sessionUrn; } + /** - * @param sessionUrn The sessionUrn to set. + * @param sessionUrn + * The sessionUrn to set. */ public void setSessionUrn(String _sessionUrn) { - this.sessionUrn = _sessionUrn; + this.sessionUrn = _sessionUrn; } + /** * The path to the vamsas session file. */ String sessionUrn = null; - + /** * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { if (obj instanceof SessionHandle) - return this.equals((SessionHandle) obj); + return this.equals((SessionHandle) obj); return false; } - public boolean equals(SessionHandle that) { return (this.sessionUrn.equals(that.getSessionUrn())); } - - + }