Package de.xima.fc.gui.model.form_theme
Class FormThemeFileView
- java.lang.Object
-
- de.xima.fc.gui.model.form_theme.FormThemeFileView
-
- All Implemented Interfaces:
IFileEntityView
,Serializable
public final class FormThemeFileView extends Object implements IFileEntityView
POJO view of aClientFormThemeFile
, without relations to other entities.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbHZ
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormThemeFileView()
Creates a new empty view for aClientFormThemeFile
.FormThemeFileView(ClientFormThemeFile file)
Creates a new view for aClientFormThemeFile
based on the data of the given file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
getClientFormThemeUuid()
Gets the UUID of theClientFormTheme
that contains this file.Long
getClientId()
Gets the ID of the client that owns theClientFormTheme
that contains this file.Instant
getCreatedAt()
Gets the creation date of the file.String
getCreatedBy()
Gets the user who created the file.int
getFileEntityLockingVersion()
Gets the locking version of the file.String
getFileName()
Gets the file name.Long
getId()
Gets the ID of the file.Instant
getLastModifiedAt()
Gets the last modification date of the file.String
getLastModifiedBy()
Gets the user who last modified the file.String
getResourceContext()
Gets the resource context of this file, seeClientFormThemeFile.getResourceContext()
.long
getSize()
Gets the size of this file's data.void
setClientFormThemeUuid(UUID clientFormThemeUuid)
Sets the UUID of theClientFormTheme
that contains this file.void
setClientId(Long clientId)
Sets the ID of the client that owns theClientFormTheme
that contains this file.void
setCreatedAt(Instant createdAt)
Sets the creation date of the file.void
setCreatedBy(String createdBy)
Sets the user who created the file.void
setFileEntityLockingVersion(int lockingVersion)
Sets the locking version of the file.void
setFileName(String fileName)
Sets the file name.void
setId(Long id)
Sets the ID of the file.void
setLastModifiedAt(Instant lastModifiedAt)
Sets the last modification date of the file.void
setLastModifiedBy(String lastModifiedBy)
Sets the user who last modified the file.void
setResourceContext(String resourceContext)
Sets the resource context of this file, seeClientFormThemeFile.getResourceContext()
.void
setSize(long size)
Sets the size of this file's data.
-
-
-
Constructor Detail
-
FormThemeFileView
public FormThemeFileView()
Creates a new empty view for aClientFormThemeFile
.
-
FormThemeFileView
public FormThemeFileView(ClientFormThemeFile file)
Creates a new view for aClientFormThemeFile
based on the data of the given file.- Parameters:
file
- The file to create a view for.
-
-
Method Detail
-
getClientFormThemeUuid
public UUID getClientFormThemeUuid()
Gets the UUID of theClientFormTheme
that contains this file.- Returns:
- The UUID of the
ClientFormTheme
that contains this file.
-
setClientFormThemeUuid
public void setClientFormThemeUuid(UUID clientFormThemeUuid)
Sets the UUID of theClientFormTheme
that contains this file.- Parameters:
clientFormThemeUuid
- The ID of theClientFormTheme
that contains this file.
-
getClientId
public Long getClientId()
Gets the ID of the client that owns theClientFormTheme
that contains this file.- Returns:
- The ID of the owning client.
-
setClientId
public void setClientId(Long clientId)
Sets the ID of the client that owns theClientFormTheme
that contains this file.- Parameters:
clientId
- The ID of the owning client.
-
getCreatedAt
public Instant getCreatedAt()
Description copied from interface:IFileEntityView
Gets the creation date of the file.- Specified by:
getCreatedAt
in interfaceIFileEntityView
- Returns:
- The creation date.
-
setCreatedAt
public void setCreatedAt(Instant createdAt)
Description copied from interface:IFileEntityView
Sets the creation date of the file.- Specified by:
setCreatedAt
in interfaceIFileEntityView
- Parameters:
createdAt
- The creation date.
-
getCreatedBy
public String getCreatedBy()
Description copied from interface:IFileEntityView
Gets the user who created the file.- Specified by:
getCreatedBy
in interfaceIFileEntityView
- Returns:
- The user who created the file.
-
setCreatedBy
public void setCreatedBy(String createdBy)
Description copied from interface:IFileEntityView
Sets the user who created the file.- Specified by:
setCreatedBy
in interfaceIFileEntityView
- Parameters:
createdBy
- The user who created the file.
-
getFileEntityLockingVersion
public int getFileEntityLockingVersion()
Description copied from interface:IFileEntityView
Gets the locking version of the file.- Specified by:
getFileEntityLockingVersion
in interfaceIFileEntityView
- Returns:
- The locking version of the file.
-
setFileEntityLockingVersion
public void setFileEntityLockingVersion(int lockingVersion)
Description copied from interface:IFileEntityView
Sets the locking version of the file.- Specified by:
setFileEntityLockingVersion
in interfaceIFileEntityView
- Parameters:
lockingVersion
- The locking version of the file.
-
getFileName
public String getFileName()
Description copied from interface:IFileEntityView
Gets the file name.- Specified by:
getFileName
in interfaceIFileEntityView
- Returns:
- The file name.
-
setFileName
public void setFileName(String fileName)
Description copied from interface:IFileEntityView
Sets the file name.- Specified by:
setFileName
in interfaceIFileEntityView
- Parameters:
fileName
- The file name.
-
getId
public Long getId()
Description copied from interface:IFileEntityView
Gets the ID of the file.- Specified by:
getId
in interfaceIFileEntityView
- Returns:
- The ID of the file.
-
setId
public void setId(Long id)
Description copied from interface:IFileEntityView
Sets the ID of the file.- Specified by:
setId
in interfaceIFileEntityView
- Parameters:
id
- The ID of the file.
-
getLastModifiedAt
public Instant getLastModifiedAt()
Description copied from interface:IFileEntityView
Gets the last modification date of the file.- Specified by:
getLastModifiedAt
in interfaceIFileEntityView
- Returns:
- The last modification date.
-
setLastModifiedAt
public void setLastModifiedAt(Instant lastModifiedAt)
Description copied from interface:IFileEntityView
Sets the last modification date of the file.- Specified by:
setLastModifiedAt
in interfaceIFileEntityView
- Parameters:
lastModifiedAt
- The last modification date.
-
getLastModifiedBy
public String getLastModifiedBy()
Description copied from interface:IFileEntityView
Gets the user who last modified the file.- Specified by:
getLastModifiedBy
in interfaceIFileEntityView
- Returns:
- The user who last modified the file.
-
setLastModifiedBy
public void setLastModifiedBy(String lastModifiedBy)
Description copied from interface:IFileEntityView
Sets the user who last modified the file.- Specified by:
setLastModifiedBy
in interfaceIFileEntityView
- Parameters:
lastModifiedBy
- The user who last modified the file.
-
getResourceContext
public String getResourceContext()
Gets the resource context of this file, seeClientFormThemeFile.getResourceContext()
.- Returns:
- The resource context of this file.
-
setResourceContext
public void setResourceContext(String resourceContext)
Sets the resource context of this file, seeClientFormThemeFile.getResourceContext()
.- Parameters:
resourceContext
- The resource context of this file.
-
getSize
public long getSize()
Gets the size of this file's data.- Returns:
- The size of this file's data.
-
setSize
public void setSize(long size)
Sets the size of this file's data.- Parameters:
size
- The size of this file's data.
-
-