Class CometSetting

  • All Implemented Interfaces:
    java.io.Serializable

    public class CometSetting
    extends CometEntity

    Java class for the Setting configuration type

    .
    See Also:
    Serialized Form
    • Constructor Detail

      • CometSetting

        public CometSetting()
        Instantiates a new comet setting.
      • CometSetting

        public CometSetting​(int id,
                            java.lang.String name)
        Instantiates a new comet setting.
        Parameters:
        id - the id
        name - the name
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name.
        Returns:
        the name
      • setName

        public void setName​(java.lang.String name)
        Sets the name.
        Parameters:
        name - the new name
      • getType

        public SettingType getType()
        Gets the type.
        Returns:
        the type
      • setType

        public void setType​(SettingType type)
        Sets the type.
        Parameters:
        type - the new type
      • getEnabled

        public java.lang.Boolean getEnabled()
        Gets the enabled.
        Returns:
        the enabled
      • setEnabled

        public void setEnabled​(java.lang.Boolean enabled)
        Sets the enabled.
        Parameters:
        enabled - the new enabled
      • getDescription

        @CometDescription
        public java.lang.String getDescription()
        Gets the description.
        Returns:
        the description
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the description.
        Parameters:
        description - the new description
      • getValue

        public java.lang.String getValue()
        Gets the value.
        Returns:
        the value
      • setValue

        public void setValue​(java.lang.String value)
        Sets the value.
        Parameters:
        value - the new value
      • getRepositoryFilename

        public java.lang.String getRepositoryFilename()
                                               throws CometException
        Description copied from class: CometEntity

        Gets the repository filename for this particular item

        This method MUST be overridden by classes extending CometEntity

        Overrides:
        getRepositoryFilename in class CometEntity
        Returns:
        the repository filename of this particular item
        Throws:
        CometException - the comet exception
      • getRepositoryPath

        public java.lang.String getRepositoryPath()
                                           throws CometException
        Description copied from class: CometEntity

        Get the relative repository path for this configuration type.

        This method MUST be overridden by classes extending CometEntity.

        Overrides:
        getRepositoryPath in class CometEntity
        Returns:
        relative repository path
        Throws:
        CometException - the comet exception