Class NVP

java.lang.Object
com.tremolosecurity.util.NVP
All Implemented Interfaces:
Serializable

public class NVP extends Object implements Serializable
Utility class for representing a single name/value pair
See Also:
  • Constructor Details

    • NVP

      public NVP(String name, String value)
      Creates an name/value pair
      Parameters:
      name - Name
      value - Value
    • NVP

      public NVP(String name, String value, int num)
      Creates a name/value pair with an options number
      Parameters:
      name - Name
      value - Value
      num - Number
    • NVP

      public NVP()
      Creates an empty name/value pair
  • Method Details

    • getNum

      public int getNum()
      Optional number in hosted list
      Returns:
    • getName

      public String getName()
      Name of the value
      Returns:
    • getValue

      public String getValue()
      Value for the name
      Returns: