static public String getLocalId ( BioPAXElement bpe ) { String id = bpe . getUri ( ) ; return ( id != null ) ? id . replaceFirst ( "^.+[#/]" , "" ) : null ; //greedy pattern matches everything up to the last '/' or '#' }
Gets the local part of the BioPAX element ID .