String getPattern ( ) { final StringBuilder result = new StringBuilder ( ) ; if ( myPrefix != null ) { result . append ( myPrefix ) ; } if ( mySuffixes != null ) { result . append ( "*" ) ; for ( final Literal sub : mySuffixes ) { result . append ( sub ) ; result . append ( "*" ) ; } } if ( myPostfix != null ) { result . append ( myPostfix ) ; } return result . toString ( ) ; }
Returns the reconstructed original pattern .