@Entity public class ImageFile extends MediaRepresentationPart
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
ImageFile() |
protected |
ImageFile(java.net.URI uri,
java.lang.Integer size) |
protected |
ImageFile(java.net.URI uri,
java.lang.Integer size,
java.lang.Integer height,
java.lang.Integer width) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getHeight() |
java.lang.Integer |
getWidth() |
static ImageFile |
NewInstance(java.net.URI uri,
java.lang.Integer size) |
static ImageFile |
NewInstance(java.net.URI uri,
java.lang.Integer size,
ImageInfo imageInfo) |
static ImageFile |
NewInstance(java.net.URI uri,
java.lang.Integer size,
java.lang.Integer height,
java.lang.Integer width) |
static Media |
NewMediaInstance(TimePeriod mediaCreated,
AgentBase artist,
java.net.URI uri,
java.lang.String mimeType,
java.lang.String suffix,
java.lang.Integer size,
java.lang.Integer height,
java.lang.Integer width)
Generated an instance of Media that contains one MediaRepresentation consisting of one ImageFile
|
void |
setHeight(java.lang.Integer height) |
void |
setWidth(java.lang.Integer width) |
clone, getMediaRepresentation, getSize, getUri, setMediaRepresentation, setSize, setUri
cloneLanguageString, equals, getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
addPropertyChangeListener, addPropertyChangeListener, addToSetWithChangeEvent, deproxy, deproxy, fireOnCreateEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUserFriendlyDescription, getUserFriendlyFieldName, getUserFriendlyTypeName, getUuid, hashCode, hasListeners, initListener, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
protected ImageFile()
protected ImageFile(java.net.URI uri, java.lang.Integer size)
protected ImageFile(java.net.URI uri, java.lang.Integer size, java.lang.Integer height, java.lang.Integer width)
public static ImageFile NewInstance(java.net.URI uri, java.lang.Integer size)
public static ImageFile NewInstance(java.net.URI uri, java.lang.Integer size, java.lang.Integer height, java.lang.Integer width)
public static ImageFile NewInstance(java.net.URI uri, java.lang.Integer size, ImageInfo imageInfo)
public static Media NewMediaInstance(TimePeriod mediaCreated, AgentBase artist, java.net.URI uri, java.lang.String mimeType, java.lang.String suffix, java.lang.Integer size, java.lang.Integer height, java.lang.Integer width)
mimeType
- the MimeTypesuffix
- the file suffix (e.g. jpg, png, ...mediaCreated
- creation date of the mediaartist
- artist that created this mediauri
- the uri of the image filesize
- the size of the image fileheight
- the height of the image filewidth
- the width of the image filepublic java.lang.Integer getHeight()
public void setHeight(java.lang.Integer height)
public java.lang.Integer getWidth()
public void setWidth(java.lang.Integer width)
Copyright © 2007-2020 EDIT. All Rights Reserved.