X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fschemabinding%2Fversion2%2FMapListType.java;h=a4097a5b3be145361b104bfcc2e16c2be78329ae;hb=6b71746c98f7c1118b474b0b920db3bd7b2a15c0;hp=efb1bc58905d2a64375ec8c25d463288a3095dad;hpb=506d60f0e188723ddc91c26824b41ac7034df3fe;p=jalview.git diff --git a/src/jalview/schemabinding/version2/MapListType.java b/src/jalview/schemabinding/version2/MapListType.java index efb1bc5..a4097a5 100644 --- a/src/jalview/schemabinding/version2/MapListType.java +++ b/src/jalview/schemabinding/version2/MapListType.java @@ -1,26 +1,25 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4) - * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6) + * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * This file is part of Jalview. * - * This program 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 General Public License for more details. + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * Jalview 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with Jalview. If not, see . */ package jalview.schemabinding.version2; -// ---------------------------------/ -// - Imported classes and packages -/ -// ---------------------------------/ +//---------------------------------/ +//- Imported classes and packages -/ +//---------------------------------/ import org.exolab.castor.xml.Marshaller; import org.exolab.castor.xml.Unmarshaller; @@ -99,7 +98,7 @@ public class MapListType implements java.io.Serializable * * @param vMapListFrom * @throws java.lang.IndexOutOfBoundsException - * if the index given is outside the bounds of the collection + * if the index given is outside the bounds of the collection */ public void addMapListFrom( final jalview.schemabinding.version2.MapListFrom vMapListFrom) @@ -114,7 +113,7 @@ public class MapListType implements java.io.Serializable * @param index * @param vMapListFrom * @throws java.lang.IndexOutOfBoundsException - * if the index given is outside the bounds of the collection + * if the index given is outside the bounds of the collection */ public void addMapListFrom(final int index, final jalview.schemabinding.version2.MapListFrom vMapListFrom) @@ -128,7 +127,7 @@ public class MapListType implements java.io.Serializable * * @param vMapListTo * @throws java.lang.IndexOutOfBoundsException - * if the index given is outside the bounds of the collection + * if the index given is outside the bounds of the collection */ public void addMapListTo( final jalview.schemabinding.version2.MapListTo vMapListTo) @@ -143,7 +142,7 @@ public class MapListType implements java.io.Serializable * @param index * @param vMapListTo * @throws java.lang.IndexOutOfBoundsException - * if the index given is outside the bounds of the collection + * if the index given is outside the bounds of the collection */ public void addMapListTo(final int index, final jalview.schemabinding.version2.MapListTo vMapListTo) @@ -153,14 +152,14 @@ public class MapListType implements java.io.Serializable } /** - */ + */ public void deleteMapFromUnit() { this._has_mapFromUnit = false; } /** - */ + */ public void deleteMapToUnit() { this._has_mapToUnit = false; @@ -208,7 +207,7 @@ public class MapListType implements java.io.Serializable * * @param index * @throws java.lang.IndexOutOfBoundsException - * if the index given is outside the bounds of the collection + * if the index given is outside the bounds of the collection * @return the value of the jalview.schemabinding.version2.MapListFrom at the * given index */ @@ -258,7 +257,7 @@ public class MapListType implements java.io.Serializable * * @param index * @throws java.lang.IndexOutOfBoundsException - * if the index given is outside the bounds of the collection + * if the index given is outside the bounds of the collection * @return the value of the jalview.schemabinding.version2.MapListTo at the * given index */ @@ -360,11 +359,10 @@ public class MapListType implements java.io.Serializable * * @param out * @throws org.exolab.castor.xml.MarshalException - * if object is null or if any SAXException is thrown during - * marshaling + * if object is null or if any SAXException is thrown during + * marshaling * @throws org.exolab.castor.xml.ValidationException - * if this object is an invalid instance according to the - * schema + * if this object is an invalid instance according to the schema */ public void marshal(final java.io.Writer out) throws org.exolab.castor.xml.MarshalException, @@ -378,13 +376,12 @@ public class MapListType implements java.io.Serializable * * @param handler * @throws java.io.IOException - * if an IOException occurs during marshaling + * if an IOException occurs during marshaling * @throws org.exolab.castor.xml.ValidationException - * if this object is an invalid instance according to the - * schema + * if this object is an invalid instance according to the schema * @throws org.exolab.castor.xml.MarshalException - * if object is null or if any SAXException is thrown during - * marshaling + * if object is null or if any SAXException is thrown during + * marshaling */ public void marshal(final org.xml.sax.ContentHandler handler) throws java.io.IOException, @@ -395,14 +392,14 @@ public class MapListType implements java.io.Serializable } /** - */ + */ public void removeAllMapListFrom() { this._mapListFromList.clear(); } /** - */ + */ public void removeAllMapListTo() { this._mapListToList.clear(); @@ -469,7 +466,7 @@ public class MapListType implements java.io.Serializable * sequence involved in the mapping. * * @param mapFromUnit - * the value of field 'mapFromUnit'. + * the value of field 'mapFromUnit'. */ public void setMapFromUnit(final long mapFromUnit) { @@ -483,7 +480,7 @@ public class MapListType implements java.io.Serializable * @param index * @param vMapListFrom * @throws java.lang.IndexOutOfBoundsException - * if the index given is outside the bounds of the collection + * if the index given is outside the bounds of the collection */ public void setMapListFrom(final int index, final jalview.schemabinding.version2.MapListFrom vMapListFrom) @@ -523,7 +520,7 @@ public class MapListType implements java.io.Serializable * @param index * @param vMapListTo * @throws java.lang.IndexOutOfBoundsException - * if the index given is outside the bounds of the collection + * if the index given is outside the bounds of the collection */ public void setMapListTo(final int index, final jalview.schemabinding.version2.MapListTo vMapListTo) @@ -566,7 +563,7 @@ public class MapListType implements java.io.Serializable * sequence involved in the mapping. * * @param mapToUnit - * the value of field 'mapToUnit'. + * the value of field 'mapToUnit'. */ public void setMapToUnit(final long mapToUnit) { @@ -579,11 +576,10 @@ public class MapListType implements java.io.Serializable * * @param reader * @throws org.exolab.castor.xml.MarshalException - * if object is null or if any SAXException is thrown during - * marshaling + * if object is null or if any SAXException is thrown during + * marshaling * @throws org.exolab.castor.xml.ValidationException - * if this object is an invalid instance according to the - * schema + * if this object is an invalid instance according to the schema * @return the unmarshaled jalview.schemabinding.version2.MapListType */ public static jalview.schemabinding.version2.MapListType unmarshal( @@ -600,8 +596,7 @@ public class MapListType implements java.io.Serializable * * * @throws org.exolab.castor.xml.ValidationException - * if this object is an invalid instance according to the - * schema + * if this object is an invalid instance according to the schema */ public void validate() throws org.exolab.castor.xml.ValidationException {