fr.paris.lutece.plugins.form.business.file
Class File

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.file.File

public class File
extends java.lang.Object

class File


Constructor Summary
File()
           
 
Method Summary
 int getIdFile()
          Get the id file
 java.lang.String getMimeType()
          Get the mime type
 PhysicalFile getPhysicalFile()
          Get the physical file
 int getSize()
          Get the size
 java.lang.String getTitle()
          Get the title of the file
 void setIdFile(int nIdFile)
          Set the id of the file
 void setMimeType(java.lang.String strMimeType)
          Set the mime type
 void setPhysicalFile(PhysicalFile physicalFile)
          Set the PhysicalFile associate to the file
 void setSize(int nSize)
          Set the size of the file
 void setTitle(java.lang.String strTitle)
          Set the title of the file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

File

public File()
Method Detail

getIdFile

public int getIdFile()
Get the id file

Returns:
the id of the file

setIdFile

public void setIdFile(int nIdFile)
Set the id of the file

Parameters:
nIdFile - id of the file

getTitle

public java.lang.String getTitle()
Get the title of the file

Returns:
the title of the file

setTitle

public void setTitle(java.lang.String strTitle)
Set the title of the file

Parameters:
strTitle - the title of the file

getSize

public int getSize()
Get the size

Returns:
the size of the file

setSize

public void setSize(int nSize)
Set the size of the file

Parameters:
nSize - the size of the file

getMimeType

public java.lang.String getMimeType()
Get the mime type

Returns:
the mime type of the file

setMimeType

public void setMimeType(java.lang.String strMimeType)
Set the mime type

Parameters:
strMimeType - the mime type

getPhysicalFile

public PhysicalFile getPhysicalFile()
Get the physical file

Returns:
the PhysicalFile associate to the file

setPhysicalFile

public void setPhysicalFile(PhysicalFile physicalFile)
Set the PhysicalFile associate to the file

Parameters:
physicalFile - physicalFile


Copyright © 2012 Mairie de Paris. All Rights Reserved.