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 aClientFormThemeFilebased on the data of the given file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDgetClientFormThemeUuid()Gets the UUID of theClientFormThemethat contains this file.LonggetClientId()Gets the ID of the client that owns theClientFormThemethat contains this file.InstantgetCreatedAt()Gets the creation date of the file.StringgetCreatedBy()Gets the user who created the file.intgetFileEntityLockingVersion()Gets the locking version of the file.StringgetFileName()Gets the file name.LonggetId()Gets the ID of the file.InstantgetLastModifiedAt()Gets the last modification date of the file.StringgetLastModifiedBy()Gets the user who last modified the file.StringgetResourceContext()Gets the resource context of this file, seeClientFormThemeFile.getResourceContext().longgetSize()Gets the size of this file's data.voidsetClientFormThemeUuid(UUID clientFormThemeUuid)Sets the UUID of theClientFormThemethat contains this file.voidsetClientId(Long clientId)Sets the ID of the client that owns theClientFormThemethat contains this file.voidsetCreatedAt(Instant createdAt)Sets the creation date of the file.voidsetCreatedBy(String createdBy)Sets the user who created the file.voidsetFileEntityLockingVersion(int lockingVersion)Sets the locking version of the file.voidsetFileName(String fileName)Sets the file name.voidsetId(Long id)Sets the ID of the file.voidsetLastModifiedAt(Instant lastModifiedAt)Sets the last modification date of the file.voidsetLastModifiedBy(String lastModifiedBy)Sets the user who last modified the file.voidsetResourceContext(String resourceContext)Sets the resource context of this file, seeClientFormThemeFile.getResourceContext().voidsetSize(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 aClientFormThemeFilebased 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 theClientFormThemethat contains this file.- Returns:
- The UUID of the
ClientFormThemethat contains this file.
-
setClientFormThemeUuid
public void setClientFormThemeUuid(UUID clientFormThemeUuid)
Sets the UUID of theClientFormThemethat contains this file.- Parameters:
clientFormThemeUuid- The ID of theClientFormThemethat contains this file.
-
getClientId
public Long getClientId()
Gets the ID of the client that owns theClientFormThemethat contains this file.- Returns:
- The ID of the owning client.
-
setClientId
public void setClientId(Long clientId)
Sets the ID of the client that owns theClientFormThemethat contains this file.- Parameters:
clientId- The ID of the owning client.
-
getCreatedAt
public Instant getCreatedAt()
Description copied from interface:IFileEntityViewGets the creation date of the file.- Specified by:
getCreatedAtin interfaceIFileEntityView- Returns:
- The creation date.
-
setCreatedAt
public void setCreatedAt(Instant createdAt)
Description copied from interface:IFileEntityViewSets the creation date of the file.- Specified by:
setCreatedAtin interfaceIFileEntityView- Parameters:
createdAt- The creation date.
-
getCreatedBy
public String getCreatedBy()
Description copied from interface:IFileEntityViewGets the user who created the file.- Specified by:
getCreatedByin interfaceIFileEntityView- Returns:
- The user who created the file.
-
setCreatedBy
public void setCreatedBy(String createdBy)
Description copied from interface:IFileEntityViewSets the user who created the file.- Specified by:
setCreatedByin interfaceIFileEntityView- Parameters:
createdBy- The user who created the file.
-
getFileEntityLockingVersion
public int getFileEntityLockingVersion()
Description copied from interface:IFileEntityViewGets the locking version of the file.- Specified by:
getFileEntityLockingVersionin interfaceIFileEntityView- Returns:
- The locking version of the file.
-
setFileEntityLockingVersion
public void setFileEntityLockingVersion(int lockingVersion)
Description copied from interface:IFileEntityViewSets the locking version of the file.- Specified by:
setFileEntityLockingVersionin interfaceIFileEntityView- Parameters:
lockingVersion- The locking version of the file.
-
getFileName
public String getFileName()
Description copied from interface:IFileEntityViewGets the file name.- Specified by:
getFileNamein interfaceIFileEntityView- Returns:
- The file name.
-
setFileName
public void setFileName(String fileName)
Description copied from interface:IFileEntityViewSets the file name.- Specified by:
setFileNamein interfaceIFileEntityView- Parameters:
fileName- The file name.
-
getId
public Long getId()
Description copied from interface:IFileEntityViewGets the ID of the file.- Specified by:
getIdin interfaceIFileEntityView- Returns:
- The ID of the file.
-
setId
public void setId(Long id)
Description copied from interface:IFileEntityViewSets the ID of the file.- Specified by:
setIdin interfaceIFileEntityView- Parameters:
id- The ID of the file.
-
getLastModifiedAt
public Instant getLastModifiedAt()
Description copied from interface:IFileEntityViewGets the last modification date of the file.- Specified by:
getLastModifiedAtin interfaceIFileEntityView- Returns:
- The last modification date.
-
setLastModifiedAt
public void setLastModifiedAt(Instant lastModifiedAt)
Description copied from interface:IFileEntityViewSets the last modification date of the file.- Specified by:
setLastModifiedAtin interfaceIFileEntityView- Parameters:
lastModifiedAt- The last modification date.
-
getLastModifiedBy
public String getLastModifiedBy()
Description copied from interface:IFileEntityViewGets the user who last modified the file.- Specified by:
getLastModifiedByin interfaceIFileEntityView- Returns:
- The user who last modified the file.
-
setLastModifiedBy
public void setLastModifiedBy(String lastModifiedBy)
Description copied from interface:IFileEntityViewSets the user who last modified the file.- Specified by:
setLastModifiedByin 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.
-
-