Class ServerProperty

java.lang.Object
com.priint.pubserver.preferences.ServerProperty
All Implemented Interfaces:
Serializable

public class ServerProperty extends Object implements Serializable
Class representing an ServerProperty.
Since:
4.1.6
See Also:
  • Constructor Details

    • ServerProperty

      public ServerProperty()
  • Method Details

    • newInstance

      public static ServerProperty newInstance(String propertyKey, String type, String value)
      Factory method to create a server property.
      Parameters:
      propertyKey -
      type -
      value -
      Returns:
    • getPropertyKey

      public String getPropertyKey()
      Get the propertyKey of the ServerProperty.
      Returns:
      propertyKey
    • setPropertyKey

      public ServerProperty setPropertyKey(String propertyKey)
      Set the propertyKey of the ServerProperty.
      Parameters:
      propertyKey -
      Returns:
      the property object for chaining
    • getType

      public String getType()
      Get the type of the ServerProperty.
      Returns:
      type
    • setType

      public ServerProperty setType(String type)
      Set the type of the ServerProperty.
      Parameters:
      type -
      Returns:
      the property object for chaining
    • getValue

      public String getValue()
      Get the value of the ServerProperty.
      Returns:
      value
    • setValue

      public ServerProperty setValue(String value)
      Set the value of the ServerProperty.
      Parameters:
      value -
      Returns:
      the property object for chaining