Package com.sap.cds.generator.util
Interface FileLocation
- All Known Subinterfaces:
GeneratedFile
public interface FileLocation
-
Method Summary
Modifier and TypeMethodDescriptiongetUri()The location of the file relative to the base generation directory.default booleanSpecifies whether the file location represents a resource that needs to be written to the resources folder.
-
Method Details
-
getUri
URI getUri()The location of the file relative to the base generation directory.- Returns:
- an relative file location as
URI.
-
isResource
default boolean isResource()Specifies whether the file location represents a resource that needs to be written to the resources folder.- Returns:
trueto indicate that it must be written to the resources folder, otherwise it will be written to the Java source directory.
-