fr.paris.lutece.plugins.quiz.business.images
Class QuizImage

java.lang.Object
  extended by fr.paris.lutece.plugins.quiz.business.images.QuizImage

public class QuizImage
extends Object

Image for quiz


Constructor Summary
QuizImage()
          Default constructor
QuizImage(byte[] bArrayContent, String strContentType)
          Constructor with every parameters initialized
QuizImage(int nIdImage, byte[] bArrayContent, String strContentType)
          Constructor with every parameters initialized
 
Method Summary
 byte[] getContent()
          Get the content of the image
 String getContentType()
          Get the content type of the image
 int getIdImage()
          Get the id of the image
 void setContent(byte[] bArrayContent)
          Set the content of the image
 void setContentType(String strContentType)
          Set the content type of the image
 void setIdImage(int nIdImage)
          Set the id of the image
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuizImage

public QuizImage()
Default constructor


QuizImage

public QuizImage(byte[] bArrayContent,
                 String strContentType)
Constructor with every parameters initialized

Parameters:
bArrayContent - The content of the image
strContentType - The content type

QuizImage

public QuizImage(int nIdImage,
                 byte[] bArrayContent,
                 String strContentType)
Constructor with every parameters initialized

Parameters:
nIdImage - The id of the image
bArrayContent - The content of the image
strContentType - The content type
Method Detail

getIdImage

public int getIdImage()
Get the id of the image

Returns:
The id of the image

setIdImage

public void setIdImage(int nIdImage)
Set the id of the image

Parameters:
nIdImage - The id of the image

getContent

public byte[] getContent()
Get the content of the image

Returns:
The content of the image

setContent

public void setContent(byte[] bArrayContent)
Set the content of the image

Parameters:
bArrayContent - The content of the image

getContentType

public String getContentType()
Get the content type of the image

Returns:
The content type of the image

setContentType

public void setContentType(String strContentType)
Set the content type of the image

Parameters:
strContentType - The content type of the image


Copyright © 2014 Mairie de Paris. All Rights Reserved.