Class StyleSheet


  • public class StyleSheet
    extends Object
    This class represents business StyleSheet objects
    • Constructor Summary

      Constructors 
      Constructor Description
      StyleSheet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getDescription()
      Returns the description of this StyleSheet.
      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.
      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​(String strDescription)
      Sets the description of this StyleSheet to the String value specified in parameter.
      void setFile​(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​(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.
    • 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 String getDescription()
        Returns the description of this StyleSheet.
        Returns:
        the description of this StyleSheet
      • setDescription

        public void setDescription​(String strDescription)
        Sets the description of this StyleSheet to the String value specified in parameter.
        Parameters:
        strDescription - The new description value
      • getFile

        public String getFile()
        Returns the file name of this StyleSheet.
        Returns:
        the file name of this StyleSheet
      • setFile

        public void setFile​(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​(String strPath)
        Sets the path of the stylesheet according to their mode
        Parameters:
        strPath - the path
      • getPath

        public String getPath()
        Returns the path of the stylesheet according to their mode
        Returns:
        path