// 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;
else if ( type.toLowerCase().equals( HAS_PART_STR ) ) {
_type = Type.HAS_PART;
}
+ else if ( type.toLowerCase().equals( OCCURS_IN_STR ) ) {
+ _type = Type.OCCURS_IN;
+ }
else {
throw new IllegalArgumentException( "unknown GO relationship type: " + type );
}
case HAS_PART:
sb.append( HAS_PART_STR );
break;
+ case OCCURS_IN:
+ sb.append( OCCURS_IN_STR );
+ break;
default:
new IllegalStateException( "unknown type: " + getType() );
}