// Copyright (C) 2008-2009 Christian M. Zmasek
// Copyright (C) 2008-2009 Burnham Institute for Medical Research
// All rights reserved
-//
+//
// This library 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
// 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 this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
package org.forester.go;
init();
}
+ @Override
public StringBuffer asSimpleText() {
return new StringBuffer( getGoId().toString() );
}
+ @Override
public StringBuffer asText() {
return new StringBuffer( toString() );
}
* Compares based on GO id.
*
*/
+ @Override
public int compareTo( final GoTerm go_term ) {
return getGoId().compareTo( go_term.getGoId() );
}
*
*
*/
+ @Override
public PhylogenyData copy() {
final BasicGoTerm gt = new BasicGoTerm( getGoId(), getName(), getGoNameSpace(), isObsolete() );
gt.setGoXrefs( getGoXRefs() );
}
}
+ @Override
public List<GoId> getAltIds() {
return _alt_ids;
}
return _definition;
}
+ @Override
public GoId getGoId() {
return _id;
}
+ @Override
public GoNameSpace getGoNameSpace() {
return _namespace;
}
return _go_subsets;
}
+ @Override
public List<GoXRef> getGoXRefs() {
return _go_xrefs;
}
+ @Override
public String getName() {
return _name;
}
+ @Override
public List<GoId> getSuperGoIds() {
return _super_go_ids;
}
setComment( "" );
}
+ @Override
public boolean isEqual( final PhylogenyData go_term ) {
return equals( go_term );
}
+ @Override
public boolean isObsolete() {
return _is_obsolete;
}
_super_go_ids = super_terms;
}
+ @Override
public StringBuffer toNHX() {
throw new UnsupportedOperationException();
}
+ @Override
public void toPhyloXML( final Writer writer, final int level, final String indentation ) throws IOException {
throw new UnsupportedOperationException();
}