fr.paris.lutece.portal.business.stylesheet
Class StyleSheet

java.lang.Object
  extended by fr.paris.lutece.portal.business.stylesheet.StyleSheet

public class StyleSheet
extends java.lang.Object

This class represents business StyleSheet objects


Constructor Summary
StyleSheet()
           
 
Method Summary
 java.lang.String getDescription()
          Returns the description of this StyleSheet.
 java.lang.String getFile()
          Returns the file name of this StyleSheet.
 int getId()
          Returns the identifier of this StyleSheet.
 int getModeId()
          Returns the identifier of the mode of this StyleSheet.
 java.lang.String getPath()
          Returns the path of the stylesheet according to their mode
 byte[] getSource()
          Returns the file source of this StyleSheet.
 int getStyleId()
          Returns the identifier of the style of this StyleSheet.
 void setDescription(java.lang.String strDescription)
          Sets the description of this StyleSheet to the String value specified in parameter.
 void setFile(java.lang.String strFile)
          Sets the file name of this StyleSheet to the String value specified in parameter, "" if null.
 void setId(int nId)
          Sets this identifier to the int value specified in parameter.
 void setModeId(int nModeId)
          Sets the Mode identifier of this StyleSheet to the int value specified in parameter.
 void setPath(java.lang.String strPath)
          Sets the path of the stylesheet according to their mode
 void setSource(byte[] strSource)
          Sets the file source of this StyleSheet to the String value specified in parameter.
 void setStyleId(int nStyleId)
          Sets the Style identifier of this StyleSheet to the int value specified in parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleSheet

public StyleSheet()
Method Detail

getId

public int getId()
Returns the identifier of this StyleSheet.

Returns:
this StyleSheet identifier

setId

public void setId(int nId)
Sets this identifier to the int value specified in parameter.

Parameters:
nId - The new identifier value

getStyleId

public int getStyleId()
Returns the identifier of the style of this StyleSheet.

Returns:
the Style identifier of this StyleSheet

setStyleId

public void setStyleId(int nStyleId)
Sets the Style identifier of this StyleSheet to the int value specified in parameter.

Parameters:
nStyleId - The new identifier value

getModeId

public int getModeId()
Returns the identifier of the mode of this StyleSheet.

Returns:
the Mode identifier of this StyleSheet

setModeId

public void setModeId(int nModeId)
Sets the Mode identifier of this StyleSheet to the int value specified in parameter.

Parameters:
nModeId - The new identifier value

getDescription

public java.lang.String getDescription()
Returns the description of this StyleSheet.

Returns:
the description of this StyleSheet

setDescription

public void setDescription(java.lang.String strDescription)
Sets the description of this StyleSheet to the String value specified in parameter.

Parameters:
strDescription - The new description value

getFile

public java.lang.String getFile()
Returns the file name of this StyleSheet.

Returns:
the file name of this StyleSheet

setFile

public void setFile(java.lang.String strFile)
Sets the file name of this StyleSheet to the String value specified in parameter, "" if null.

Parameters:
strFile - The new file name value

getSource

public byte[] getSource()
Returns the file source of this StyleSheet.

Returns:
the file source of this StyleSheet

setSource

public void setSource(byte[] strSource)
Sets the file source of this StyleSheet to the String value specified in parameter.

Parameters:
strSource - The new file source value

setPath

public void setPath(java.lang.String strPath)
Sets the path of the stylesheet according to their mode

Parameters:
strPath - the path

getPath

public java.lang.String getPath()
Returns the path of the stylesheet according to their mode

Returns:
path


Copyright © 2010 Mairie de Paris. All Rights Reserved.