public class VirtualObjectVersion
extends sirius.db.jdbc.SQLEntity
VirtualObject
.Modifier and Type | Field and Description |
---|---|
static sirius.db.mixing.Mapping |
BUCKET
Contains a copy of the bucket in which the virtual object resides, for faster access.
|
static sirius.db.mixing.Mapping |
CREATED_DATE
Contains the creation date of this version.
|
static sirius.db.mixing.Mapping |
FILE_SIZE
Contains the file size in bytes.
|
static sirius.db.mixing.Mapping |
MD5
Contains the MD5 checksum of the data of this version.
|
static sirius.db.mixing.Mapping |
PHYSICAL_KEY
Contains the physical storage key of this version.
|
static sirius.db.mixing.Mapping |
VERSION_KEY
Contains the version name which is WIDTHxHEIGTH.
|
static sirius.db.mixing.Mapping |
VIRTUAL_OBJECT
Contains the object to which this version belongs.
|
Constructor and Description |
---|
VirtualObjectVersion() |
Modifier and Type | Method and Description |
---|---|
String |
getBucket() |
LocalDate |
getCreatedDate() |
long |
getFileSize() |
String |
getMd5() |
String |
getPhysicalKey() |
String |
getVersionKey() |
sirius.db.jdbc.SQLEntityRef<VirtualObject> |
getVirtualObject() |
protected void |
initDate() |
protected void |
removePhysicalFile() |
protected void |
removeVersionFromCaches() |
void |
setBucket(String bucket) |
void |
setCreatedDate(LocalDate createdDate) |
void |
setFileSize(long fileSize) |
void |
setMd5(String md5) |
void |
setPhysicalKey(String physicalKey) |
void |
setVersionKey(String versionKey) |
equals, getFetchRow, getId, getMapper, hashCode, isNew, isUnique, setId
public static final sirius.db.mixing.Mapping VIRTUAL_OBJECT
public static final sirius.db.mixing.Mapping BUCKET
public static final sirius.db.mixing.Mapping VERSION_KEY
public static final sirius.db.mixing.Mapping PHYSICAL_KEY
public static final sirius.db.mixing.Mapping FILE_SIZE
public static final sirius.db.mixing.Mapping MD5
public static final sirius.db.mixing.Mapping CREATED_DATE
protected void initDate()
protected void removePhysicalFile()
protected void removeVersionFromCaches()
public sirius.db.jdbc.SQLEntityRef<VirtualObject> getVirtualObject()
public String getBucket()
public void setBucket(String bucket)
public String getVersionKey()
public void setVersionKey(String versionKey)
public String getPhysicalKey()
public void setPhysicalKey(String physicalKey)
public long getFileSize()
public void setFileSize(long fileSize)
public String getMd5()
public void setMd5(String md5)
public LocalDate getCreatedDate()
public void setCreatedDate(LocalDate createdDate)
Copyright © 2018. All rights reserved.