Class BooleanValue

java.lang.Object
org.sblim.cimclient.internal.uri.Value
org.sblim.cimclient.internal.uri.BooleanValue

public class BooleanValue extends Value
Class BooleanValue parses and encapsulates a boolean value.
  • Method Details

    • parse

      public static Value parse(URIString pUriStr, boolean pThrow) throws IllegalArgumentException
      parse
      Parameters:
      pUriStr -
      pThrow -
      Returns:
      Value or null if pThrow is false and parsing failed
      Throws:
      IllegalArgumentException - if parsing failed and pThrow is true
    • parse

      public static Value parse(URIString pUriStr)
      Parses an untyped boolean value.
      Parameters:
      pUriStr -
      Returns:
      Value
    • getValue

      public boolean getValue()
      getValue
      Returns:
      the boolean value.
    • getBoolean

      public Boolean getBoolean()
      getBoolean
      Returns:
      Boolean
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • getTypeInfo

      public String getTypeInfo()
      Description copied from class: Value
      getTypeInfo
      Specified by:
      getTypeInfo in class Value
      Returns:
      the type description string of the Value.
      See Also: