X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FFeature.java;h=7ee1fb121f9830e0adeb3c17a8f84e0fafa3be98;hb=e775f1627590b62ccad7cc5104667d347079497b;hp=509d0e6fad8740f95f2037e825c396d2a132cfac;hpb=506d60f0e188723ddc91c26824b41ac7034df3fe;p=jalview.git diff --git a/src/jalview/binding/Feature.java b/src/jalview/binding/Feature.java old mode 100755 new mode 100644 index 509d0e6..7ee1fb1 --- a/src/jalview/binding/Feature.java +++ b/src/jalview/binding/Feature.java @@ -1,26 +1,28 @@ /* - * 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.8.2) + * Copyright (C) 2014 The Jalview Authors * - * 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. + * + * 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 this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. */ package jalview.binding; -// ---------------------------------/ -// - Imported classes and packages -/ -// ---------------------------------/ +//---------------------------------/ +//- Imported classes and packages -/ +//---------------------------------/ import org.exolab.castor.xml.Marshaller; import org.exolab.castor.xml.Unmarshaller; @@ -86,14 +88,14 @@ public class Feature implements java.io.Serializable // -----------/ /** - */ + */ public void deleteBegin() { this._has_begin = false; } /** - */ + */ public void deleteEnd() { this._has_end = false; @@ -191,11 +193,10 @@ public class Feature 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, @@ -209,13 +210,12 @@ public class Feature 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, @@ -229,7 +229,7 @@ public class Feature implements java.io.Serializable * Sets the value of field 'begin'. * * @param begin - * the value of field 'begin'. + * the value of field 'begin'. */ public void setBegin(final int begin) { @@ -241,7 +241,7 @@ public class Feature implements java.io.Serializable * Sets the value of field 'description'. * * @param description - * the value of field 'description'. + * the value of field 'description'. */ public void setDescription(final java.lang.String description) { @@ -252,7 +252,7 @@ public class Feature implements java.io.Serializable * Sets the value of field 'end'. * * @param end - * the value of field 'end'. + * the value of field 'end'. */ public void setEnd(final int end) { @@ -264,7 +264,7 @@ public class Feature implements java.io.Serializable * Sets the value of field 'status'. * * @param status - * the value of field 'status'. + * the value of field 'status'. */ public void setStatus(final java.lang.String status) { @@ -275,7 +275,7 @@ public class Feature implements java.io.Serializable * Sets the value of field 'type'. * * @param type - * the value of field 'type'. + * the value of field 'type'. */ public void setType(final java.lang.String type) { @@ -287,11 +287,10 @@ public class Feature 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.binding.Feature */ public static jalview.binding.Feature unmarshal( @@ -307,8 +306,7 @@ public class Feature 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 {