medisyn
Class VideoFile

java.lang.Object
  extended by medisyn.VideoFile
All Implemented Interfaces:
java.lang.Cloneable

public class VideoFile
extends java.lang.Object
implements java.lang.Cloneable

Represents a video file used for requests (video-sessions)

Author:
Leo Bosnjak

Field Summary
private  float fileBitRate
           
private  FileCategory fileCategory
           
private  int fileDuration
           
private  int fileID
           
private  java.lang.String fileName
           
private  int filePopularity
           
 
Constructor Summary
VideoFile()
          construct+init VideoFile
 
Method Summary
protected  VideoFile clone()
          clone the object
 float getFileBitRate()
           
 FileCategory getFileCategory()
           
 int getFileDuration()
           
 int getFileID()
           
 java.lang.String getFileName()
           
 int getFilePopularity()
           
 void setFileBitRate(float fileBitRate)
           
 void setFileCategory(FileCategory fileCategory)
           
 void setFileDuration(int fileDuration)
           
 void setFileID(int fileID)
           
 void setFileName(java.lang.String fileName)
           
 void setFilePopularity(int filePopularity)
           
 java.lang.String toString()
          return String-representation of object
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fileID

private int fileID

filePopularity

private int filePopularity

fileName

private java.lang.String fileName

fileDuration

private int fileDuration

fileBitRate

private float fileBitRate

fileCategory

private FileCategory fileCategory
Constructor Detail

VideoFile

public VideoFile()
construct+init VideoFile

Method Detail

getFileBitRate

public float getFileBitRate()
Returns:
the fileBitRate

setFileBitRate

public void setFileBitRate(float fileBitRate)
Parameters:
fileBitRate - the fileBitRate to set

getFileCategory

public FileCategory getFileCategory()
Returns:
the fileCategory

setFileCategory

public void setFileCategory(FileCategory fileCategory)
Parameters:
fileCategory - the fileCategory to set

getFileDuration

public int getFileDuration()
Returns:
the fileDuration

setFileDuration

public void setFileDuration(int fileDuration)
Parameters:
fileDuration - the fileDuration to set

getFileID

public int getFileID()
Returns:
the fileID

setFileID

public void setFileID(int fileID)
Parameters:
fileID - the fileID to set

getFileName

public java.lang.String getFileName()
Returns:
the fileName

setFileName

public void setFileName(java.lang.String fileName)
Parameters:
fileName - the fileName to set

getFilePopularity

public int getFilePopularity()
Returns:
the filePopularity

setFilePopularity

public void setFilePopularity(int filePopularity)
Parameters:
filePopularity - the filePopularity to set

toString

public java.lang.String toString()
return String-representation of object

Overrides:
toString in class java.lang.Object

clone

protected VideoFile clone()
                   throws java.lang.CloneNotSupportedException
clone the object

Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException