private Element createDissociationConstant( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createDissociationConstant( session, parent, interaction ); }
/** * Generate the xref tag of the given protein. That content is attached to the given parent Element. <br> * <pre> * Rules: * ----- * primaryRef: is the AC of the interaction object * secondaryRef: any other Xrefs * </pre> * * @param session * @param parent the interaction Element to which we will attach the Xref Element and its content. * @param interaction the IntAct Interaction from which we get the Xref that will be used to generate the PSI XML. * * @return the xref tag and its attached content. */ private Element createInteractionXrefs( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createInteractionXrefs( session, parent, interaction ); }
private Element createNegativeFlag( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createNegativeFlag( session, parent, interaction ); }
/** * Generated a negative flag if there is one specified annotation in the Interaction or one of its Experiment. * * @param session the user session. * @param parent the parent to which we attach the attributeList, and then the attribute. * @param interaction the interaction from which we will get the dissociation constant. * * @return the created flag. May be null. * * @see uk.ac.ebi.intact.model.Annotation * @see uk.ac.ebi.intact.model.Interaction * @see uk.ac.ebi.intact.model.Experiment */ public Element createNegativeFlag( UserSessionDownload session, Element parent, Interaction interaction ) { // TODO test it Element element = null; if ( isNegative( interaction ) ) { element = session.createElement( "negative" ); Text negativeText = session.createTextNode( "true" ); // add the text to the node element.appendChild( negativeText ); // add the node to the parent parent.appendChild( element ); } return element; }
/** * Generated a negative flag if there is one specified annotation in the Interaction or one of its Experiment. * * @param session the user session. * @param parent the parent to which we attach the attributeList, and then the attribute. * @param interaction the interaction from which we will get the dissociation constant. * * @return the created flag. May be null. * * @see uk.ac.ebi.intact.model.Annotation * @see uk.ac.ebi.intact.model.Interaction * @see uk.ac.ebi.intact.model.Experiment */ public Element createNegativeFlag( UserSessionDownload session, Element parent, Interaction interaction ) { // TODO test it Element element = null; if ( isNegative( interaction ) ) { element = session.createElement( "negative" ); Text negativeText = session.createTextNode( "true" ); // add the text to the node element.appendChild( negativeText ); // add the node to the parent parent.appendChild( element ); } return element; }
private Element createDissociationConstant( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createDissociationConstant( session, parent, interaction ); }
/** * Generate the xref tag of the given protein. That content is attached to the given parent Element. <br> * <pre> * Rules: * ----- * primaryRef: is the AC of the interaction object * secondaryRef: any other Xrefs * </pre> * * @param session * @param parent the interaction Element to which we will attach the Xref Element and its content. * @param interaction the IntAct Interaction from which we get the Xref that will be used to generate the PSI XML. * * @return the xref tag and its attached content. */ private Element createInteractionXrefs( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createInteractionXrefs( session, parent, interaction ); }
private Element createNegativeFlag( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createNegativeFlag( session, parent, interaction ); }
/** * Generated a negative flag if there is one specified annotation in the Interaction or one of its Experiment. * * @param session the user session. * @param parent the parent to which we attach the attributeList, and then the attribute. * @param interaction the interaction from which we will get the dissociation constant. * * @return the created flag. May be null. * * @see uk.ac.ebi.intact.model.Annotation * @see uk.ac.ebi.intact.model.Interaction * @see uk.ac.ebi.intact.model.Experiment */ public Element createNegativeFlag( UserSessionDownload session, Element parent, Interaction interaction ) { // TODO test it Element element = null; if ( isNegative( interaction ) ) { element = session.createElement( "negative" ); Text negativeText = session.createTextNode( "true" ); // add the text to the node element.appendChild( negativeText ); // add the node to the parent parent.appendChild( element ); } return element; }
private Element createDissociationConstant( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createDissociationConstant( session, parent, interaction ); }
/** * Generate the xref tag of the given protein. That content is attached to the given parent Element. <br> * <pre> * Rules: * ----- * primaryRef: is the AC of the interaction object * secondaryRef: any other Xrefs * </pre> * * @param session * @param parent the interaction Element to which we will attach the Xref Element and its content. * @param interaction the IntAct Interaction from which we get the Xref that will be used to generate the PSI XML. * * @return the xref tag and its attached content. */ private Element createInteractionXrefs( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createInteractionXrefs( session, parent, interaction ); }
private Element createNegativeFlag( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createNegativeFlag( session, parent, interaction ); }
private Element createDissociationConstant( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createDissociationConstant( session, parent, interaction ); }
/** * Generate the xref tag of the given protein. That content is attached to the given parent Element. <br> * <pre> * Rules: * ----- * primaryRef: is the AC of the interaction object * secondaryRef: any other Xrefs * </pre> * * @param session * @param parent the interaction Element to which we will attach the Xref Element and its content. * @param interaction the IntAct Interaction from which we get the Xref that will be used to generate the PSI XML. * * @return the xref tag and its attached content. */ private Element createInteractionXrefs( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createInteractionXrefs( session, parent, interaction ); }
private Element createNegativeFlag( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createNegativeFlag( session, parent, interaction ); }
private Element createDissociationConstant( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createDissociationConstant( session, parent, interaction ); }
/** * Generate the xref tag of the given protein. That content is attached to the given parent Element. <br> * <pre> * Rules: * ----- * primaryRef: is the AC of the interaction object * secondaryRef: any other Xrefs * </pre> * * @param session * @param parent the interaction Element to which we will attach the Xref Element and its content. * @param interaction the IntAct Interaction from which we get the Xref that will be used to generate the PSI XML. * * @return the xref tag and its attached content. */ private Element createInteractionXrefs( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createInteractionXrefs( session, parent, interaction ); }
private Element createNegativeFlag( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createNegativeFlag( session, parent, interaction ); }
private Element createDissociationConstant( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createDissociationConstant( session, parent, interaction ); }
/** * Generate the xref tag of the given protein. That content is attached to the given parent Element. <br> * <pre> * Rules: * ----- * primaryRef: is the AC of the interaction object * secondaryRef: any other Xrefs * </pre> * * @param session * @param parent the interaction Element to which we will attach the Xref Element and its content. * @param interaction the IntAct Interaction from which we get the Xref that will be used to generate the PSI XML. * * @return the xref tag and its attached content. */ private Element createInteractionXrefs( UserSessionDownload session, Element parent, Interaction interaction ) { return Interaction2xmlCommons.getInstance().createInteractionXrefs( session, parent, interaction ); }