/** * Checks (using the exact filename and transformation name) if the transformation is referenced by a file. If * referenced by a repository, the exact filename should be non-empty and the exact transformation name should be * empty. * * @param exactFilename * the exact filename * @param exactTransname * the exact transformation name * @return true if the transformation is referenced by a file, false otherwise * @see #isRepReference(String, String) */ public static boolean isFileReference( String exactFilename, String exactTransname ) { return !isRepReference( exactFilename, exactTransname ); }
/** * Checks if the transformation is referenced by a file. If the transformation is not referenced by a repository, it * is assumed to be referenced by a file. * * @return true if the transformation is referenced by a file, false otherwise * @see #isRepReference() */ public boolean isFileReference() { return !isRepReference( getFilename(), this.getName() ); }
/** * Checks if the transformation is referenced by a repository. * * @return true if the transformation is referenced by a repository, false otherwise */ public boolean isRepReference() { return isRepReference( getFilename(), this.getName() ); }