else if ( type.toLowerCase().equals( OCCURS_IN_STR ) ) {
_type = Type.OCCURS_IN;
}
+ else if ( type.toLowerCase().equals( HAPPENS_DURING_STR ) ) {
+ _type = Type.HAPPENS_DURING;
+ }
+ else if ( type.toLowerCase().equals(ENDS_DURING_STR ) ) {
+ _type = Type.ENDS_DURING;
+ }
else {
throw new IllegalArgumentException( "unknown GO relationship type: " + type );
}
/**
* Based on value and type.
- *
- *
+ *
+ *
*/
@Override
public boolean equals( final Object o ) {
case HAS_PART:
sb.append( HAS_PART_STR );
break;
- case OCCURS_IN:
+ case OCCURS_IN:
sb.append( OCCURS_IN_STR );
break;
default: