public boolean equals( Object o ) { if ( this == o ) { return true; } if ( !( o instanceof ProteinParticipantTag ) ) { return false; } final ProteinParticipantTag proteinParticipantTag = (ProteinParticipantTag) o; if ( expressedIn != null ? !expressedIn.equals( proteinParticipantTag.expressedIn ) : proteinParticipantTag.expressedIn != null ) { return false; } if ( features != null ? !features.equals( proteinParticipantTag.features ) : proteinParticipantTag.features != null ) { return false; } if ( isOverExpressedProtein != null ? !isOverExpressedProtein.equals( proteinParticipantTag.isOverExpressedProtein ) : proteinParticipantTag.isOverExpressedProtein != null ) { return false; } if ( isTaggedProtein != null ? !isTaggedProtein.equals( proteinParticipantTag.isTaggedProtein ) : proteinParticipantTag.isTaggedProtein != null ) { return false; } if ( !proteinInteractor.equals( proteinParticipantTag.proteinInteractor ) ) { return false; } if ( !role.equals( proteinParticipantTag.role ) ) { return false; } return true; }
public int hashCode() { int result; result = proteinInteractor.hashCode(); result = 29 * result + role.hashCode(); result = 29 * result + ( expressedIn != null ? expressedIn.hashCode() : 0 ); result = 29 * result + ( features != null ? features.hashCode() : 0 ); result = 29 * result + ( isTaggedProtein != null ? isTaggedProtein.hashCode() : 0 ); result = 29 * result + ( isOverExpressedProtein != null ? isOverExpressedProtein.hashCode() : 0 ); return result; }
expressedInAnnotations.add( new ExpressedInTag( annotation ) ); } catch ( IllegalArgumentException e ) { MessageHolder.getInstance().addParserMessage( new Message( root, e.getMessage() ) ); for ( Iterator iterator = expressedInAnnotations.iterator(); iterator.hasNext() && null == expressedIn; ) { ExpressedInTag tmp = (ExpressedInTag) iterator.next(); if ( tmp.getProteinInteractorID().equals( id ) ) { expressedIn = tmp;
throw new IllegalArgumentException( "Could not check ExpressedInTag if the given parameter is null" ); String shortlabel = expressedIn.getBioSourceShortlabel();
expressedInAnnotations.add( new ExpressedInTag( annotation ) ); } catch ( IllegalArgumentException e ) { MessageHolder.getInstance().addParserMessage( new Message( root, e.getMessage() ) ); for ( Iterator iterator = expressedInAnnotations.iterator(); iterator.hasNext() && null == expressedIn; ) { ExpressedInTag tmp = (ExpressedInTag) iterator.next(); if ( tmp.getProteinInteractorID().equals( id ) ) { expressedIn = tmp;
throw new IllegalArgumentException( "Could not check ExpressedInTag if the given parameter is null" ); String shortlabel = expressedIn.getBioSourceShortlabel();
expressedInAnnotations.add( new ExpressedInTag( annotation ) ); } catch ( IllegalArgumentException e ) { MessageHolder.getInstance().addParserMessage( new Message( root, e.getMessage() ) ); for ( Iterator iterator = expressedInAnnotations.iterator(); iterator.hasNext() && null == expressedIn; ) { ExpressedInTag tmp = (ExpressedInTag) iterator.next(); if ( tmp.getProteinInteractorID().equals( id ) ) { expressedIn = tmp;
throw new IllegalArgumentException( "Could not check ExpressedInTag if the given parameter is null" ); String shortlabel = expressedIn.getBioSourceShortlabel();
public int hashCode() { int result; result = proteinInteractor.hashCode(); result = 29 * result + role.hashCode(); result = 29 * result + ( expressedIn != null ? expressedIn.hashCode() : 0 ); result = 29 * result + ( features != null ? features.hashCode() : 0 ); result = 29 * result + ( isTaggedProtein != null ? isTaggedProtein.hashCode() : 0 ); result = 29 * result + ( isOverExpressedProtein != null ? isOverExpressedProtein.hashCode() : 0 ); return result; }
public boolean equals( Object o ) { if ( this == o ) { return true; } if ( !( o instanceof ProteinParticipantTag ) ) { return false; } final ProteinParticipantTag proteinParticipantTag = (ProteinParticipantTag) o; if ( expressedIn != null ? !expressedIn.equals( proteinParticipantTag.expressedIn ) : proteinParticipantTag.expressedIn != null ) { return false; } if ( features != null ? !features.equals( proteinParticipantTag.features ) : proteinParticipantTag.features != null ) { return false; } if ( isOverExpressedProtein != null ? !isOverExpressedProtein.equals( proteinParticipantTag.isOverExpressedProtein ) : proteinParticipantTag.isOverExpressedProtein != null ) { return false; } if ( isTaggedProtein != null ? !isTaggedProtein.equals( proteinParticipantTag.isTaggedProtein ) : proteinParticipantTag.isTaggedProtein != null ) { return false; } if ( !proteinInteractor.equals( proteinParticipantTag.proteinInteractor ) ) { return false; } if ( !role.equals( proteinParticipantTag.role ) ) { return false; } return true; }
BioSource bs = ExpressedInChecker.getBioSource( expressedIn.getBioSourceShortlabel() ); component.setExpressedIn( bs ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getComponentDao().update( component );
public int hashCode() { int result; result = proteinInteractor.hashCode(); result = 29 * result + role.hashCode(); result = 29 * result + ( expressedIn != null ? expressedIn.hashCode() : 0 ); result = 29 * result + ( features != null ? features.hashCode() : 0 ); result = 29 * result + ( isTaggedProtein != null ? isTaggedProtein.hashCode() : 0 ); result = 29 * result + ( isOverExpressedProtein != null ? isOverExpressedProtein.hashCode() : 0 ); return result; }
public boolean equals( Object o ) { if ( this == o ) { return true; } if ( !( o instanceof ProteinParticipantTag ) ) { return false; } final ProteinParticipantTag proteinParticipantTag = (ProteinParticipantTag) o; if ( expressedIn != null ? !expressedIn.equals( proteinParticipantTag.expressedIn ) : proteinParticipantTag.expressedIn != null ) { return false; } if ( features != null ? !features.equals( proteinParticipantTag.features ) : proteinParticipantTag.features != null ) { return false; } if ( isOverExpressedProtein != null ? !isOverExpressedProtein.equals( proteinParticipantTag.isOverExpressedProtein ) : proteinParticipantTag.isOverExpressedProtein != null ) { return false; } if ( isTaggedProtein != null ? !isTaggedProtein.equals( proteinParticipantTag.isTaggedProtein ) : proteinParticipantTag.isTaggedProtein != null ) { return false; } if ( !proteinInteractor.equals( proteinParticipantTag.proteinInteractor ) ) { return false; } if ( !role.equals( proteinParticipantTag.role ) ) { return false; } return true; }
BioSource bs = ExpressedInChecker.getBioSource( expressedIn.getBioSourceShortlabel() ); component.setExpressedIn( bs ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getComponentDao().update( component );
BioSource bs = ExpressedInChecker.getBioSource( expressedIn.getBioSourceShortlabel() ); component.setExpressedIn( bs ); IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getComponentDao().update( component );