Package com.nomagic.magicdraw.core
Interface FileLocationRegister
- All Known Implementing Classes:
EnvironmentSpecificFileLocations
,ProjectSpecificLocationRegister
@OpenApiAll
public interface FileLocationRegister
This interface is used in
EnvironmentSpecificFileLocations
and ProjectSpecificLocationRegister
to manipulate with file locations storing places
Implement this interface if you need to create new file locations saving type.-
Method Summary
Modifier and TypeMethodDescriptiongetFileLocation
(String locationNameID) This method should be used to get file object by locationNameID.void
setFileLocation
(String locationNameID, File file) This method should be used to save file by locationNameID.
-
Method Details
-
getFileLocation
This method should be used to get file object by locationNameID.- Parameters:
locationNameID
- a unique id for storing/getting file locations.- Returns:
- File type object.
-
setFileLocation
This method should be used to save file by locationNameID.- Parameters:
locationNameID
- a unique id for storing/getting file locations.file
- type object
-