Package org.exbin.xbup.catalog.entity
Class XBEXFile
- java.lang.Object
-
- org.exbin.xbup.catalog.entity.XBEXFile
-
- All Implemented Interfaces:
java.io.Serializable
,XBMBase
,XBMXFile
,org.exbin.xbup.core.catalog.base.XBCBase
,org.exbin.xbup.core.catalog.base.XBCXFile
@ParametersAreNonnullByDefault public class XBEXFile extends java.lang.Object implements XBMXFile, java.io.Serializable
Item assesory file database entity.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XBEXFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getContent()
java.lang.String
getFilename()
long
getId()
org.exbin.xbup.core.catalog.base.XBCNode
getNode()
void
setContent(byte[] content)
Sets content of the file.void
setFilename(java.lang.String filename)
Sets name of the file.void
setNode(org.exbin.xbup.core.catalog.base.XBCNode node)
Sets owner which is directory.
-
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getId
in interfaceorg.exbin.xbup.core.catalog.base.XBCBase
-
getNode
@Nonnull public org.exbin.xbup.core.catalog.base.XBCNode getNode()
- Specified by:
getNode
in interfaceorg.exbin.xbup.core.catalog.base.XBCXFile
-
setNode
public void setNode(org.exbin.xbup.core.catalog.base.XBCNode node)
Description copied from interface:XBMXFile
Sets owner which is directory.
-
getFilename
@Nonnull public java.lang.String getFilename()
- Specified by:
getFilename
in interfaceorg.exbin.xbup.core.catalog.base.XBCXFile
-
setFilename
public void setFilename(java.lang.String filename)
Description copied from interface:XBMXFile
Sets name of the file.- Specified by:
setFilename
in interfaceXBMXFile
- Parameters:
filename
- file name
-
getContent
@Nonnull public byte[] getContent()
- Specified by:
getContent
in interfaceorg.exbin.xbup.core.catalog.base.XBCXFile
-
setContent
public void setContent(byte[] content)
Description copied from interface:XBMXFile
Sets content of the file.- Specified by:
setContent
in interfaceXBMXFile
- Parameters:
content
- content
-
-