public String getPmPackageId ( ) { StringBuilder sb = new StringBuilder ( ) ; if ( pm != null ) sb . append ( pm ) ; sb . append ( ":" ) ; if ( group != null ) sb . append ( group ) ; sb . append ( ":" ) ; if ( name != null ) sb . append ( name ) ; sb . append ( ":" ) ; if ( version != null ) sb . append ( version ) ; sb . append ( ":" ) ; return sb . toString ( ) ; }
Get a reasonable unique ID for the package including the package manager name .