@Entity public class MovieFile extends MediaRepresentationPart
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
MovieFile()
Constructor
|
protected |
MovieFile(java.net.URI uri,
java.lang.Integer size)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getDuration()
The Length of the movie in seconds
|
static MovieFile |
NewInstance()
Factory method
|
static MovieFile |
NewInstance(java.net.URI uri,
java.lang.Integer size) |
void |
setDuration(int duration)
Sets the Length of the movie in seconds
|
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 MovieFile()
protected MovieFile(java.net.URI uri, java.lang.Integer size)
public static MovieFile NewInstance(java.net.URI uri, java.lang.Integer size)
public static MovieFile NewInstance()
public int getDuration()
public void setDuration(int duration)
duration
- durationCopyright © 2007-2020 EDIT. All Rights Reserved.