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 Summary
All 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
- 
getContext
public String getContext()
The context of the resource, seeEFormThemeResourceContextfor well-known contexts.- Returns:
 - The context of the resource.
 
 
- 
getFilePath
public String getFilePath()
The path of the file in the form theme, seeIFormTheme#getFilePaths.- Returns:
 - The file name of the file in the form theme.
 
 
- 
getTheme
public FormThemeReference getTheme()
The reference to the form theme that contains the file.- Returns:
 - The reference to the form theme that contains the file.
 
 
- 
forThemeFile
public 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, seeEFormThemeResourceContextfor well-known contexts.filePath- The path of the file in the form theme, seeIFormTheme#getFilePaths.- Returns:
 - A reference to a file in a form theme.
 
 
 - 
 
 -