protected void addToUpstream ( BioPAXElement ele , org . biopax . paxtools . query . model . Graph graph ) { AbstractNode node = ( AbstractNode ) graph . getGraphObject ( ele ) ; if ( node == null ) return ; Edge edge = new EdgeL3 ( node , this , graph ) ; if ( isTranscription ( ) ) { if ( node instanceof ControlWrapper ) { ( ( ControlWrapper ) node ) . setTranscription ( true ) ; } } node . getDownstreamNoInit ( ) . add ( edge ) ; this . getUpstreamNoInit ( ) . add ( edge ) ; }
Binds the given element to the upstream .