Class CometSetting

All Implemented Interfaces:
Serializable

public class CometSetting extends CometEntity

Java class for the Setting configuration type

.
See Also:
  • Constructor Details

    • CometSetting

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

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

    • getName

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

      public void setName(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 Boolean getEnabled()
      Gets the enabled.
      Returns:
      the enabled
    • setEnabled

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

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

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

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

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

      public 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 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