public String getlocalName() {
        if (fqn.contains(".")) {
            return this.fqn.substring(fqn.lastIndexOf('.') + 1, this.fqn.length());
        }
        return fqn;
    }
public String getlocalName ( ) { if ( fqn . contains ( "." ) ) { return this . fqn . substring ( fqn . lastIndexOf ( '.' ) + 1 , this . fqn . length ( ) ) ; } return fqn ; }
Get the local name of the script.

@return a non-empty String