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 Summary

    Modifier and Type
    Method
    Description
    java.lang.Boolean
    getBoolean
    java.lang.String
    getTypeInfo
    boolean
    getValue
    static Value
    parse(URIString pUriStr)
    Parses an untyped boolean value.
    static Value
    parse(URIString pUriStr, boolean pThrow)
    parse
    java.lang.String
     

    Methods inherited from class org.sblim.cimclient.internal.uri.Value

    parse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • parse

      public static Value parse(URIString pUriStr, boolean pThrow) throws java.lang.IllegalArgumentException
      parse
      Parameters:
      pUriStr -
      pThrow -
      Returns:
      Value or null if pThrow is false and parsing failed
      Throws:
      java.lang.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 java.lang.Boolean getBoolean()
      getBoolean
      Returns:
      Boolean
    • toString

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

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