Package de.xima.fc.form.common.models
Class FormThemeFileReference
- java.lang.Object
- 
- de.xima.fc.form.common.models.FormThemeFileReference
 
- 
- All Implemented Interfaces:
- Serializable
 
 public final class FormThemeFileReference extends Object implements Serializable A reference to particular file from aIFormTheme. Uniquely identifies a file from a form theme. Such a reference can be used later to retrieve the content of the file.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static FormThemeFileReferenceforThemeFile(FormThemeReference theme, String context, String filePath)Creates a reference to a file in a form theme.StringgetContext()The context of the resource, seeEFormThemeResourceContextfor well-known contexts.StringgetFilePath()The path of the file in the form theme, seeIFormTheme#getFilePaths.FormThemeReferencegetTheme()The reference to the form theme that contains the file.inthashCode()StringtoString()
 
- 
- 
- 
Method Detail- 
getContextpublic String getContext() The context of the resource, seeEFormThemeResourceContextfor well-known contexts.- Returns:
- The context of the resource.
 
 - 
getFilePathpublic String getFilePath() The path of the file in the form theme, seeIFormTheme#getFilePaths.- Returns:
- The file name of the file in the form theme.
 
 - 
getThemepublic FormThemeReference getTheme() The reference to the form theme that contains the file.- Returns:
- The reference to the form theme that contains the file.
 
 - 
forThemeFilepublic static FormThemeFileReference forThemeFile(FormThemeReference theme, String context, String filePath) Creates a reference to a file in a form theme.- Parameters:
- theme- The reference to the form theme that contains the file.
- context- The context of the resource, see- EFormThemeResourceContextfor well-known contexts.
- filePath- The path of the file in the form theme, see- IFormTheme#getFilePaths.
- Returns:
- A reference to a file in a form theme.
 
 
- 
 
-